vapi_client/models/
update_supabase_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 UpdateSupabaseCredentialDto {
16    /// This is the order in which this storage provider is tried during upload retries. Lower numbers are tried first in increasing order.
17    #[serde(rename = "fallbackIndex", skip_serializing_if = "Option::is_none")]
18    pub fallback_index: Option<f64>,
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 = "bucketPlan", skip_serializing_if = "Option::is_none")]
23    pub bucket_plan: Option<models::SupabaseBucketPlan>,
24}
25
26impl UpdateSupabaseCredentialDto {
27    pub fn new() -> UpdateSupabaseCredentialDto {
28        UpdateSupabaseCredentialDto {
29            fallback_index: None,
30            name: None,
31            bucket_plan: None,
32        }
33    }
34}