bitwarden_api_api/models/
privileged_controls_plan_features_response_model.rs1use serde::{Deserialize, Serialize};
12
13use crate::models;
14
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct PrivilegedControlsPlanFeaturesResponseModel {
17 #[serde(
18 rename = "stripeSeatPlanId",
19 alias = "StripeSeatPlanId",
20 skip_serializing_if = "Option::is_none"
21 )]
22 pub stripe_seat_plan_id: Option<String>,
23 #[serde(
24 rename = "seatPrice",
25 alias = "SeatPrice",
26 skip_serializing_if = "Option::is_none"
27 )]
28 pub seat_price: Option<f64>,
29 #[serde(
30 rename = "baseSeats",
31 alias = "BaseSeats",
32 skip_serializing_if = "Option::is_none"
33 )]
34 pub base_seats: Option<i32>,
35 #[serde(
36 rename = "defaultSeatMinimum",
37 alias = "DefaultSeatMinimum",
38 skip_serializing_if = "Option::is_none"
39 )]
40 pub default_seat_minimum: Option<i32>,
41}
42
43impl PrivilegedControlsPlanFeaturesResponseModel {
44 pub fn new() -> PrivilegedControlsPlanFeaturesResponseModel {
45 PrivilegedControlsPlanFeaturesResponseModel {
46 stripe_seat_plan_id: None,
47 seat_price: None,
48 base_seats: None,
49 default_seat_minimum: None,
50 }
51 }
52}