use crate::models;
use serde::{Deserialize, Serialize};
#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
pub enum EventsRequestedEnum {
#[serde(rename = "https://schemas.openid.net/secevent/caep/event-type/session-revoked")]
HttpsColonSlashSlashSchemasOpenidNetSlashSeceventSlashCaepSlashEventTypeSlashSessionRevoked,
#[serde(rename = "https://schemas.openid.net/secevent/caep/event-type/token-claims-change")]
HttpsColonSlashSlashSchemasOpenidNetSlashSeceventSlashCaepSlashEventTypeSlashTokenClaimsChange,
#[serde(rename = "https://schemas.openid.net/secevent/caep/event-type/credential-change")]
HttpsColonSlashSlashSchemasOpenidNetSlashSeceventSlashCaepSlashEventTypeSlashCredentialChange,
#[serde(rename = "https://schemas.openid.net/secevent/caep/event-type/assurance-level-change")]
HttpsColonSlashSlashSchemasOpenidNetSlashSeceventSlashCaepSlashEventTypeSlashAssuranceLevelChange,
#[serde(rename = "https://schemas.openid.net/secevent/caep/event-type/device-compliance-change")]
HttpsColonSlashSlashSchemasOpenidNetSlashSeceventSlashCaepSlashEventTypeSlashDeviceComplianceChange,
#[serde(rename = "https://schemas.openid.net/secevent/caep/event-type/session-established")]
HttpsColonSlashSlashSchemasOpenidNetSlashSeceventSlashCaepSlashEventTypeSlashSessionEstablished,
#[serde(rename = "https://schemas.openid.net/secevent/caep/event-type/session-presented")]
HttpsColonSlashSlashSchemasOpenidNetSlashSeceventSlashCaepSlashEventTypeSlashSessionPresented,
#[serde(rename = "https://schemas.openid.net/secevent/caep/event-type/risk-level-change")]
HttpsColonSlashSlashSchemasOpenidNetSlashSeceventSlashCaepSlashEventTypeSlashRiskLevelChange,
#[serde(rename = "https://schemas.openid.net/secevent/ssf/event-type/verification")]
HttpsColonSlashSlashSchemasOpenidNetSlashSeceventSlashSsfSlashEventTypeSlashVerification,
}
impl std::fmt::Display for EventsRequestedEnum {
fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
match self {
Self::HttpsColonSlashSlashSchemasOpenidNetSlashSeceventSlashCaepSlashEventTypeSlashSessionRevoked => write!(f, "https://schemas.openid.net/secevent/caep/event-type/session-revoked"),
Self::HttpsColonSlashSlashSchemasOpenidNetSlashSeceventSlashCaepSlashEventTypeSlashTokenClaimsChange => write!(f, "https://schemas.openid.net/secevent/caep/event-type/token-claims-change"),
Self::HttpsColonSlashSlashSchemasOpenidNetSlashSeceventSlashCaepSlashEventTypeSlashCredentialChange => write!(f, "https://schemas.openid.net/secevent/caep/event-type/credential-change"),
Self::HttpsColonSlashSlashSchemasOpenidNetSlashSeceventSlashCaepSlashEventTypeSlashAssuranceLevelChange => write!(f, "https://schemas.openid.net/secevent/caep/event-type/assurance-level-change"),
Self::HttpsColonSlashSlashSchemasOpenidNetSlashSeceventSlashCaepSlashEventTypeSlashDeviceComplianceChange => write!(f, "https://schemas.openid.net/secevent/caep/event-type/device-compliance-change"),
Self::HttpsColonSlashSlashSchemasOpenidNetSlashSeceventSlashCaepSlashEventTypeSlashSessionEstablished => write!(f, "https://schemas.openid.net/secevent/caep/event-type/session-established"),
Self::HttpsColonSlashSlashSchemasOpenidNetSlashSeceventSlashCaepSlashEventTypeSlashSessionPresented => write!(f, "https://schemas.openid.net/secevent/caep/event-type/session-presented"),
Self::HttpsColonSlashSlashSchemasOpenidNetSlashSeceventSlashCaepSlashEventTypeSlashRiskLevelChange => write!(f, "https://schemas.openid.net/secevent/caep/event-type/risk-level-change"),
Self::HttpsColonSlashSlashSchemasOpenidNetSlashSeceventSlashSsfSlashEventTypeSlashVerification => write!(f, "https://schemas.openid.net/secevent/ssf/event-type/verification"),
}
}
}
impl Default for EventsRequestedEnum {
fn default() -> EventsRequestedEnum {
Self::HttpsColonSlashSlashSchemasOpenidNetSlashSeceventSlashCaepSlashEventTypeSlashSessionRevoked
}
}