/** * 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'; /** * Schema definition for a single input column. */ export class InputColumnSchemaInput { /** * Name of the column. */ 'name': string; /** * Physical data type of the column as recognized by the connected warehouse (for example, VARCHAR, INT64, DOUBLE, BOOL, DATE). The accepted values depend on the underlying Cloud Data Warehouse. */ 'data_type': string; /** * Semantic role of the column in ThoughtSpot. Use ATTRIBUTE for dimensional data such as text, dates, and identifiers, and MEASURE for numeric or aggregatable values. */ 'type': InputColumnSchemaInputTypeEnum; /** * Optional list of permitted values for the column. When provided, data written to this column is restricted to these values. Omit or leave empty to allow any value supported by the data type. Version: 26.9.0.cl or later */ 'allowed_values'?: Array | 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": "name", "baseName": "name", "type": "string", "format": "" }, { "name": "data_type", "baseName": "data_type", "type": "string", "format": "" }, { "name": "type", "baseName": "type", "type": "InputColumnSchemaInputTypeEnum", "format": "" }, { "name": "allowed_values", "baseName": "allowed_values", "type": "Array", "format": "" } ]; static getAttributeTypeMap() { return InputColumnSchemaInput.attributeTypeMap; } public constructor() { } } export type InputColumnSchemaInputTypeEnum = "ATTRIBUTE" | "MEASURE" ;