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

#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
pub struct CustomFieldSettingResponseAllOf {
    #[serde(rename = "project", skip_serializing_if = "Option::is_none")]
    pub project: Option<Box<crate::models::ProjectCompact>>,
    /// `is_important` is used in the Asana web application to determine if this custom field is displayed in the list/grid view of a project or portfolio.
    #[serde(rename = "is_important", skip_serializing_if = "Option::is_none")]
    pub is_important: Option<bool>,
    #[serde(rename = "parent", skip_serializing_if = "Option::is_none")]
    pub parent: Option<Box<crate::models::ProjectCompact>>,
    #[serde(rename = "custom_field", skip_serializing_if = "Option::is_none")]
    pub custom_field: Option<Box<crate::models::CustomFieldResponse>>,
}

impl CustomFieldSettingResponseAllOf {
    pub fn new() -> CustomFieldSettingResponseAllOf {
        CustomFieldSettingResponseAllOf {
            project: None,
            is_important: None,
            parent: None,
            custom_field: None,
        }
    }
}