bitwarden_api_api/models/
organization_sso_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 OrganizationSsoResponseModel {
17    #[serde(rename = "object", skip_serializing_if = "Option::is_none")]
18    pub object: Option<String>,
19    #[serde(rename = "enabled", skip_serializing_if = "Option::is_none")]
20    pub enabled: Option<bool>,
21    #[serde(rename = "identifier", skip_serializing_if = "Option::is_none")]
22    pub identifier: Option<String>,
23    #[serde(rename = "data", skip_serializing_if = "Option::is_none")]
24    pub data: Option<Box<models::SsoConfigurationData>>,
25    #[serde(rename = "urls", skip_serializing_if = "Option::is_none")]
26    pub urls: Option<Box<models::SsoUrls>>,
27}
28
29impl OrganizationSsoResponseModel {
30    pub fn new() -> OrganizationSsoResponseModel {
31        OrganizationSsoResponseModel {
32            object: None,
33            enabled: None,
34            identifier: None,
35            data: None,
36            urls: None,
37        }
38    }
39}