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 AvalancheNodeResourceBaseNodeStatus {
    /// Whether the node is running
    #[serde(rename = "running", skip_serializing_if = "Option::is_none")]
    pub running: Option<bool>,
    /// Whether the node is bootstrapped for each blockchain
    #[serde(rename = "bootstrapped", skip_serializing_if = "Option::is_none")]
    pub bootstrapped: Option<serde_json::Value>,
    /// Whether the node is healthy for each Subnet tracked
    #[serde(rename = "healthy", skip_serializing_if = "Option::is_none")]
    pub healthy: Option<serde_json::Value>,
    /// Whether the node needs to be restarted to apply configuration changes
    #[serde(rename = "restartRequired", skip_serializing_if = "Option::is_none")]
    pub restart_required: Option<bool>,
}

impl AvalancheNodeResourceBaseNodeStatus {
    pub fn new() -> AvalancheNodeResourceBaseNodeStatus {
        AvalancheNodeResourceBaseNodeStatus {
            running: None,
            bootstrapped: None,
            healthy: None,
            restart_required: None,
        }
    }
}