Skip to main content

hanzo_client/models/
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 ReferenceOut {
16    /// Next is the key to page from, empty when this is the last page.
17    #[serde(rename = "next", skip_serializing_if = "Option::is_none")]
18    pub next: Option<String>,
19    /// 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.
20    #[serde(rename = "overrides", skip_serializing_if = "Option::is_none")]
21    pub overrides: Option<Vec<models::ReferenceOverride>>,
22    /// Set is the published set: its version, its freshness and its sources.
23    #[serde(rename = "set", skip_serializing_if = "Option::is_none")]
24    pub set: Option<Box<models::ReferenceSet>>,
25}
26
27impl ReferenceOut {
28    pub fn new() -> ReferenceOut {
29        ReferenceOut {
30            next: None,
31            overrides: None,
32            set: None,
33        }
34    }
35}
36