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, Debug, PartialEq, Serialize, Deserialize)]
#[serde(tag = "type")]
pub enum TestSuiteTestControllerCreateRequest {
    #[serde(rename = "voice")]
    Voice(models::CreateTestSuiteTestVoiceDto),
    #[serde(rename = "chat")]
    Chat(models::CreateTestSuiteTestChatDto),
}

impl Default for TestSuiteTestControllerCreateRequest {
    fn default() -> Self {
        Self::Voice(Default::default())
    }
}