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 Blueprint {
    /// Brand is the white-label key this playbook serves. Empty is the shared default every unbranded deployment falls back to.
    #[serde(rename = "brand", skip_serializing_if = "Option::is_none")]
    pub brand: Option<String>,
    /// Enabled is the whole-playbook lever. Absent reads as ON; an explicit false makes resolution skip this playbook entirely and fall through to the next tier, rather than serving an empty journey.
    #[serde(rename = "enabled", skip_serializing_if = "Option::is_none")]
    pub enabled: Option<bool>,
    /// Principles are the fixed 64-archetype spine a tactic files under. It is authored data an operator organises the corpus by; nothing in the checklist engine reads it.
    #[serde(rename = "principles", skip_serializing_if = "Option::is_none")]
    pub principles: Option<Vec<models::Principle>>,
    /// Sections are the journey's ordered phases.
    #[serde(rename = "sections", skip_serializing_if = "Option::is_none")]
    pub sections: Option<Vec<models::Section>>,
    /// Steps are every checklist item, disabled ones included — this is the authored document, not the projection an org runs.
    #[serde(rename = "steps", skip_serializing_if = "Option::is_none")]
    pub steps: Option<Vec<models::JourneyStep>>,
    /// Strategies are the tactics corpus the recommendation reads narrow.
    #[serde(rename = "strategies", skip_serializing_if = "Option::is_none")]
    pub strategies: Option<Vec<models::Strategy>>,
    /// Templates are the reusable prompts and snippets steps reference by id.
    #[serde(rename = "templates", skip_serializing_if = "Option::is_none")]
    pub templates: Option<Vec<models::Page>>,
    /// Title is the playbook's name as a person reads it.
    #[serde(rename = "title", skip_serializing_if = "Option::is_none")]
    pub title: Option<String>,
    /// Version is the playbook's own name for this edition of its content, chosen by whoever authored it. It travels onto every journey projected from it. The store's numeric revision is a separate value and lives beside it.
    #[serde(rename = "version", skip_serializing_if = "Option::is_none")]
    pub version: Option<String>,
}

impl Blueprint {
    pub fn new() -> Blueprint {
        Blueprint {
            brand: None,
            enabled: None,
            principles: None,
            sections: None,
            steps: None,
            strategies: None,
            templates: None,
            title: None,
            version: None,
        }
    }
}