bitwarden_api_api/models/
member_cipher_details_response_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 MemberCipherDetailsResponseModel {
17    #[serde(rename = "userGuid", skip_serializing_if = "Option::is_none")]
18    pub user_guid: Option<uuid::Uuid>,
19    #[serde(rename = "userName", skip_serializing_if = "Option::is_none")]
20    pub user_name: Option<String>,
21    #[serde(rename = "email", skip_serializing_if = "Option::is_none")]
22    pub email: Option<String>,
23    #[serde(rename = "usesKeyConnector", skip_serializing_if = "Option::is_none")]
24    pub uses_key_connector: Option<bool>,
25    /// A distinct list of the cipher ids associated with the organization member
26    #[serde(rename = "cipherIds", skip_serializing_if = "Option::is_none")]
27    pub cipher_ids: Option<Vec<String>>,
28}
29
30impl MemberCipherDetailsResponseModel {
31    pub fn new() -> MemberCipherDetailsResponseModel {
32        MemberCipherDetailsResponseModel {
33            user_guid: None,
34            user_name: None,
35            email: None,
36            uses_key_connector: None,
37            cipher_ids: None,
38        }
39    }
40}