hanzo-client 8.5.156

Generated client for the Hanzo API — every service, one crate.
Documentation
/*
 * Hanzo Cloud API
 *
 * The Hanzo Cloud API as a customer calls it: every operation under /v1/ except the operator's admin product, relay routes, legacy spellings and capabilities still reached by flag. Tagged by product: the first path segment after /v1/.
 *
 * The version of the OpenAPI document: v1
 * 
 * Generated by: https://openapi-generator.tech
 */

use crate::models;
use serde::{Deserialize, Serialize};

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct O11yPeriodO11ySessionOrg {
    /// AuthNSupport lists the org's open sign-in routes.
    #[serde(rename = "authNSupport", skip_serializing_if = "Option::is_none")]
    pub auth_n_support: Option<Box<models::O11yPeriodO11yAuthNSupport>>,
    /// ID is the org id.
    #[serde(rename = "id", skip_serializing_if = "Option::is_none")]
    pub id: Option<String>,
    /// Name is the org's display name.
    #[serde(rename = "name", skip_serializing_if = "Option::is_none")]
    pub name: Option<String>,
    /// Warning reports an org whose SSO is configured but not currently usable, in the platform's error shape.
    #[serde(rename = "warning", skip_serializing_if = "Option::is_none")]
    pub warning: Option<Box<models::O11yPeriodO11yErrorDetail>>,
}

impl O11yPeriodO11ySessionOrg {
    pub fn new() -> O11yPeriodO11ySessionOrg {
        O11yPeriodO11ySessionOrg {
            auth_n_support: None,
            id: None,
            name: None,
            warning: None,
        }
    }
}