/*
* 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 CorpusView {
/// Count is how many tactics survived every filter.
#[serde(rename = "count", skip_serializing_if = "Option::is_none")]
pub count: Option<i32>,
/// Stage is the growth stage the tag join ran at — the org's observed stage, or the one ?stage= previewed.
#[serde(rename = "stage", skip_serializing_if = "Option::is_none")]
pub stage: Option<String>,
/// Strategies are the surviving tactics, in corpus authoring order.
#[serde(rename = "strategies", skip_serializing_if = "Option::is_none")]
pub strategies: Option<Vec<models::StrategyView>>,
}
impl CorpusView {
pub fn new() -> CorpusView {
CorpusView {
count: None,
stage: None,
strategies: None,
}
}
}