redfish_codegen/models/account_service/v1_13_0/
mfa_bypass.rs

1// Generated by redfish-codegen. Do not modify.
2
3use crate::models;
4
5/// Multi-factor authentication bypass settings.
6#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
7#[derive(derivative::Derivative)]
8#[derivative(Default)]
9pub struct MFABypass {
10    /// The types of multi-factor authentication this account or role mapping is allowed to bypass.
11    #[serde(rename = "BypassTypes")]
12    #[serde(default, skip_serializing_if = "Option::is_none")]
13    pub bypass_types: Option<Vec<models::account_service::MFABypassType>>,
14}
15
16impl crate::Metadata<'static> for MFABypass {
17    const JSON_SCHEMA: &'static str = "AccountService.v1_13_0.json";
18}