/*
 * 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, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
pub enum QueueTypeEnum {
    #[serde(rename = "celery")]
    Celery,
    #[serde(rename = "kubernetes")]
    Kubernetes,
}

impl ToString for QueueTypeEnum {
    fn to_string(&self) -> String {
        match self {
            Self::Celery => String::from("celery"),
            Self::Kubernetes => String::from("kubernetes"),
        }
    }
}

impl Default for QueueTypeEnum {
    fn default() -> QueueTypeEnum {
        Self::Celery
    }
}
