antimatter_api 2.0.13

Interact with the Antimatter Cloud API
Documentation
/*
 * 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};

/// GoogleOAuthDomainIdentityProviderDetails : Detailed information about a Google OAuth identity provider. If the clientID is omitted, an Antimatter Client ID will be used. 
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct GoogleOAuthDomainIdentityProviderDetails {
    #[serde(rename = "clientID", skip_serializing_if = "Option::is_none")]
    pub client_id: Option<String>,
    #[serde(rename = "groupMappings", skip_serializing_if = "Option::is_none")]
    pub group_mappings: Option<Box<models::GoogleOAuthDomainIdentityProviderDetailsGroupMappings>>,
}

impl GoogleOAuthDomainIdentityProviderDetails {
    /// Detailed information about a Google OAuth identity provider. If the clientID is omitted, an Antimatter Client ID will be used. 
    pub fn new() -> GoogleOAuthDomainIdentityProviderDetails {
        GoogleOAuthDomainIdentityProviderDetails {
            client_id: None,
            group_mappings: None,
        }
    }
}