bitwarden_api_api/models/
inner_secret_export_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 InnerSecretExportResponseModel {
17    #[serde(rename = "id", alias = "Id", skip_serializing_if = "Option::is_none")]
18    pub id: Option<uuid::Uuid>,
19    #[serde(rename = "key", alias = "Key", skip_serializing_if = "Option::is_none")]
20    pub key: Option<String>,
21    #[serde(
22        rename = "value",
23        alias = "Value",
24        skip_serializing_if = "Option::is_none"
25    )]
26    pub value: Option<String>,
27    #[serde(
28        rename = "note",
29        alias = "Note",
30        skip_serializing_if = "Option::is_none"
31    )]
32    pub note: Option<String>,
33    #[serde(
34        rename = "projectIds",
35        alias = "ProjectIds",
36        skip_serializing_if = "Option::is_none"
37    )]
38    pub project_ids: Option<Vec<uuid::Uuid>>,
39}
40
41impl InnerSecretExportResponseModel {
42    pub fn new() -> InnerSecretExportResponseModel {
43        InnerSecretExportResponseModel {
44            id: None,
45            key: None,
46            value: None,
47            note: None,
48            project_ids: None,
49        }
50    }
51}