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
*/
#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
pub struct WorkspaceMembershipResponseAllOf {
#[serde(
rename = "user_task_list",
skip_serializing_if = "Option::is_none"
)]
pub user_task_list: Option<Box<crate::models::UserTaskListCompact>>,
/// Reflects if this user still a member of the workspace.
#[serde(rename = "is_active", skip_serializing_if = "Option::is_none")]
pub is_active: Option<bool>,
/// Reflects if this user is an admin of the workspace.
#[serde(rename = "is_admin", skip_serializing_if = "Option::is_none")]
pub is_admin: Option<bool>,
/// Reflects if this user is a guest of the workspace.
#[serde(rename = "is_guest", skip_serializing_if = "Option::is_none")]
pub is_guest: Option<bool>,
}
impl WorkspaceMembershipResponseAllOf {
pub fn new() -> WorkspaceMembershipResponseAllOf {
WorkspaceMembershipResponseAllOf {
user_task_list: None,
is_active: None,
is_admin: None,
is_guest: None,
}
}
}