/**
* 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 SearchDataRequest {
/**
* Query string with search tokens. For example, [Sales][Region]. See [API Documentation](https://developers.thoughtspot.com/docs/fetch-data-and-report-apis#_search_data_api)
*/
'query_string': string;
/**
* GUID of the data source object, such as a Worksheet, View, or Table. You can find the GUID of a data object from the UI or via API. See [API Documentation](https://developers.thoughtspot.com/docs/fetch-data-and-report-apis#_search_query) for more details.
*/
'logical_table_identifier': string;
/**
* JSON output in compact or full format. The FULL option is available in 9.12.5.cl or later.
*/
'data_format'?: SearchDataRequestDataFormatEnum;
/**
* The starting record number from where the records should be included.
*/
'record_offset'?: number;
/**
* The number of records to include in a batch.
*/
'record_size'?: number;
/**
* JSON object with representing filter condition to apply filters at runtime. For example, {\"col1\": \"item type\", \"op1\": \"EQ\", \"val1\": \"Bags\"} . You can add multiple keys by incrementing the number at the end, for example, col2, op2, val2, and col3, op3, val3. For more information, see [API Documentation](https://developers.thoughtspot.com/docs/fetch-data-and-report-apis#_runtime_filters).
*/
'runtime_filter'?: any;
/**
* JSON object representing columns to sort data at runtime. For example, {\"sortCol1\": \"sales\", \"asc1\": true} . You can add multiple keys by incrementing the number at the end, for example, sortCol1, asc2. For more information, see [API Documentation](https://developers.thoughtspot.com/docs/fetch-data-and-report-apis#_runtime_sort).
*/
'runtime_sort'?: any;
/**
* JSON object for setting values of parameters at runtime. For example, {\"param1\": \"Double List Param\", \"paramVal1\": 0.5}. You can add multiple keys by incrementing the number at the end, for example, param2, paramVal2. For more information, see [API Documentation](https://developers.thoughtspot.com/docs/fetch-data-and-report-apis#_runtime_parameters).
*/
'runtime_param_override'?: any;
static readonly discriminator: string | undefined = undefined;
static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
{
"name": "query_string",
"baseName": "query_string",
"type": "string",
"format": ""
},
{
"name": "logical_table_identifier",
"baseName": "logical_table_identifier",
"type": "string",
"format": ""
},
{
"name": "data_format",
"baseName": "data_format",
"type": "SearchDataRequestDataFormatEnum",
"format": ""
},
{
"name": "record_offset",
"baseName": "record_offset",
"type": "number",
"format": "int32"
},
{
"name": "record_size",
"baseName": "record_size",
"type": "number",
"format": "int32"
},
{
"name": "runtime_filter",
"baseName": "runtime_filter",
"type": "any",
"format": ""
},
{
"name": "runtime_sort",
"baseName": "runtime_sort",
"type": "any",
"format": ""
},
{
"name": "runtime_param_override",
"baseName": "runtime_param_override",
"type": "any",
"format": ""
} ];
static getAttributeTypeMap() {
return SearchDataRequest.attributeTypeMap;
}
public constructor() {
}
}
export type SearchDataRequestDataFormatEnum = "FULL" | "COMPACT" ;