vapi_client/models/update_file_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 UpdateFileDto {
17 /// This is the name of the file. 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 UpdateFileDto {
23 pub fn new() -> UpdateFileDto {
24 UpdateFileDto { name: None }
25 }
26}