bitwarden_api_api/models/
organization_domain_sso_details_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 OrganizationDomainSsoDetailsResponseModel {
17    #[serde(rename = "object", skip_serializing_if = "Option::is_none")]
18    pub object: Option<String>,
19    #[serde(rename = "ssoAvailable", skip_serializing_if = "Option::is_none")]
20    pub sso_available: Option<bool>,
21    #[serde(rename = "domainName", skip_serializing_if = "Option::is_none")]
22    pub domain_name: Option<String>,
23    #[serde(
24        rename = "organizationIdentifier",
25        skip_serializing_if = "Option::is_none"
26    )]
27    pub organization_identifier: Option<String>,
28    #[serde(rename = "verifiedDate", skip_serializing_if = "Option::is_none")]
29    pub verified_date: Option<String>,
30}
31
32impl OrganizationDomainSsoDetailsResponseModel {
33    pub fn new() -> OrganizationDomainSsoDetailsResponseModel {
34        OrganizationDomainSsoDetailsResponseModel {
35            object: None,
36            sso_available: None,
37            domain_name: None,
38            organization_identifier: None,
39            verified_date: None,
40        }
41    }
42}