vapi-client 0.4.2

Unofficial crate for Vapi - Voice AI for developers.
Documentation
/*
 * Vapi API
 *
 * Voice AI for developers.
 *
 * The version of the OpenAPI document: 1.0
 *
 * Generated by: https://openapi-generator.tech
 */

use crate::models;
use serde::{Deserialize, Serialize};

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct StructuredDataMultiPlan {
    /// This is the key of the structured data plan in the catalog.
    #[serde(rename = "key")]
    pub key: String,
    /// This is an individual structured data plan in the catalog.
    #[serde(rename = "plan")]
    pub plan: models::StructuredDataPlan,
}

impl StructuredDataMultiPlan {
    pub fn new(key: String, plan: models::StructuredDataPlan) -> StructuredDataMultiPlan {
        StructuredDataMultiPlan { key, plan }
    }
}