/** * 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 { APIKeyInput } from '../models/APIKeyInput'; import { BasicAuthInput } from '../models/BasicAuthInput'; import { HttpFile } from '../http/http'; /** * Authorization type for the custom action. */ export class AuthenticationInput { 'API_Key'?: APIKeyInput; 'Basic_Auth'?: BasicAuthInput; /** * Bearer tokens enable requests to authenticate using an access key. */ 'Bearer_Token'?: string | null; /** * No authorization. If your request doesn\'t require authorization. */ 'No_Auth'?: string | null; 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": "APIKeyInput", "format": "" }, { "name": "Basic_Auth", "baseName": "Basic_Auth", "type": "BasicAuthInput", "format": "" }, { "name": "Bearer_Token", "baseName": "Bearer_Token", "type": "string", "format": "" }, { "name": "No_Auth", "baseName": "No_Auth", "type": "string", "format": "" } ]; static getAttributeTypeMap() { return AuthenticationInput.attributeTypeMap; } public constructor() { } }