/** * 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'; export class Scope { /** * Object access scope type. */ 'access_type': string; /** * Unique identifier of the Org. */ 'org_id'?: number | null; /** * Unique identifier of the metadata. */ 'metadata_id'?: string | null; /** * Org scope the token is authorized for. Absent for a legacy single-org token. Version: 26.10.0.cl or later */ 'org_scope'?: ScopeOrgScopeEnum | null; /** * Orgs the token is authorized for when org_scope is SPECIFIC_ORGS. Version: 26.10.0.cl or later */ '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": "access_type", "baseName": "access_type", "type": "string", "format": "" }, { "name": "org_id", "baseName": "org_id", "type": "number", "format": "int32" }, { "name": "metadata_id", "baseName": "metadata_id", "type": "string", "format": "" }, { "name": "org_scope", "baseName": "org_scope", "type": "ScopeOrgScopeEnum", "format": "" }, { "name": "org_ids", "baseName": "org_ids", "type": "Array", "format": "" } ]; static getAttributeTypeMap() { return Scope.attributeTypeMap; } public constructor() { } } export type ScopeOrgScopeEnum = "SPECIFIC_ORGS" | "ALL_MEMBER_ORGS" ;