/*
 * 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 ProvidedContentsEnum {
    #[serde(rename = "data_validation.data_compliance_rule")]
    DataValidationPeriodDataComplianceRule,
    #[serde(rename = "extras.configcontext")]
    ExtrasPeriodConfigcontext,
    #[serde(rename = "extras.configcontextschema")]
    ExtrasPeriodConfigcontextschema,
    #[serde(rename = "extras.exporttemplate")]
    ExtrasPeriodExporttemplate,
    #[serde(rename = "extras.graphqlquery")]
    ExtrasPeriodGraphqlquery,
    #[serde(rename = "extras.job")]
    ExtrasPeriodJob,
}

impl ToString for ProvidedContentsEnum {
    fn to_string(&self) -> String {
        match self {
            Self::DataValidationPeriodDataComplianceRule => {
                String::from("data_validation.data_compliance_rule")
            }
            Self::ExtrasPeriodConfigcontext => String::from("extras.configcontext"),
            Self::ExtrasPeriodConfigcontextschema => String::from("extras.configcontextschema"),
            Self::ExtrasPeriodExporttemplate => String::from("extras.exporttemplate"),
            Self::ExtrasPeriodGraphqlquery => String::from("extras.graphqlquery"),
            Self::ExtrasPeriodJob => String::from("extras.job"),
        }
    }
}

impl Default for ProvidedContentsEnum {
    fn default() -> ProvidedContentsEnum {
        Self::DataValidationPeriodDataComplianceRule
    }
}
