// Generated by redfish-codegen. Do not modify.
#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
pub enum SMTPAuthenticationMethods {
/// This value shall indicate authentication is not required.
None,
/// This value shall indicate authentication is auto-detected.
AutoDetect,
/// This value shall indicate authentication conforms to the RFC4954-defined AUTH PLAIN mechanism.
Plain,
/// This value shall indicate authentication conforms to the RFC4954-defined AUTH LOGIN mechanism.
Login,
/// This value shall indicate authentication conforms to the RFC4954-defined AUTH CRAM-MD5 mechanism.
#[serde(rename = "CRAM_MD5")]
CRAMMD5,
}
#[allow(clippy::derivable_impls)]
impl Default for SMTPAuthenticationMethods {
fn default() -> SMTPAuthenticationMethods {
SMTPAuthenticationMethods::None
}
}
impl crate::Metadata<'static> for SMTPAuthenticationMethods {
const JSON_SCHEMA: &'static str = "EventService.v1_9_0.json";
}