1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
/*
* 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 VersionMessage {
/// BuildDate is the time THIS RESPONSE was generated, in RFC 3339 — not a build timestamp. There is no argocd build here to report one for.
#[serde(rename = "BuildDate", skip_serializing_if = "Option::is_none")]
pub build_date: Option<String>,
/// Compiler is the constant \"gc\" the SPA expects; it is not read from this process.
#[serde(rename = "Compiler", skip_serializing_if = "Option::is_none")]
pub compiler: Option<String>,
/// GoVersion is always empty.
#[serde(rename = "GoVersion", skip_serializing_if = "Option::is_none")]
pub go_version: Option<String>,
/// Platform is the constant \"linux/amd64\" the SPA expects; it is not this process's own GOOS/GOARCH.
#[serde(rename = "Platform", skip_serializing_if = "Option::is_none")]
pub platform: Option<String>,
/// Version names the projection, \"hanzo-cd (projection)\".
#[serde(rename = "Version", skip_serializing_if = "Option::is_none")]
pub version: Option<String>,
}
impl VersionMessage {
pub fn new() -> VersionMessage {
VersionMessage {
build_date: None,
compiler: None,
go_version: None,
platform: None,
version: None,
}
}
}