/*
* 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 VersionMeta {
/// Brand is the white-label key this revision was authored under; empty is the shared base playbook. Revisions of two brands never share a number line.
#[serde(rename = "brand", skip_serializing_if = "Option::is_none")]
pub brand: Option<String>,
/// UpdatedAt is when this revision was written, as Unix seconds — the \"who changed the playbook, and when\" half of the audit trail.
#[serde(rename = "updatedAt", skip_serializing_if = "Option::is_none")]
pub updated_at: Option<i32>,
/// Version is the store's own revision counter for that brand, starting at 1 for the seeded playbook and incrementing on every edit. Nothing is overwritten, so the highest number is the live one and every lower number is still readable. It is not the playbook's authored `version` string.
#[serde(rename = "version", skip_serializing_if = "Option::is_none")]
pub version: Option<i32>,
}
impl VersionMeta {
pub fn new() -> VersionMeta {
VersionMeta {
brand: None,
updated_at: None,
version: None,
}
}
}