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 AvalancheSubnetResourceBase {
    /// IDs (or names) of node resources that are part of the Subnet
    #[serde(rename = "subnetNodesResourceIds", skip_serializing_if = "Option::is_none")]
    pub subnet_nodes_resource_ids: Option<Vec<String>>,
    #[serde(rename = "subnetConfig", skip_serializing_if = "Option::is_none")]
    pub subnet_config: Option<Box<crate::models::AvalancheSubnetResourceBaseSubnetConfig>>,
    /// ID (or name) of the secret containing the Subnet control key
    #[serde(rename = "subnetControlKeySecretId", skip_serializing_if = "Option::is_none")]
    pub subnet_control_key_secret_id: Option<String>,
    #[serde(rename = "subnetStatus", skip_serializing_if = "Option::is_none")]
    pub subnet_status: Option<Box<crate::models::AvalancheSubnetResourceBaseSubnetStatus>>,
    #[serde(rename = "resourceType", skip_serializing_if = "Option::is_none")]
    pub resource_type: Option<Box<crate::models::ResourceType>>,
}

impl AvalancheSubnetResourceBase {
    pub fn new() -> AvalancheSubnetResourceBase {
        AvalancheSubnetResourceBase {
            subnet_nodes_resource_ids: None,
            subnet_config: None,
            subnet_control_key_secret_id: None,
            subnet_status: None,
            resource_type: None,
        }
    }
}