/** * 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 { SqlQuery } from '../models/SqlQuery'; import { HttpFile } from '../http/http'; export class SqlQueryResponse { /** * Unique identifier of the metadata. */ 'metadata_id': string; /** * Name of the metadata. */ 'metadata_name': string; /** * Type of the metadata. */ 'metadata_type': SqlQueryResponseMetadataTypeEnum; /** * SQL query details of metadata objects. */ 'sql_queries': Array; static readonly discriminator: string | undefined = undefined; static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ { "name": "metadata_id", "baseName": "metadata_id", "type": "string", "format": "" }, { "name": "metadata_name", "baseName": "metadata_name", "type": "string", "format": "" }, { "name": "metadata_type", "baseName": "metadata_type", "type": "SqlQueryResponseMetadataTypeEnum", "format": "" }, { "name": "sql_queries", "baseName": "sql_queries", "type": "Array", "format": "" } ]; static getAttributeTypeMap() { return SqlQueryResponse.attributeTypeMap; } public constructor() { } } export type SqlQueryResponseMetadataTypeEnum = "LIVEBOARD" | "ANSWER" | "LOGICAL_TABLE" | "LOGICAL_COLUMN" | "CONNECTION" | "TAG" | "USER" | "USER_GROUP" | "LOGICAL_RELATIONSHIP" ;