Skip to main content

bitwarden_api_api/models/
organization_user_pending_auto_confirm_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 OrganizationUserPendingAutoConfirmResponseModel {
17    #[serde(
18        rename = "object",
19        alias = "Object",
20        skip_serializing_if = "Option::is_none"
21    )]
22    pub object: Option<String>,
23    /// The OrganizationUser ID.
24    #[serde(rename = "id", alias = "Id", skip_serializing_if = "Option::is_none")]
25    pub id: Option<uuid::Uuid>,
26    /// The User ID.
27    #[serde(
28        rename = "userId",
29        alias = "UserId",
30        skip_serializing_if = "Option::is_none"
31    )]
32    pub user_id: Option<uuid::Uuid>,
33}
34
35impl OrganizationUserPendingAutoConfirmResponseModel {
36    pub fn new() -> OrganizationUserPendingAutoConfirmResponseModel {
37        OrganizationUserPendingAutoConfirmResponseModel {
38            object: None,
39            id: None,
40            user_id: None,
41        }
42    }
43}