vapi_client/models/
create_test_suite_dto.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 CreateTestSuiteDto {
16    /// This is the name of the test suite.
17    #[serde(rename = "name", skip_serializing_if = "Option::is_none")]
18    pub name: Option<String>,
19    /// This is the phone number ID associated with this test suite.
20    #[serde(rename = "phoneNumberId", skip_serializing_if = "Option::is_none")]
21    pub phone_number_id: Option<String>,
22    /// 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.
23    #[serde(rename = "testerPlan", skip_serializing_if = "Option::is_none")]
24    pub tester_plan: Option<models::TesterPlan>,
25    /// These are the configuration for the assistant / phone number that is being tested.
26    #[serde(rename = "targetPlan", skip_serializing_if = "Option::is_none")]
27    pub target_plan: Option<models::TargetPlan>,
28}
29
30impl CreateTestSuiteDto {
31    pub fn new() -> CreateTestSuiteDto {
32        CreateTestSuiteDto {
33            name: None,
34            phone_number_id: None,
35            tester_plan: None,
36            target_plan: None,
37        }
38    }
39}