asana 0.1.1

asana bindings for rust
Documentation
/*
 * 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
 */

/// UserCompactAllOf : A *user* object represents an account in Asana that can be given access to various workspaces, projects, and tasks.

#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
pub struct UserCompactAllOf {
    /// *Read-only except when same user as requester*. The user’s name.
    #[serde(rename = "name", skip_serializing_if = "Option::is_none")]
    pub name: Option<String>,
}

impl UserCompactAllOf {
    /// A *user* object represents an account in Asana that can be given access to various workspaces, projects, and tasks.
    pub fn new() -> UserCompactAllOf {
        UserCompactAllOf { name: None }
    }
}