/** * 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 { WebhookAuthApiKeyInput } from '../models/WebhookAuthApiKeyInput'; import { WebhookAuthBasicAuthInput } from '../models/WebhookAuthBasicAuthInput'; import { WebhookAuthOAuth2Input } from '../models/WebhookAuthOAuth2Input'; import { HttpFile } from '../http/http'; /** * Authorization configuration for the webhook. */ export class CreateWebhookConfigurationRequestAuthentication { 'API_KEY'?: WebhookAuthApiKeyInput; 'BASIC_AUTH'?: WebhookAuthBasicAuthInput; /** * Bearer token authentication configuration. */ 'BEARER_TOKEN'?: string | null; 'OAUTH2'?: WebhookAuthOAuth2Input; static readonly discriminator: string | undefined = undefined; static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ { "name": "API_KEY", "baseName": "API_KEY", "type": "WebhookAuthApiKeyInput", "format": "" }, { "name": "BASIC_AUTH", "baseName": "BASIC_AUTH", "type": "WebhookAuthBasicAuthInput", "format": "" }, { "name": "BEARER_TOKEN", "baseName": "BEARER_TOKEN", "type": "string", "format": "" }, { "name": "OAUTH2", "baseName": "OAUTH2", "type": "WebhookAuthOAuth2Input", "format": "" } ]; static getAttributeTypeMap() { return CreateWebhookConfigurationRequestAuthentication.attributeTypeMap; } public constructor() { } }