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 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,
        }
    }
}