/** * 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'; export class GetTokenResponse { /** * Bearer auth token. */ 'token': string; /** * Token creation time in milliseconds. */ 'creation_time_in_millis': number; /** * Token expiration time in milliseconds. */ 'expiration_time_in_millis': number; /** * Username to whom the token is issued. */ 'valid_for_user_id': string; /** * Unique identifier of the user to whom the token is issued. */ 'valid_for_username': string; static readonly discriminator: string | undefined = undefined; static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ { "name": "token", "baseName": "token", "type": "string", "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" }, { "name": "valid_for_user_id", "baseName": "valid_for_user_id", "type": "string", "format": "" }, { "name": "valid_for_username", "baseName": "valid_for_username", "type": "string", "format": "" } ]; static getAttributeTypeMap() { return GetTokenResponse.attributeTypeMap; } public constructor() { } }