bitwarden_api_api/models/
organization_auto_enroll_status_response_model.rs1use serde::{Deserialize, Serialize};
12
13use crate::models;
14
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct OrganizationAutoEnrollStatusResponseModel {
17 #[serde(
18 rename = "object",
19 alias = "Object",
20 skip_serializing_if = "Option::is_none"
21 )]
22 pub object: Option<String>,
23 #[serde(rename = "id", alias = "Id", skip_serializing_if = "Option::is_none")]
24 pub id: Option<uuid::Uuid>,
25 #[serde(
26 rename = "resetPasswordEnabled",
27 alias = "ResetPasswordEnabled",
28 skip_serializing_if = "Option::is_none"
29 )]
30 pub reset_password_enabled: Option<bool>,
31}
32
33impl OrganizationAutoEnrollStatusResponseModel {
34 pub fn new() -> OrganizationAutoEnrollStatusResponseModel {
35 OrganizationAutoEnrollStatusResponseModel {
36 object: None,
37 id: None,
38 reset_password_enabled: None,
39 }
40 }
41}