vapi_client/models/
azure_blob_storage_bucket_plan.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 AzureBlobStorageBucketPlan {
16    /// This is the blob storage connection string for the Azure resource.
17    #[serde(rename = "connectionString")]
18    pub connection_string: String,
19    /// This is the container name for the Azure blob storage.
20    #[serde(rename = "containerName")]
21    pub container_name: String,
22    /// 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 \"/\"
23    #[serde(rename = "path", skip_serializing_if = "Option::is_none")]
24    pub path: Option<String>,
25}
26
27impl AzureBlobStorageBucketPlan {
28    pub fn new(connection_string: String, container_name: String) -> AzureBlobStorageBucketPlan {
29        AzureBlobStorageBucketPlan {
30            connection_string,
31            container_name,
32            path: None,
33        }
34    }
35}