/** * 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 { HttpFile } from '../http/http'; /** * The set of Orgs a token is authorized to operate in, recorded at issuance. Only applicable to a Tenant Administrator. */ export class TokenScopeInput { /** * The set of Orgs this token is authorized to operate in. SPECIFIC_ORGS authorizes the token for the Orgs listed in org_identifiers; ALL_MEMBER_ORGS authorizes it for all Orgs the user is a member of. Version: 26.10.0.cl or later */ 'org_scope': TokenScopeInputOrgScopeEnum; /** * ID or name of the Orgs the token is authorized for. Required when org_scope is SPECIFIC_ORGS; ignored when org_scope is ALL_MEMBER_ORGS. Version: 26.10.0.cl or later */ 'org_identifiers'?: 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_scope", "baseName": "org_scope", "type": "TokenScopeInputOrgScopeEnum", "format": "" }, { "name": "org_identifiers", "baseName": "org_identifiers", "type": "Array", "format": "" } ]; static getAttributeTypeMap() { return TokenScopeInput.attributeTypeMap; } public constructor() { } } export type TokenScopeInputOrgScopeEnum = "SPECIFIC_ORGS" | "ALL_MEMBER_ORGS" ;