/// RoleDefinitionIdEnum
#[derive(serde::Serialize, serde::Deserialize, Debug, Default, Clone)]
pub enum RoleDefinitionIdEnum {
    #[default]
    #[serde(rename = "ApiProjectAdmin")]
    ApiProjectAdmin,
    #[serde(rename = "ApiProjectContributor")]
    ApiProjectContributor,
    #[serde(rename = "ApiProjectViewer")]
    ApiProjectViewer,
    #[serde(rename = "DocProjectAdmin")]
    DocProjectAdmin,
    #[serde(rename = "DocProjectContributor")]
    DocProjectContributor,
    #[serde(rename = "DocProjectViewer")]
    DocProjectViewer,
    #[serde(rename = "OrganizationAdmin")]
    OrganizationAdmin,
    #[serde(rename = "OrganizationManager")]
    OrganizationManager,
    #[serde(rename = "OrganizationMember")]
    OrganizationMember,
}
impl std::fmt::Display for RoleDefinitionIdEnum {
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        let str_val = match self {
            RoleDefinitionIdEnum::ApiProjectAdmin => "ApiProjectAdmin",
            RoleDefinitionIdEnum::ApiProjectContributor => "ApiProjectContributor",
            RoleDefinitionIdEnum::ApiProjectViewer => "ApiProjectViewer",
            RoleDefinitionIdEnum::DocProjectAdmin => "DocProjectAdmin",
            RoleDefinitionIdEnum::DocProjectContributor => "DocProjectContributor",
            RoleDefinitionIdEnum::DocProjectViewer => "DocProjectViewer",
            RoleDefinitionIdEnum::OrganizationAdmin => "OrganizationAdmin",
            RoleDefinitionIdEnum::OrganizationManager => "OrganizationManager",
            RoleDefinitionIdEnum::OrganizationMember => "OrganizationMember",
        };
        write!(f, "{}", str_val)
    }
}
