1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/*
* Antimatter Public API
*
* Interact with the Antimatter Cloud API
*
* The version of the OpenAPI document: 2.0.13
* Contact: support@antimatter.io
* Generated by: https://openapi-generator.tech
*/
use crate::models;
use serde::{Deserialize, Serialize};
/// DomainPrivateInfo : Private information about a domain
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct DomainPrivateInfo {
/// User friendly display name.
#[serde(rename = "defaultDisplayName")]
pub default_display_name: String,
/// A globally unique identifier for a domain
#[serde(rename = "id")]
pub id: String,
/// A list of identity providers configured in a domain
#[serde(rename = "identityProviders")]
pub identity_providers: Vec<models::DomainIdentityProviderInfo>,
}
impl DomainPrivateInfo {
/// Private information about a domain
pub fn new(default_display_name: String, id: String, identity_providers: Vec<models::DomainIdentityProviderInfo>) -> DomainPrivateInfo {
DomainPrivateInfo {
default_display_name,
id,
identity_providers,
}
}
}