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 not returned in the API.
20    #[serde(rename = "apiKey", skip_serializing_if = "Option::is_none")]
21    pub api_key: Option<String>,
22    /// This is not returned in the API.
23    #[serde(rename = "apiSecret", skip_serializing_if = "Option::is_none")]
24    pub api_secret: Option<String>,
25    /// This is the name of credential. This is just for your reference.
26    #[serde(rename = "name", skip_serializing_if = "Option::is_none")]
27    pub name: Option<String>,
28    #[serde(rename = "accountSid", skip_serializing_if = "Option::is_none")]
29    pub account_sid: Option<String>,
30}
31
32impl UpdateTwilioCredentialDto {
33    pub fn new() -> UpdateTwilioCredentialDto {
34        UpdateTwilioCredentialDto {
35            auth_token: None,
36            api_key: None,
37            api_secret: None,
38            name: None,
39            account_sid: None,
40        }
41    }
42}