ash_api 0.1.7

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
Documentation
/*
 * Hai (Ash API) specifications.
 *
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 0.1.7
 * Contact: E36 Knots
 * Generated by: https://openapi-generator.tech
 */




#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
pub struct NewCloudRegion {
    #[serde(rename = "cloudProvider", skip_serializing_if = "Option::is_none")]
    pub cloud_provider: Option<crate::models::CloudProvider>,
    /// Cloud region
    #[serde(rename = "region", skip_serializing_if = "Option::is_none")]
    pub region: Option<String>,
    /// ID (or name) of the secret that contains the cloud credentials
    #[serde(rename = "cloudCredentialsSecretId", skip_serializing_if = "Option::is_none")]
    pub cloud_credentials_secret_id: Option<String>,
}

impl NewCloudRegion {
    pub fn new() -> NewCloudRegion {
        NewCloudRegion {
            cloud_provider: None,
            region: None,
            cloud_credentials_secret_id: None,
        }
    }
}