/*
* 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 ChatResponse {
/// Funnel is the org's trailing-window traffic → signups → orders.
#[serde(rename = "funnel", skip_serializing_if = "Option::is_none")]
pub funnel: Option<Box<models::Funnel>>,
/// Reply is the coach's answer, grounded only in the quests and funnel below. When no AI plane is reachable it is the deterministic reply naming the top real quest — never silence, never invention.
#[serde(rename = "reply", skip_serializing_if = "Option::is_none")]
pub reply: Option<String>,
/// Suggestions are the current candidate quests, ranked best-first.
#[serde(rename = "suggestions", skip_serializing_if = "Option::is_none")]
pub suggestions: Option<Vec<models::Suggestion>>,
}
impl ChatResponse {
pub fn new() -> ChatResponse {
ChatResponse {
funnel: None,
reply: None,
suggestions: None,
}
}
}