vapi_client/models/
update_slack_o_auth2_authorization_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 UpdateSlackOAuth2AuthorizationCredentialDto {
16    /// The authorization ID for the OAuth2 authorization
17    #[serde(rename = "authorizationId", skip_serializing_if = "Option::is_none")]
18    pub authorization_id: 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}
23
24impl UpdateSlackOAuth2AuthorizationCredentialDto {
25    pub fn new() -> UpdateSlackOAuth2AuthorizationCredentialDto {
26        UpdateSlackOAuth2AuthorizationCredentialDto {
27            authorization_id: None,
28            name: None,
29        }
30    }
31}