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 UpdateTestSuiteDto {
    /// This is the name of the test suite.
    #[serde(rename = "name", skip_serializing_if = "Option::is_none")]
    pub name: Option<String>,
    /// This is the phone number ID associated with this test suite.
    #[serde(rename = "phoneNumberId", skip_serializing_if = "Option::is_none")]
    pub phone_number_id: Option<String>,
    /// Override the default tester plan by providing custom assistant configuration for the test agent.  We recommend only using this if you are confident, as we have already set sensible defaults on the tester plan.
    #[serde(rename = "testerPlan", skip_serializing_if = "Option::is_none")]
    pub tester_plan: Option<models::TesterPlan>,
    /// These are the configuration for the assistant / phone number that is being tested.
    #[serde(rename = "targetPlan", skip_serializing_if = "Option::is_none")]
    pub target_plan: Option<models::TargetPlan>,
}

impl UpdateTestSuiteDto {
    pub fn new() -> UpdateTestSuiteDto {
        UpdateTestSuiteDto {
            name: None,
            phone_number_id: None,
            tester_plan: None,
            target_plan: None,
        }
    }
}