mcb_auth_gen 5.0.0

An OpenAPI generated Rust client for Metropolitan Commercial Bank authentication API
Documentation
/*
 * IFX Services for Metropolitan
 *
 * IFX Services for Metropolitan
 *
 * The version of the OpenAPI document: 0.0.1
 *
 * Generated by: https://openapi-generator.tech
 */

#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
pub struct AccessTokenOutput {
    #[serde(rename = "access_token", skip_serializing_if = "Option::is_none")]
    pub access_token: Option<String>,
    #[serde(rename = "expires_in", skip_serializing_if = "Option::is_none")]
    pub expires_in: Option<i32>,
    #[serde(rename = "token_type", skip_serializing_if = "Option::is_none")]
    pub token_type: Option<String>,
}

impl AccessTokenOutput {
    pub fn new() -> AccessTokenOutput {
        AccessTokenOutput {
            access_token: None,
            expires_in: None,
            token_type: None,
        }
    }
}