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

/// TeamMembershipCompactAllOf : This object represents a user's connection to a team.

#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
pub struct TeamMembershipCompactAllOf {
    #[serde(rename = "user", skip_serializing_if = "Option::is_none")]
    pub user: Option<Box<crate::models::UserCompact>>,
    #[serde(rename = "team", skip_serializing_if = "Option::is_none")]
    pub team: Option<Box<crate::models::TeamCompact>>,
    /// Describes if the user is a guest in the team.
    #[serde(rename = "is_guest", skip_serializing_if = "Option::is_none")]
    pub is_guest: Option<bool>,
}

impl TeamMembershipCompactAllOf {
    /// This object represents a user's connection to a team.
    pub fn new() -> TeamMembershipCompactAllOf {
        TeamMembershipCompactAllOf { user: None, team: None, is_guest: None }
    }
}