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 UpdateNodeIdSecret {
    /// 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>>,
    /// Node ID
    #[serde(rename = "nodeId", skip_serializing_if = "Option::is_none")]
    pub node_id: Option<String>,
    /// Base-64 encoded node TLS key
    #[serde(rename = "nodeKey", skip_serializing_if = "Option::is_none")]
    pub node_key: Option<String>,
    /// Base-64 encoded node TLS certificate
    #[serde(rename = "nodeCert", skip_serializing_if = "Option::is_none")]
    pub node_cert: Option<String>,
    /// Base-64 encoded node BLS key
    #[serde(rename = "nodeBlsKey", skip_serializing_if = "Option::is_none")]
    pub node_bls_key: Option<String>,
}

impl UpdateNodeIdSecret {
    pub fn new() -> UpdateNodeIdSecret {
        UpdateNodeIdSecret {
            name: None,
            secret_type: None,
            node_id: None,
            node_key: None,
            node_cert: None,
            node_bls_key: None,
        }
    }
}