pipedrive_rs/models/
get_notes_response200_data_inner_user.rs

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