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 BlockscoutResourceBaseBlockscoutStatus {
    /// Whether Blockscout is running
    #[serde(rename = "running", skip_serializing_if = "Option::is_none")]
    pub running: Option<bool>,
    /// Whether Blockscout needs to be restarted to apply configuration changes
    #[serde(rename = "restartRequired", skip_serializing_if = "Option::is_none")]
    pub restart_required: Option<bool>,
}

impl BlockscoutResourceBaseBlockscoutStatus {
    pub fn new() -> BlockscoutResourceBaseBlockscoutStatus {
        BlockscoutResourceBaseBlockscoutStatus {
            running: None,
            restart_required: None,
        }
    }
}