/*
* 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 Curriculum {
/// Steps are the enabled steps in authoring order. Order is the tiebreak the next-step logic walks, so it is part of the contract rather than cosmetic.
#[serde(rename = "steps", skip_serializing_if = "Option::is_none")]
pub steps: Option<Vec<models::JourneyStep>>,
/// Title is the playbook's name as it heads the checklist.
#[serde(rename = "title", skip_serializing_if = "Option::is_none")]
pub title: Option<String>,
/// Version identifies the authored playbook this journey was projected from, so two orgs on different playbooks can be told apart. It is the blueprint's own `version` string, not the store's numeric revision.
#[serde(rename = "version", skip_serializing_if = "Option::is_none")]
pub version: Option<String>,
}
impl Curriculum {
pub fn new() -> Curriculum {
Curriculum {
steps: None,
title: None,
version: None,
}
}
}