redfish_codegen/models/external_account_provider/v1_6_0/
tacac_splus_password_exchange_protocol.rs

1// Generated by redfish-codegen. Do not modify.
2
3
4#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
5pub enum TACACSplusPasswordExchangeProtocol {
6    /// This value shall indicate the ASCII Login flow as described under section 5.4.2 of RFC8907.
7    ASCII,
8    /// This value shall indicate the PAP Login flow as described under section 5.4.2 of RFC8907.
9    PAP,
10    /// This value shall indicate the CHAP Login flow as described under section 5.4.2 of RFC8907.
11    CHAP,
12    /// This value shall indicate the MS-CHAP v1 Login flow as described under section 5.4.2 of RFC8907.
13    MSCHAPv1,
14    /// This value shall indicate the MS-CHAP v2 Login flow as described under section 5.4.2 of RFC8907.
15    MSCHAPv2,
16}
17
18#[allow(clippy::derivable_impls)]
19impl Default for TACACSplusPasswordExchangeProtocol {
20     fn default() -> TACACSplusPasswordExchangeProtocol {
21        TACACSplusPasswordExchangeProtocol::ASCII
22     }
23}
24
25impl crate::Metadata<'static> for TACACSplusPasswordExchangeProtocol {
26    const JSON_SCHEMA: &'static str = "ExternalAccountProvider.v1_6_0.json";
27}