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
 */

/// AvalancheSubnetResourceBaseSubnetConfig : Configuration of the Subnet



#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
pub struct AvalancheSubnetResourceBaseSubnetConfig {
    /// Whether to create the Subnet or not.
    #[serde(rename = "createSubnet", skip_serializing_if = "Option::is_none")]
    pub create_subnet: Option<bool>,
    /// Avalanche Subnet configuration as JSON
    #[serde(rename = "avalancheSubnetConfig", skip_serializing_if = "Option::is_none")]
    pub avalanche_subnet_config: Option<serde_json::Value>,
}

impl AvalancheSubnetResourceBaseSubnetConfig {
    /// Configuration of the Subnet
    pub fn new() -> AvalancheSubnetResourceBaseSubnetConfig {
        AvalancheSubnetResourceBaseSubnetConfig {
            create_subnet: None,
            avalanche_subnet_config: None,
        }
    }
}