/*
* 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
*/
/// UserTaskListCompactAllOf : A user task list represents the tasks assigned to a particular user. It provides API access to a user’s “My Tasks” view in Asana.
#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
pub struct UserTaskListCompactAllOf {
/// The name of the user task list.
#[serde(rename = "name", skip_serializing_if = "Option::is_none")]
pub name: Option<String>,
/// The owner of the user task list, i.e. the person whose My Tasks is represented by this resource.
#[serde(rename = "owner", skip_serializing_if = "Option::is_none")]
pub owner: Option<Box<crate::models::UserCompact>>,
/// The workspace in which the user task list is located.
#[serde(rename = "workspace", skip_serializing_if = "Option::is_none")]
pub workspace: Option<Box<crate::models::WorkspaceCompact>>,
}
impl UserTaskListCompactAllOf {
/// A user task list represents the tasks assigned to a particular user. It provides API access to a user’s “My Tasks” view in Asana.
pub fn new() -> UserTaskListCompactAllOf {
UserTaskListCompactAllOf { name: None, owner: None, workspace: None }
}
}