/** * 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 { CodeExecutionFileMetadata } from '../models/CodeExecutionFileMetadata'; import { ConversationMessage } from '../models/ConversationMessage'; import { DataSourceEntry } from '../models/DataSourceEntry'; import { HttpFile } from '../http/http'; /** * Response returned by getSharedContent. Contains the full read-only view of the shared conversation including messages and data source metadata. */ export class SharedConversationResponse { /** * Unique identifier of the source conversation (echoes the request parameter). */ 'conversation_id': string; /** * Identifier for the shared view. Use this as `conversation_identifier` in follow-up `loadAnswer` calls to hydrate answer items in the messages. */ 'shared_conversation_id': string; /** * Display title of the conversation. */ 'conversation_title'?: string | null; /** * Identifier of the user who created the conversation and shared it. This is the original creator, not the caller retrieving the shared content. */ 'creator_user_id'?: string | null; /** * Data sources used by the conversation, each with an identifier and display name. */ 'data_sources': Array; /** * Identifiers of the AI analysts the conversation ran against. An analyst is a purpose-built agent configured over a set of data sources, with its own instructions and access rules. Empty array when the conversation is not associated with any analyst; never null. */ 'analyst_ids': Array; /** * Ordered conversation messages, oldest to newest. Same structure as the `messages` field returned by `getConversation`. Empty array when the conversation has no messages; never null. */ 'messages': Array; /** * Sanitized metadata for files generated by the code-execution tool during this conversation. Empty when there are no such files. */ 'code_execution_files': Array; 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": "conversation_id", "baseName": "conversation_id", "type": "string", "format": "" }, { "name": "shared_conversation_id", "baseName": "shared_conversation_id", "type": "string", "format": "" }, { "name": "conversation_title", "baseName": "conversation_title", "type": "string", "format": "" }, { "name": "creator_user_id", "baseName": "creator_user_id", "type": "string", "format": "" }, { "name": "data_sources", "baseName": "data_sources", "type": "Array", "format": "" }, { "name": "analyst_ids", "baseName": "analyst_ids", "type": "Array", "format": "" }, { "name": "messages", "baseName": "messages", "type": "Array", "format": "" }, { "name": "code_execution_files", "baseName": "code_execution_files", "type": "Array", "format": "" } ]; static getAttributeTypeMap() { return SharedConversationResponse.attributeTypeMap; } public constructor() { } }