/** * 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 { AuthClusterPreferences } from '../models/AuthClusterPreferences'; import { AuthOrgPreference } from '../models/AuthOrgPreference'; import { HttpFile } from '../http/http'; /** * Response for searchAuthSettings. Contains auth type and cluster/org-level preferences. */ export class SearchAuthSettingsResponse { /** * Type of authentication mechanism returned. */ 'auth_type'?: SearchAuthSettingsResponseAuthTypeEnum | null; 'cluster_preferences'?: AuthClusterPreferences; /** * Org-level authentication configurations. Present when org scope was requested and per-org auth feature is enabled. */ 'org_preferences'?: Array | null; static readonly discriminator: string | undefined = undefined; static readonly mapping: {[index: string]: string} | undefined = undefined; static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ { "name": "auth_type", "baseName": "auth_type", "type": "SearchAuthSettingsResponseAuthTypeEnum", "format": "" }, { "name": "cluster_preferences", "baseName": "cluster_preferences", "type": "AuthClusterPreferences", "format": "" }, { "name": "org_preferences", "baseName": "org_preferences", "type": "Array", "format": "" } ]; static getAttributeTypeMap() { return SearchAuthSettingsResponse.attributeTypeMap; } public constructor() { } } export type SearchAuthSettingsResponseAuthTypeEnum = "TRUSTED_AUTH" ;