/// The object types that roles can be assigned to.
#[derive(serde::Serialize, serde::Deserialize, Debug, Default, Clone)]
pub enum ObjectTypeEnum {
    #[default]
    #[serde(rename = "api_project")]
    ApiProject,
    #[serde(rename = "doc_project")]
    DocProject,
    #[serde(rename = "organization")]
    Organization,
}
impl std::fmt::Display for ObjectTypeEnum {
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        let str_val = match self {
            ObjectTypeEnum::ApiProject => "api_project",
            ObjectTypeEnum::DocProject => "doc_project",
            ObjectTypeEnum::Organization => "organization",
        };
        write!(f, "{}", str_val)
    }
}
