/*
* API Documentation
*
* Source of truth and network automation platform
*
* The version of the OpenAPI document: 2.4.20 (2.4)
*
* Generated by: https://openapi-generator.tech
*/
///
#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
pub enum FailoverStrategyEnum {
#[serde(rename = "active-active")]
Active,
#[serde(rename = "active-passive")]
Passive,
}
impl ToString for FailoverStrategyEnum {
fn to_string(&self) -> String {
match self {
Self::Active => String::from("active-active"),
Self::Passive => String::from("active-passive"),
}
}
}
impl Default for FailoverStrategyEnum {
fn default() -> FailoverStrategyEnum {
Self::Active
}
}