vapi_client/models/
mono.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 Mono {
16    /// This is the combined recording url for the call. To enable, set `assistant.artifactPlan.recordingEnabled`.
17    #[serde(rename = "combinedUrl", skip_serializing_if = "Option::is_none")]
18    pub combined_url: Option<String>,
19    /// This is the mono recording url for the assistant. To enable, set `assistant.artifactPlan.recordingEnabled`.
20    #[serde(rename = "assistantUrl", skip_serializing_if = "Option::is_none")]
21    pub assistant_url: Option<String>,
22    /// This is the mono recording url for the customer. To enable, set `assistant.artifactPlan.recordingEnabled`.
23    #[serde(rename = "customerUrl", skip_serializing_if = "Option::is_none")]
24    pub customer_url: Option<String>,
25}
26
27impl Mono {
28    pub fn new() -> Mono {
29        Mono {
30            combined_url: None,
31            assistant_url: None,
32            customer_url: None,
33        }
34    }
35}