/** * 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 { OrgInfo } from '../models/OrgInfo'; import { HttpFile } from '../http/http'; /** * The set of Orgs a token is authorized to operate in, recorded at issuance. Used for token types (e.g. AccessToken) that have no other {@code scope} field of their own. */ export class AccessTokenScope { /** * Org scope the token is authorized for: SPECIFIC_ORGS or ALL_MEMBER_ORGS. */ 'org_scope': AccessTokenScopeOrgScopeEnum; /** * Orgs the token is authorized for when org_scope is SPECIFIC_ORGS. */ 'org_ids'?: 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": "AccessTokenScopeOrgScopeEnum", "format": "" }, { "name": "org_ids", "baseName": "org_ids", "type": "Array", "format": "" } ]; static getAttributeTypeMap() { return AccessTokenScope.attributeTypeMap; } public constructor() { } } export type AccessTokenScopeOrgScopeEnum = "SPECIFIC_ORGS" | "ALL_MEMBER_ORGS" ;