bitwarden_api_api/models/
authentication_extensions_client_inputs.rs

1/*
2 * Bitwarden Internal API
3 *
4 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5 *
6 * The version of the OpenAPI document: latest
7 *
8 * Generated by: https://openapi-generator.tech
9 */
10
11use serde::{Deserialize, Serialize};
12
13use crate::models;
14
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct AuthenticationExtensionsClientInputs {
17    #[serde(rename = "example.extension", skip_serializing_if = "Option::is_none")]
18    pub example_period_extension: Option<serde_json::Value>,
19    #[serde(rename = "appid", skip_serializing_if = "Option::is_none")]
20    pub appid: Option<String>,
21    #[serde(rename = "authnSel", skip_serializing_if = "Option::is_none")]
22    pub authn_sel: Option<Vec<String>>,
23    #[serde(rename = "exts", skip_serializing_if = "Option::is_none")]
24    pub exts: Option<bool>,
25    #[serde(rename = "uvm", skip_serializing_if = "Option::is_none")]
26    pub uvm: Option<bool>,
27}
28
29impl AuthenticationExtensionsClientInputs {
30    pub fn new() -> AuthenticationExtensionsClientInputs {
31        AuthenticationExtensionsClientInputs {
32            example_period_extension: None,
33            appid: None,
34            authn_sel: None,
35            exts: None,
36            uvm: None,
37        }
38    }
39}