vapi_client/models/
analysis_plan.rs

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