1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
/*
* Pipedrive API v1
*
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 1.0.0
*
* Generated by: https://openapi-generator.tech
*/
/// GetNotesResponse200DataInnerUser : The user who created the note
#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
pub struct GetNotesResponse200DataInnerUser {
/// The email of the note creator
#[serde(rename = "email", skip_serializing_if = "Option::is_none")]
pub email: Option<String>,
/// The URL of the note creator avatar picture
#[serde(rename = "icon_url", skip_serializing_if = "Option::is_none")]
pub icon_url: Option<String>,
/// Whether the note is created by you or not
#[serde(rename = "is_you", skip_serializing_if = "Option::is_none")]
pub is_you: Option<bool>,
/// The name of the note creator
#[serde(rename = "name", skip_serializing_if = "Option::is_none")]
pub name: Option<String>,
}
impl GetNotesResponse200DataInnerUser {
/// The user who created the note
pub fn new() -> GetNotesResponse200DataInnerUser {
GetNotesResponse200DataInnerUser {
email: None,
icon_url: None,
is_you: None,
name: None,
}
}
}