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

/// InlineResponse2006 : The full record for all events that have occurred since the sync token was created.

#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
pub struct InlineResponse2006 {
    #[serde(rename = "data", skip_serializing_if = "Option::is_none")]
    pub data: Option<Vec<crate::models::EventResponse>>,
    /// A sync token to be used with the next call to the events endpoint.
    #[serde(rename = "sync", skip_serializing_if = "Option::is_none")]
    pub sync: Option<String>,
}

impl InlineResponse2006 {
    /// The full record for all events that have occurred since the sync token was created.
    pub fn new() -> InlineResponse2006 {
        InlineResponse2006 { data: None, sync: None }
    }
}