bitwarden_api_api/models/
authentication_extensions_client_outputs.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 AuthenticationExtensionsClientOutputs {
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<bool>,
29    #[serde(
30        rename = "authnSel",
31        alias = "AuthnSel",
32        skip_serializing_if = "Option::is_none"
33    )]
34    pub authn_sel: Option<bool>,
35    #[serde(
36        rename = "exts",
37        alias = "Exts",
38        skip_serializing_if = "Option::is_none"
39    )]
40    pub exts: Option<Vec<String>>,
41    #[serde(rename = "uvm", alias = "Uvm", skip_serializing_if = "Option::is_none")]
42    pub uvm: Option<Vec<Vec<i64>>>,
43}
44
45impl AuthenticationExtensionsClientOutputs {
46    pub fn new() -> AuthenticationExtensionsClientOutputs {
47        AuthenticationExtensionsClientOutputs {
48            example_extension: None,
49            appid: None,
50            authn_sel: None,
51            exts: None,
52            uvm: None,
53        }
54    }
55}