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
/*
 * 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
 */

/// TagCompactAllOf : A *tag* is a label that can be attached to any task in Asana. It exists in a single workspace or organization.

#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
pub struct TagCompactAllOf {
    /// Name of the tag. This is generally a short sentence fragment that fits on a line in the UI for maximum readability. However, it can be longer.
    #[serde(rename = "name", skip_serializing_if = "Option::is_none")]
    pub name: Option<String>,
}

impl TagCompactAllOf {
    /// A *tag* is a label that can be attached to any task in Asana. It exists in a single workspace or organization.
    pub fn new() -> TagCompactAllOf {
        TagCompactAllOf { name: None }
    }
}