bitwarden_api_identity/models/
authentication_extensions_client_inputs.rs

1/*
2 * Bitwarden Identity
3 *
4 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5 *
6 * The version of the OpenAPI document: v1
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(
18        rename = "example.extension",
19        alias = "ExampleExtension",
20        skip_serializing_if = "Option::is_none"
21    )]
22    pub example_extension: Option<serde_json::Value>,
23    #[serde(
24        rename = "appid",
25        alias = "Appid",
26        skip_serializing_if = "Option::is_none"
27    )]
28    pub appid: Option<String>,
29    #[serde(
30        rename = "authnSel",
31        alias = "AuthnSel",
32        skip_serializing_if = "Option::is_none"
33    )]
34    pub authn_sel: Option<Vec<String>>,
35    #[serde(
36        rename = "exts",
37        alias = "Exts",
38        skip_serializing_if = "Option::is_none"
39    )]
40    pub exts: Option<bool>,
41    #[serde(rename = "uvm", alias = "Uvm", skip_serializing_if = "Option::is_none")]
42    pub uvm: Option<bool>,
43}
44
45impl AuthenticationExtensionsClientInputs {
46    pub fn new() -> AuthenticationExtensionsClientInputs {
47        AuthenticationExtensionsClientInputs {
48            example_extension: None,
49            appid: None,
50            authn_sel: None,
51            exts: None,
52            uvm: None,
53        }
54    }
55}