bitwarden_api_api/models/
organization_user_restore_request.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 OrganizationUserRestoreRequest {
17    /// This is the encrypted default collection name to be used for restored users if required
18    #[serde(
19        rename = "defaultUserCollectionName",
20        alias = "DefaultUserCollectionName",
21        skip_serializing_if = "Option::is_none"
22    )]
23    pub default_user_collection_name: Option<String>,
24}
25
26impl OrganizationUserRestoreRequest {
27    pub fn new() -> OrganizationUserRestoreRequest {
28        OrganizationUserRestoreRequest {
29            default_user_collection_name: None,
30        }
31    }
32}