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
/*
* Asana
*
* This is the interface for interacting with the [Asana Platform](https://developers.asana.com). Our API reference is generated from our [OpenAPI spec] (https://raw.githubusercontent.com/Asana/developer-docs/master/defs/asana_oas.yaml).
*
* The version of the OpenAPI document: 1.0
*
* Generated by: https://openapi-generator.tech
*/
/// UserResponseAllOfPhoto : A map of the user’s profile photo in various sizes, or null if no photo is set. Sizes provided are 21, 27, 36, 60, and 128. Images are in PNG format.
#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
pub struct UserResponseAllOfPhoto {
#[serde(rename = "image_21x21", skip_serializing_if = "Option::is_none")]
pub image_21x21: Option<String>,
#[serde(rename = "image_27x27", skip_serializing_if = "Option::is_none")]
pub image_27x27: Option<String>,
#[serde(rename = "image_36x36", skip_serializing_if = "Option::is_none")]
pub image_36x36: Option<String>,
#[serde(rename = "image_60x60", skip_serializing_if = "Option::is_none")]
pub image_60x60: Option<String>,
#[serde(rename = "image_128x128", skip_serializing_if = "Option::is_none")]
pub image_128x128: Option<String>,
}
impl UserResponseAllOfPhoto {
/// A map of the user’s profile photo in various sizes, or null if no photo is set. Sizes provided are 21, 27, 36, 60, and 128. Images are in PNG format.
pub fn new() -> UserResponseAllOfPhoto {
UserResponseAllOfPhoto {
image_21x21: None,
image_27x27: None,
image_36x36: None,
image_60x60: None,
image_128x128: None,
}
}
}