vapi_client/models/
update_twilio_credential_dto.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 UpdateTwilioCredentialDto {
16    /// This is not returned in the API.
17    #[serde(rename = "authToken", skip_serializing_if = "Option::is_none")]
18    pub auth_token: Option<String>,
19    /// This is the name of credential. This is just for your reference.
20    #[serde(rename = "name", skip_serializing_if = "Option::is_none")]
21    pub name: Option<String>,
22    #[serde(rename = "accountSid", skip_serializing_if = "Option::is_none")]
23    pub account_sid: Option<String>,
24}
25
26impl UpdateTwilioCredentialDto {
27    pub fn new() -> UpdateTwilioCredentialDto {
28        UpdateTwilioCredentialDto {
29            auth_token: None,
30            name: None,
31            account_sid: None,
32        }
33    }
34}
35