/** * ThoughtSpot Public REST API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * OpenAPI spec version: 2.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 { CreateWebhookConfigurationRequestAuthentication } from '../models/CreateWebhookConfigurationRequestAuthentication'; import { CreateWebhookConfigurationRequestSignatureVerification } from '../models/CreateWebhookConfigurationRequestSignatureVerification'; import { CreateWebhookConfigurationRequestStorageDestination } from '../models/CreateWebhookConfigurationRequestStorageDestination'; import { WebhookKeyValuePairInput } from '../models/WebhookKeyValuePairInput'; import { HttpFile } from '../http/http'; export class CreateWebhookConfigurationRequest { /** * Name of the webhook configuration. */ 'name': string; /** * Description of the webhook configuration. */ 'description'?: string; /** * The webhook endpoint URL. */ 'url': string; /** * Additional URL parameters as key-value pairs. */ 'url_params'?: any; /** * List of events to subscribe to. */ 'events': Array; 'authentication'?: CreateWebhookConfigurationRequestAuthentication; 'signature_verification'?: CreateWebhookConfigurationRequestSignatureVerification; 'storage_destination'?: CreateWebhookConfigurationRequestStorageDestination; /** * Additional headers as an array of key-value pairs. Example: [{\"key\": \"X-Custom-Header\", \"value\": \"custom_value\"}] Version: 26.4.0.cl or later */ 'additional_headers'?: Array; static readonly discriminator: string | undefined = undefined; static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ { "name": "name", "baseName": "name", "type": "string", "format": "" }, { "name": "description", "baseName": "description", "type": "string", "format": "" }, { "name": "url", "baseName": "url", "type": "string", "format": "" }, { "name": "url_params", "baseName": "url_params", "type": "any", "format": "" }, { "name": "events", "baseName": "events", "type": "Array", "format": "" }, { "name": "authentication", "baseName": "authentication", "type": "CreateWebhookConfigurationRequestAuthentication", "format": "" }, { "name": "signature_verification", "baseName": "signature_verification", "type": "CreateWebhookConfigurationRequestSignatureVerification", "format": "" }, { "name": "storage_destination", "baseName": "storage_destination", "type": "CreateWebhookConfigurationRequestStorageDestination", "format": "" }, { "name": "additional_headers", "baseName": "additional_headers", "type": "Array", "format": "" } ]; static getAttributeTypeMap() { return CreateWebhookConfigurationRequest.attributeTypeMap; } public constructor() { } } export type CreateWebhookConfigurationRequestEventsEnum = "LIVEBOARD_SCHEDULE" ;