bitwarden_api_api/models/
cipher_login_uri_model.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 CipherLoginUriModel {
17    #[serde(rename = "uri", alias = "Uri", skip_serializing_if = "Option::is_none")]
18    pub uri: Option<String>,
19    #[serde(
20        rename = "uriChecksum",
21        alias = "UriChecksum",
22        skip_serializing_if = "Option::is_none"
23    )]
24    pub uri_checksum: Option<String>,
25    #[serde(
26        rename = "match",
27        alias = "R#match",
28        skip_serializing_if = "Option::is_none"
29    )]
30    pub r#match: Option<models::UriMatchType>,
31}
32
33impl CipherLoginUriModel {
34    pub fn new() -> CipherLoginUriModel {
35        CipherLoginUriModel {
36            uri: None,
37            uri_checksum: None,
38            r#match: None,
39        }
40    }
41}