hanzo_client/models/clear_reference_out.rs
1/*
2 * Hanzo Cloud API
3 *
4 * 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/.
5 *
6 * The version of the OpenAPI document: v1
7 *
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
15pub struct ClearReferenceOut {
16 /// 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.
17 #[serde(rename = "cleared", skip_serializing_if = "Option::is_none")]
18 pub cleared: Option<bool>,
19 /// Key is the entry named.
20 #[serde(rename = "key", skip_serializing_if = "Option::is_none")]
21 pub key: Option<String>,
22 /// Overrides is how many your org still holds in this set.
23 #[serde(rename = "overrides", skip_serializing_if = "Option::is_none")]
24 pub overrides: Option<i32>,
25 /// Set is the set cleared in.
26 #[serde(rename = "set", skip_serializing_if = "Option::is_none")]
27 pub set: Option<String>,
28}
29
30impl ClearReferenceOut {
31 pub fn new() -> ClearReferenceOut {
32 ClearReferenceOut {
33 cleared: None,
34 key: None,
35 overrides: None,
36 set: None,
37 }
38 }
39}
40