use crate::models;
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct UserTwoFactorConfiguration {
#[serde(rename = "methods", skip_serializing_if = "Option::is_none")]
pub methods: Option<Vec<models::TwoFactorMethod>>,
#[serde(rename = "recoveryCodes", skip_serializing_if = "Option::is_none")]
pub recovery_codes: Option<Vec<String>>,
}
impl UserTwoFactorConfiguration {
pub fn new() -> UserTwoFactorConfiguration {
UserTwoFactorConfiguration {
methods: None,
recovery_codes: None,
}
}
}