/** * 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'; /** * MCP (Model Context Protocol) resource — typically a connector-provided artifact such as a document excerpt. */ export class ResourceResponseItem { /** * Variant discriminator. Always `\"resource\"`. */ '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; /** * Human-readable title of the resource. */ 'title': string; /** * Resource URI. */ 'uri': string; /** * Original name or filename. */ 'name'?: string | null; /** * MIME type. */ 'mime_type'?: string | null; /** * Short description. */ 'description'?: string | null; /** * Size in bytes. */ 'size'?: number | null; /** * Connector instance identifier. */ 'connector_id'?: string | null; /** * Human-readable connector name. */ 'connector_name'?: string | null; /** * Connector slug or type key. */ 'connector_slug'?: string | null; /** * Underlying transport protocol used by the MCP connector. See `TransportType` for accepted values. */ 'transport_type'?: ResourceResponseItemTransportTypeEnum | 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": "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": "title", "baseName": "title", "type": "string", "format": "" }, { "name": "uri", "baseName": "uri", "type": "string", "format": "" }, { "name": "name", "baseName": "name", "type": "string", "format": "" }, { "name": "mime_type", "baseName": "mime_type", "type": "string", "format": "" }, { "name": "description", "baseName": "description", "type": "string", "format": "" }, { "name": "size", "baseName": "size", "type": "number", "format": "int32" }, { "name": "connector_id", "baseName": "connector_id", "type": "string", "format": "" }, { "name": "connector_name", "baseName": "connector_name", "type": "string", "format": "" }, { "name": "connector_slug", "baseName": "connector_slug", "type": "string", "format": "" }, { "name": "transport_type", "baseName": "transport_type", "type": "ResourceResponseItemTransportTypeEnum", "format": "" } ]; static getAttributeTypeMap() { return ResourceResponseItem.attributeTypeMap; } public constructor() { } } export type ResourceResponseItemTransportTypeEnum = "STREAMABLE_HTTP" | "SSE" ;