vapi_client/models/
azure_blob_storage_bucket_plan.rs

1/*
2 * Vapi API
3 *
4 * API for building voice assistants
5 *
6 * The version of the OpenAPI document: 1.0
7 *
8 * Generated by: https://openapi-generator.tech
9 */
10
11use serde::{Deserialize, Serialize};
12use utoipa::ToSchema;
13
14
15use crate::models;
16
17#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize, ToSchema)]
18pub struct AzureBlobStorageBucketPlan {
19    /// This is the blob storage connection string for the Azure resource.
20    #[serde(rename = "connectionString")]
21    pub connection_string: String,
22    /// This is the container name for the Azure blob storage.
23    #[serde(rename = "containerName")]
24    pub container_name: String,
25    /// This is the path where call artifacts will be stored.  Usage: - To store call artifacts in a specific folder, set this to the full path. Eg. \"/folder-name1/folder-name2\". - To store call artifacts in the root of the bucket, leave this blank.  @default \"/\"
26    #[serde(rename = "path", skip_serializing_if = "Option::is_none")]
27    pub path: Option<String>,
28}
29
30impl AzureBlobStorageBucketPlan {
31    pub fn new(connection_string: String, container_name: String) -> AzureBlobStorageBucketPlan {
32        AzureBlobStorageBucketPlan {
33            connection_string,
34            container_name,
35            path: None,
36        }
37    }
38}