vapi_client/models/variable_extraction_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 VariableExtractionPlan {
16 /// This is the schema of parameters we want to extract from the response
17 #[serde(rename = "schema", skip_serializing_if = "Option::is_none")]
18 pub schema: Option<models::JsonSchema>,
19}
20
21impl VariableExtractionPlan {
22 pub fn new() -> VariableExtractionPlan {
23 VariableExtractionPlan { schema: None }
24 }
25}