/*
* 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 AddVoiceToProviderDto {
/// This is the owner_id of your shared voice which you want to add to your provider Account from Provider Voice Library
#[serde(rename = "ownerId")]
pub owner_id: String,
/// This is the voice_id of the shared voice which you want to add to your provider Account from Provider Voice Library
#[serde(rename = "voiceId")]
pub voice_id: String,
/// This is the new name of the voice which you want to have once you have added voice to your provider Account from Provider Voice Library
#[serde(rename = "name")]
pub name: String,
}
impl AddVoiceToProviderDto {
pub fn new(owner_id: String, voice_id: String, name: String) -> AddVoiceToProviderDto {
AddVoiceToProviderDto {
owner_id,
voice_id,
name,
}
}
}