/*
 * API Documentation
 *
 * Source of truth and network automation platform
 *
 * The version of the OpenAPI document: 3.1.0 (3.1)
 *
 * Generated by: https://openapi-generator.tech
 */

#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
pub struct PowerFeedBreakerPoleCount {
    #[serde(rename = "value", skip_serializing_if = "Option::is_none")]
    pub value: Option<i32>,
    #[serde(rename = "label", skip_serializing_if = "Option::is_none")]
    pub label: Option<Label>,
}

impl PowerFeedBreakerPoleCount {
    pub fn new() -> PowerFeedBreakerPoleCount {
        PowerFeedBreakerPoleCount {
            value: None,
            label: None,
        }
    }
}

///
#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
pub enum Label {
    #[serde(rename = "1-Pole")]
    Variant1Pole,
    #[serde(rename = "2-Pole")]
    Variant2Pole,
    #[serde(rename = "3-Pole")]
    Variant3Pole,
}

impl Default for Label {
    fn default() -> Label {
        Self::Variant1Pole
    }
}
