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 ReferenceOut {
    /// Next is the key to page from, empty when this is the last page.
    #[serde(rename = "next", skip_serializing_if = "Option::is_none")]
    pub next: Option<String>,
    /// Overrides is YOUR org's entries over that baseline, in key order. They are held in your organisation's own store and are not visible to any other.
    #[serde(rename = "overrides", skip_serializing_if = "Option::is_none")]
    pub overrides: Option<Vec<models::ReferenceOverride>>,
    /// Set is the published set: its version, its freshness and its sources.
    #[serde(rename = "set", skip_serializing_if = "Option::is_none")]
    pub set: Option<Box<models::ReferenceSet>>,
}

impl ReferenceOut {
    pub fn new() -> ReferenceOut {
        ReferenceOut {
            next: None,
            overrides: None,
            set: None,
        }
    }
}