pipedrive_rs/models/
get_organizations_response200_all_of_related_objects.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
12
13
14#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
15pub struct GetOrganizationsResponse200AllOfRelatedObjects {
16    #[serde(rename = "organization", skip_serializing_if = "Option::is_none")]
17    pub organization: Option<Box<crate::models::GetActivitiesResponse200RelatedObjectsOrganization>>,
18    #[serde(rename = "user", skip_serializing_if = "Option::is_none")]
19    pub user: Option<Box<crate::models::GetActivitiesResponse200RelatedObjectsUser>>,
20    #[serde(rename = "picture", skip_serializing_if = "Option::is_none")]
21    pub picture: Option<Box<crate::models::GetOrganizationsResponse200AllOfRelatedObjectsPicture>>,
22}
23
24impl GetOrganizationsResponse200AllOfRelatedObjects {
25    pub fn new() -> GetOrganizationsResponse200AllOfRelatedObjects {
26        GetOrganizationsResponse200AllOfRelatedObjects {
27            organization: None,
28            user: None,
29            picture: None,
30        }
31    }
32}
33
34