vapi_client/models/
structured_data_multi_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 StructuredDataMultiPlan {
16    /// This is the key of the structured data plan in the catalog.
17    #[serde(rename = "key")]
18    pub key: String,
19    /// This is an individual structured data plan in the catalog.
20    #[serde(rename = "plan")]
21    pub plan: models::StructuredDataPlan,
22}
23
24impl StructuredDataMultiPlan {
25    pub fn new(key: String, plan: models::StructuredDataPlan) -> StructuredDataMultiPlan {
26        StructuredDataMultiPlan { key, plan }
27    }
28}