use serde::{Deserialize, Serialize};

/// Overall health status of the management station.
#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
pub enum HealthState {
    #[serde(rename = "HEALTHY")]
    Healthy,

    #[serde(rename = "UNHEALTHY")]
    Unhealthy,

    #[serde(rename = "UNAVAILABLE")]
    Unavailable,

    /// This value is used if a service returns a value for this enum that is not recognized by this version of the SDK.
    #[serde(other)]
    UnknownValue,
}
