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 ClearReferenceOut {
    /// Cleared is false when your org held no such override — which is not an error, it is the honest answer to a removal that had nothing to remove.
    #[serde(rename = "cleared", skip_serializing_if = "Option::is_none")]
    pub cleared: Option<bool>,
    /// Key is the entry named.
    #[serde(rename = "key", skip_serializing_if = "Option::is_none")]
    pub key: Option<String>,
    /// Overrides is how many your org still holds in this set.
    #[serde(rename = "overrides", skip_serializing_if = "Option::is_none")]
    pub overrides: Option<i32>,
    /// Set is the set cleared in.
    #[serde(rename = "set", skip_serializing_if = "Option::is_none")]
    pub set: Option<String>,
}

impl ClearReferenceOut {
    pub fn new() -> ClearReferenceOut {
        ClearReferenceOut {
            cleared: None,
            key: None,
            overrides: None,
            set: None,
        }
    }
}