Skip to main content

hanzo_client/models/
reference_override.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 ReferenceOverride {
16    /// At is when it was written, RFC 3339.
17    #[serde(rename = "at", skip_serializing_if = "Option::is_none")]
18    pub at: Option<String>,
19    /// By is who wrote it.
20    #[serde(rename = "by", skip_serializing_if = "Option::is_none")]
21    pub by: Option<String>,
22    /// Key is the member this organisation is speaking about.
23    #[serde(rename = "key", skip_serializing_if = "Option::is_none")]
24    pub key: Option<String>,
25    /// Note is why, in the operator's own words. Optional, and bounded.
26    #[serde(rename = "note", skip_serializing_if = "Option::is_none")]
27    pub note: Option<String>,
28    /// Verdict is allow or deny.
29    #[serde(rename = "verdict", skip_serializing_if = "Option::is_none")]
30    pub verdict: Option<String>,
31}
32
33impl ReferenceOverride {
34    pub fn new() -> ReferenceOverride {
35        ReferenceOverride {
36            at: None,
37            by: None,
38            key: None,
39            note: None,
40            verdict: None,
41        }
42    }
43}
44