/** * 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 { FileReference } from '../models/FileReference'; import { HttpFile } from '../http/http'; /** * Agent text output. */ export class TextResponseItem { /** * Variant discriminator. Always `\"text\"`. */ 'type': string; /** * Milliseconds since Unix epoch when this item was produced. */ 'timestamp_in_millis': any | null; /** * True when the item represents internal agent reasoning rather than user-facing output. */ 'is_thinking'?: boolean | null; /** * Human-readable label for the agent step producing this item. */ 'step_title'?: string | null; /** * The text body. */ 'content': string; /** * Rendering hint for the text content. See `ContentMimeType` for accepted values. */ 'content_type'?: TextResponseItemContentTypeEnum | null; 'file_reference'?: FileReference; 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": "type", "baseName": "type", "type": "string", "format": "" }, { "name": "timestamp_in_millis", "baseName": "timestamp_in_millis", "type": "any", "format": "" }, { "name": "is_thinking", "baseName": "is_thinking", "type": "boolean", "format": "" }, { "name": "step_title", "baseName": "step_title", "type": "string", "format": "" }, { "name": "content", "baseName": "content", "type": "string", "format": "" }, { "name": "content_type", "baseName": "content_type", "type": "TextResponseItemContentTypeEnum", "format": "" }, { "name": "file_reference", "baseName": "file_reference", "type": "FileReference", "format": "" } ]; static getAttributeTypeMap() { return TextResponseItem.attributeTypeMap; } public constructor() { } } export type TextResponseItemContentTypeEnum = "TEXT_PLAIN" | "TEXT_MARKDOWN" | "TEXT_X_MARKDOWN_WITH_CODE" | "TEXT_HTML" ;