/*
* 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};
/// CreateAssistantDtoBackgroundSound : This is the background sound in the call. Default for phone calls is 'office' and default for web calls is 'off'. You can also provide a custom sound by providing a URL to an audio file.
/// This is the background sound in the call. Default for phone calls is 'office' and default for web calls is 'off'. You can also provide a custom sound by providing a URL to an audio file.
#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
#[serde(untagged)]
pub enum CreateAssistantDtoBackgroundSound {
Enum(BackgroundSoundChoice),
Url(String),
}
#[derive(Clone, Debug, PartialEq, Serialize, Deserialize, Default)]
pub enum BackgroundSoundChoice {
#[serde(rename = "office")]
#[default]
Office,
#[serde(rename = "off")]
Off,
}
impl Default for CreateAssistantDtoBackgroundSound {
fn default() -> Self {
Self::Enum(Default::default())
}
}