vapi_client/models/
update_call_dto.rs

1/*
2 * Vapi API
3 *
4 * API for building voice assistants
5 *
6 * The version of the OpenAPI document: 1.0
7 *
8 * Generated by: https://openapi-generator.tech
9 */
10
11use serde::{Deserialize, Serialize};
12
13use crate::models;
14
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct UpdateCallDto {
17    /// This is the name of the call. This is just for your own reference.
18    #[serde(rename = "name", skip_serializing_if = "Option::is_none")]
19    pub name: Option<String>,
20}
21
22impl UpdateCallDto {
23    pub fn new() -> UpdateCallDto {
24        UpdateCallDto { name: None }
25    }
26}