/*
* 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};
/// DomainIdentityProviderPrincipalList : A list of principals in an identity provider
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct DomainIdentityProviderPrincipalList {
#[serde(rename = "principals")]
pub principals: Vec<models::PrincipalSummary>,
}
impl DomainIdentityProviderPrincipalList {
/// A list of principals in an identity provider
pub fn new(principals: Vec<models::PrincipalSummary>) -> DomainIdentityProviderPrincipalList {
DomainIdentityProviderPrincipalList {
principals,
}
}
}