/** * 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 { UserInfo } from '../models/UserInfo'; import { HttpFile } from '../http/http'; export class AccessToken { /** * GUID of the auth token. */ 'id'?: string | null; /** * Bearer auth token. */ 'token': string; 'org': OrgInfo; 'user': UserInfo; /** * Token creation time in milliseconds. */ 'creation_time_in_millis': number; /** * Token expiration time in milliseconds. */ 'expiration_time_in_millis': number; static readonly discriminator: string | undefined = undefined; static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ { "name": "id", "baseName": "id", "type": "string", "format": "" }, { "name": "token", "baseName": "token", "type": "string", "format": "" }, { "name": "org", "baseName": "org", "type": "OrgInfo", "format": "" }, { "name": "user", "baseName": "user", "type": "UserInfo", "format": "" }, { "name": "creation_time_in_millis", "baseName": "creation_time_in_millis", "type": "number", "format": "float" }, { "name": "expiration_time_in_millis", "baseName": "expiration_time_in_millis", "type": "number", "format": "float" } ]; static getAttributeTypeMap() { return AccessToken.attributeTypeMap; } public constructor() { } }