/*
* 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 ReferenceSetsOut {
/// Refused names the sets that cannot be consulted at all. A key checked against one of these is UNKNOWN, not clean.
#[serde(rename = "refused", skip_serializing_if = "Option::is_none")]
pub refused: Option<Vec<String>>,
/// Sets is the whole catalog, in a stable order.
#[serde(rename = "sets", skip_serializing_if = "Option::is_none")]
pub sets: Option<Vec<models::ReferenceSet>>,
/// Stale names the sets past their freshness bound — the list to alarm on.
#[serde(rename = "stale", skip_serializing_if = "Option::is_none")]
pub stale: Option<Vec<String>>,
}
impl ReferenceSetsOut {
pub fn new() -> ReferenceSetsOut {
ReferenceSetsOut {
refused: None,
sets: None,
stale: None,
}
}
}