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 AvalancheSubnetResourceBaseSubnetStatus {
    /// The list of blockchains in the Subnet
    #[serde(rename = "blockchains", skip_serializing_if = "Option::is_none")]
    pub blockchains: Option<Vec<serde_json::Value>>,
    /// The list of control keys in the Subnet
    #[serde(rename = "controlKeys", skip_serializing_if = "Option::is_none")]
    pub control_keys: Option<serde_json::Value>,
    /// The ID of the Subnet
    #[serde(rename = "id", skip_serializing_if = "Option::is_none")]
    pub id: Option<String>,
    /// The list of pending validators of the Subnet
    #[serde(rename = "pendingValidators", skip_serializing_if = "Option::is_none")]
    pub pending_validators: Option<Vec<serde_json::Value>>,
    /// The type of the Subnet
    #[serde(rename = "subnetType", skip_serializing_if = "Option::is_none")]
    pub subnet_type: Option<String>,
    /// The threshold of the Subnet
    #[serde(rename = "threshold", skip_serializing_if = "Option::is_none")]
    pub threshold: Option<i32>,
    /// The list of current validators of the Subnet
    #[serde(rename = "validators", skip_serializing_if = "Option::is_none")]
    pub validators: Option<Vec<serde_json::Value>>,
}

impl AvalancheSubnetResourceBaseSubnetStatus {
    pub fn new() -> AvalancheSubnetResourceBaseSubnetStatus {
        AvalancheSubnetResourceBaseSubnetStatus {
            blockchains: None,
            control_keys: None,
            id: None,
            pending_validators: None,
            subnet_type: None,
            threshold: None,
            validators: None,
        }
    }
}