bitwarden_api_api/models/
secrets_manager_selections.rs1use serde::{Deserialize, Serialize};
12
13use crate::models;
14
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct SecretsManagerSelections {
17 #[serde(
18 rename = "seats",
19 alias = "Seats",
20 skip_serializing_if = "Option::is_none"
21 )]
22 pub seats: Option<i32>,
23 #[serde(
24 rename = "additionalServiceAccounts",
25 alias = "AdditionalServiceAccounts",
26 skip_serializing_if = "Option::is_none"
27 )]
28 pub additional_service_accounts: Option<i32>,
29 #[serde(
30 rename = "standalone",
31 alias = "Standalone",
32 skip_serializing_if = "Option::is_none"
33 )]
34 pub standalone: Option<bool>,
35}
36
37impl SecretsManagerSelections {
38 pub fn new() -> SecretsManagerSelections {
39 SecretsManagerSelections {
40 seats: None,
41 additional_service_accounts: None,
42 standalone: None,
43 }
44 }
45}