bitwarden_api_api/models/
organization_private_key_response_model.rs1use serde::{Deserialize, Serialize};
12
13use crate::models;
14
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct OrganizationPrivateKeyResponseModel {
17 #[serde(
18 rename = "object",
19 alias = "Object",
20 skip_serializing_if = "Option::is_none"
21 )]
22 pub object: Option<String>,
23 #[serde(
24 rename = "privateKey",
25 alias = "PrivateKey",
26 skip_serializing_if = "Option::is_none"
27 )]
28 pub private_key: Option<String>,
29}
30
31impl OrganizationPrivateKeyResponseModel {
32 pub fn new() -> OrganizationPrivateKeyResponseModel {
33 OrganizationPrivateKeyResponseModel {
34 object: None,
35 private_key: None,
36 }
37 }
38}