/* tslint:disable */ /* eslint-disable */ /** * ChatGPT Function * Backend for Azure OpenAI integrations * * The version of the OpenAPI document: v1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { mapValues } from '../runtime'; /** * * @export * @interface AzureBlobStorageCredentials */ export interface AzureBlobStorageCredentials { /** * * @type {string} * @memberof AzureBlobStorageCredentials */ sasToken?: string; /** * * @type {string} * @memberof AzureBlobStorageCredentials */ blobUrl?: string; /** * * @type {{ [key: string]: object; }} * @memberof AzureBlobStorageCredentials */ additionalProperties?: { [key: string]: object; }; } /** * Check if a given object implements the AzureBlobStorageCredentials interface. */ export function instanceOfAzureBlobStorageCredentials(value: object): value is AzureBlobStorageCredentials { return true; } export function AzureBlobStorageCredentialsFromJSON(json: any): AzureBlobStorageCredentials { return AzureBlobStorageCredentialsFromJSONTyped(json, false); } export function AzureBlobStorageCredentialsFromJSONTyped(json: any, ignoreDiscriminator: boolean): AzureBlobStorageCredentials { if (json == null) { return json; } return { 'sasToken': json['sasToken'] == null ? undefined : json['sasToken'], 'blobUrl': json['blobUrl'] == null ? undefined : json['blobUrl'], 'additionalProperties': json['additionalProperties'] == null ? undefined : json['additionalProperties'], }; } export function AzureBlobStorageCredentialsToJSON(json: any): AzureBlobStorageCredentials { return AzureBlobStorageCredentialsToJSONTyped(json, false); } export function AzureBlobStorageCredentialsToJSONTyped(value?: AzureBlobStorageCredentials | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'sasToken': value['sasToken'], 'blobUrl': value['blobUrl'], 'additionalProperties': value['additionalProperties'], }; }