vapi-client 0.4.2

Unofficial crate for Vapi - Voice AI for developers.
Documentation
/*
 * Vapi API
 *
 * Voice AI for developers.
 *
 * The version of the OpenAPI document: 1.0
 *
 * Generated by: https://openapi-generator.tech
 */

use crate::models;
use serde::{Deserialize, Serialize};

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct UpdateVonageCredentialDto {
    /// This is not returned in the API.
    #[serde(rename = "apiSecret", skip_serializing_if = "Option::is_none")]
    pub api_secret: Option<String>,
    /// This is the name of credential. This is just for your reference.
    #[serde(rename = "name", skip_serializing_if = "Option::is_none")]
    pub name: Option<String>,
    #[serde(rename = "apiKey", skip_serializing_if = "Option::is_none")]
    pub api_key: Option<String>,
}

impl UpdateVonageCredentialDto {
    pub fn new() -> UpdateVonageCredentialDto {
        UpdateVonageCredentialDto {
            api_secret: None,
            name: None,
            api_key: None,
        }
    }
}