vapi_client/models/
update_custom_llm_credential_dto.rs1use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
15pub struct UpdateCustomLlmCredentialDto {
16    #[serde(rename = "apiKey", skip_serializing_if = "Option::is_none")]
18    pub api_key: Option<String>,
19    #[serde(rename = "authenticationPlan", skip_serializing_if = "Option::is_none")]
21    pub authentication_plan: Option<Box<models::OAuth2AuthenticationPlan>>,
22    #[serde(rename = "name", skip_serializing_if = "Option::is_none")]
24    pub name: Option<String>,
25}
26
27impl UpdateCustomLlmCredentialDto {
28    pub fn new() -> UpdateCustomLlmCredentialDto {
29        UpdateCustomLlmCredentialDto {
30            api_key: None,
31            authentication_plan: None,
32            name: None,
33        }
34    }
35}
36