/** * 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 { WebhookAuthApiKey } from '../models/WebhookAuthApiKey'; import { WebhookAuthBasicAuth } from '../models/WebhookAuthBasicAuth'; import { WebhookAuthOAuth2 } from '../models/WebhookAuthOAuth2'; import { HttpFile } from '../http/http'; export class WebhookAuthentication { 'API_KEY'?: WebhookAuthApiKey; 'BASIC_AUTH'?: WebhookAuthBasicAuth; /** * Redacted Bearer token authentication configuration. */ 'BEARER_TOKEN'?: string | null; 'OAUTH2'?: WebhookAuthOAuth2; 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": "WebhookAuthApiKey", "format": "" }, { "name": "BASIC_AUTH", "baseName": "BASIC_AUTH", "type": "WebhookAuthBasicAuth", "format": "" }, { "name": "BEARER_TOKEN", "baseName": "BEARER_TOKEN", "type": "string", "format": "" }, { "name": "OAUTH2", "baseName": "OAUTH2", "type": "WebhookAuthOAuth2", "format": "" } ]; static getAttributeTypeMap() { return WebhookAuthentication.attributeTypeMap; } public constructor() { } }