/*
* 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 OrgOptinView {
/// CanManage is true only for an admin of this org (or a platform SuperAdmin) — the callers whose write of the org preference will be accepted.
#[serde(rename = "canManage", skip_serializing_if = "Option::is_none")]
pub can_manage: Option<bool>,
/// Display is the name shown for the org on that board. Empty when none was chosen; opting in without one defaults it to the org id.
#[serde(rename = "display", skip_serializing_if = "Option::is_none")]
pub display: Option<String>,
/// Listed is true when the org has opted onto the cross-org global board. False — the default — keeps the org off it entirely; the org's own members still see their own board. Listing consents to publishing usage VOLUME, never spend.
#[serde(rename = "listed", skip_serializing_if = "Option::is_none")]
pub listed: Option<bool>,
}
impl OrgOptinView {
pub fn new() -> OrgOptinView {
OrgOptinView {
can_manage: None,
display: None,
listed: None,
}
}
}