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 UpdateGoogleCredentialsSecret {
    /// Secret name
    #[serde(rename = "name", skip_serializing_if = "Option::is_none")]
    pub name: Option<String>,
    #[serde(rename = "secretType", skip_serializing_if = "Option::is_none")]
    pub secret_type: Option<Box<crate::models::SecretType>>,
    /// Google Cloud project ID
    #[serde(rename = "projectId", skip_serializing_if = "Option::is_none")]
    pub project_id: Option<String>,
    /// Google Cloud client email
    #[serde(rename = "clientEmail", skip_serializing_if = "Option::is_none")]
    pub client_email: Option<String>,
    /// Google Cloud client ID
    #[serde(rename = "clientId", skip_serializing_if = "Option::is_none")]
    pub client_id: Option<String>,
    /// Base-64 encoded Google Cloud private key
    #[serde(rename = "privateKey", skip_serializing_if = "Option::is_none")]
    pub private_key: Option<String>,
}

impl UpdateGoogleCredentialsSecret {
    pub fn new() -> UpdateGoogleCredentialsSecret {
        UpdateGoogleCredentialsSecret {
            name: None,
            secret_type: None,
            project_id: None,
            client_email: None,
            client_id: None,
            private_key: None,
        }
    }
}