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 Principle {
    /// the Book of Changes reading
    #[serde(rename = "change", skip_serializing_if = "Option::is_none")]
    pub change: Option<String>,
    /// the growth / go-to-market domain it governs
    #[serde(rename = "domain", skip_serializing_if = "Option::is_none")]
    pub domain: Option<String>,
    /// the I-Ching hexagram (pinyin + gloss)
    #[serde(rename = "hexagram", skip_serializing_if = "Option::is_none")]
    pub hexagram: Option<String>,
    /// 1..64, the hexagram number + canonical order
    #[serde(rename = "n", skip_serializing_if = "Option::is_none")]
    pub n: Option<i32>,
    /// the principle's short name
    #[serde(rename = "name", skip_serializing_if = "Option::is_none")]
    pub name: Option<String>,
    /// the actionable growth law
    #[serde(rename = "principle", skip_serializing_if = "Option::is_none")]
    pub principle: Option<String>,
    /// stable identifier a tactic files under
    #[serde(rename = "slug", skip_serializing_if = "Option::is_none")]
    pub slug: Option<String>,
    /// the Art of War teaching
    #[serde(rename = "sunTzu", skip_serializing_if = "Option::is_none")]
    pub sun_tzu: Option<String>,
}

impl Principle {
    pub fn new() -> Principle {
        Principle {
            change: None,
            domain: None,
            hexagram: None,
            n: None,
            name: None,
            principle: None,
            slug: None,
            sun_tzu: None,
        }
    }
}