vapi_client/models/
analysis_plan.rs

1/*
2 * Vapi API
3 *
4 * Voice AI for developers.
5 *
6 * The version of the OpenAPI document: 1.0
7 * 
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
15pub struct AnalysisPlan {
16    /// This is the plan for generating the summary of the call. This outputs to `call.analysis.summary`.
17    #[serde(rename = "summaryPlan", skip_serializing_if = "Option::is_none")]
18    pub summary_plan: Option<Box<models::SummaryPlan>>,
19    /// This is the plan for generating the structured data from the call. This outputs to `call.analysis.structuredData`.
20    #[serde(rename = "structuredDataPlan", skip_serializing_if = "Option::is_none")]
21    pub structured_data_plan: Option<Box<models::StructuredDataPlan>>,
22    /// This is the plan for generating the success evaluation of the call. This outputs to `call.analysis.successEvaluation`.
23    #[serde(rename = "successEvaluationPlan", skip_serializing_if = "Option::is_none")]
24    pub success_evaluation_plan: Option<Box<models::SuccessEvaluationPlan>>,
25}
26
27impl AnalysisPlan {
28    pub fn new() -> AnalysisPlan {
29        AnalysisPlan {
30            summary_plan: None,
31            structured_data_plan: None,
32            success_evaluation_plan: None,
33        }
34    }
35}
36