windmill-api 1.892.0

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
Documentation
/*
 * Windmill API
 *
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 1.892.0
 * Contact: contact@windmill.dev
 * Generated by: https://openapi-generator.tech
 */

use crate::models;
use serde::{Deserialize, Serialize};

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct EnableTotp200Response {
    /// single-use codes accepted in place of an authenticator code, shown only once
    #[serde(rename = "recovery_codes")]
    pub recovery_codes: Vec<String>,
}

impl EnableTotp200Response {
    pub fn new(recovery_codes: Vec<String>) -> EnableTotp200Response {
        EnableTotp200Response {
            recovery_codes,
        }
    }
}