/** * 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 { AuthOrgInfo } from '../models/AuthOrgInfo'; import { AuthSettingsAccessToken } from '../models/AuthSettingsAccessToken'; import { HttpFile } from '../http/http'; /** * Org-level authentication preferences for a single org. */ export class AuthOrgPreference { 'org'?: AuthOrgInfo; /** * Whether authentication is enabled or disabled for this org. */ 'auth_status'?: AuthOrgPreferenceAuthStatusEnum | null; /** * Org-level access tokens. Absent when no token is configured or the feature flag is off. */ 'access_tokens'?: 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": "org", "baseName": "org", "type": "AuthOrgInfo", "format": "" }, { "name": "auth_status", "baseName": "auth_status", "type": "AuthOrgPreferenceAuthStatusEnum", "format": "" }, { "name": "access_tokens", "baseName": "access_tokens", "type": "Array", "format": "" } ]; static getAttributeTypeMap() { return AuthOrgPreference.attributeTypeMap; } public constructor() { } } export type AuthOrgPreferenceAuthStatusEnum = "ENABLED" | "DISABLED" ;