/** * 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 { DataSourceHeader } from '../models/DataSourceHeader'; import { DataSourcePopularity } from '../models/DataSourcePopularity'; import { DataSourceUserUsage } from '../models/DataSourceUserUsage'; import { HttpFile } from '../http/http'; /** * A data source descriptor returned by the agent\'s `search_datasets` tool. */ export class DataSourceInfo { /** * Unique identifier of the data source (mirrors `header.guid`). */ 'data_source_identifier'?: string | null; /** * Display name of the data source (mirrors `header.display_name`). */ 'data_source_name'?: string | null; /** * Optional description of the data source. */ 'description'?: string | null; /** * Tool-reported confidence that this data source matches the query, in `[0, 1]`. */ 'confidence'?: number | null; /** * LLM reasoning describing why the data source was selected. */ 'reasoning'?: string | null; 'header'?: DataSourceHeader; /** * Related liveboard visualizations for this data source. Open-ended JSON shape driven by the underlying proto. */ 'related_liveboard_visualizations'?: Array | null; /** * Related saved answers for this data source. Open-ended JSON shape driven by the underlying proto. */ 'related_answers'?: Array | null; /** * Related Spotter queries previously run against this data source. Truncated to a small upper bound by the tool. */ 'related_spotter_queries'?: Array | null; 'popularity'?: DataSourcePopularity; 'user_usage'?: DataSourceUserUsage; 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": "data_source_identifier", "baseName": "data_source_identifier", "type": "string", "format": "" }, { "name": "data_source_name", "baseName": "data_source_name", "type": "string", "format": "" }, { "name": "description", "baseName": "description", "type": "string", "format": "" }, { "name": "confidence", "baseName": "confidence", "type": "number", "format": "float" }, { "name": "reasoning", "baseName": "reasoning", "type": "string", "format": "" }, { "name": "header", "baseName": "header", "type": "DataSourceHeader", "format": "" }, { "name": "related_liveboard_visualizations", "baseName": "related_liveboard_visualizations", "type": "Array", "format": "" }, { "name": "related_answers", "baseName": "related_answers", "type": "Array", "format": "" }, { "name": "related_spotter_queries", "baseName": "related_spotter_queries", "type": "Array", "format": "" }, { "name": "popularity", "baseName": "popularity", "type": "DataSourcePopularity", "format": "" }, { "name": "user_usage", "baseName": "user_usage", "type": "DataSourceUserUsage", "format": "" } ]; static getAttributeTypeMap() { return DataSourceInfo.attributeTypeMap; } public constructor() { } }