asana2 0.5.0

Fluent OpenAPI client for Asana
Documentation
#![allow(unused_imports)]
use asana::AsanaClient;
use asana::model::*;
#[tokio::main]
async fn main() {
    let client = AsanaClient::from_env();
    let data = EnumOption {
        asana_resource: AsanaResource {
            gid: "your gid".to_owned(),
            resource_type: "your resource type".to_owned(),
        },
        color: Some("your color".to_owned()),
        enabled: Some(true),
        name: Some("your name".to_owned()),
    };
    let enum_option_gid = "your enum option gid";
    let response = client
        .update_enum_option(data, enum_option_gid)
        .opt_fields(&["your opt fields"])
        .opt_pretty(true)
        .await
        .unwrap();
    println!("{:#?}", response);
}