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