vrchatapi/models/
two_factor_recovery_codes.rs

1/*
2 * VRChat API Documentation
3 *
4 *
5 * Contact: vrchatapi.lpv0t@aries.fyi
6 * Generated by: https://openapi-generator.tech
7 */
8
9use crate::models;
10use serde::{Deserialize, Serialize};
11
12#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
13pub struct TwoFactorRecoveryCodes {
14    #[serde(rename = "otp", skip_serializing_if = "Option::is_none")]
15    pub otp: Option<Vec<models::TwoFactorRecoveryCodesOtpInner>>,
16    #[serde(
17        rename = "requiresTwoFactorAuth",
18        skip_serializing_if = "Option::is_none"
19    )]
20    pub requires_two_factor_auth: Option<Vec<String>>,
21}
22
23impl TwoFactorRecoveryCodes {
24    pub fn new() -> TwoFactorRecoveryCodes {
25        TwoFactorRecoveryCodes {
26            otp: None,
27            requires_two_factor_auth: None,
28        }
29    }
30}