/** * 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 { VariableValue } from '../models/VariableValue'; import { HttpFile } from '../http/http'; /** * Variable object */ export class Variable { /** * Unique identifier of the variable */ 'id': string; /** * Name of the variable */ 'name': string; /** * Type of the variable */ 'variable_type'?: VariableVariableTypeEnum | null; /** * If the variable is sensitive */ 'sensitive'?: boolean | null; /** * Values of the variable */ 'values'?: Array | null; static readonly discriminator: string | undefined = undefined; static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ { "name": "id", "baseName": "id", "type": "string", "format": "" }, { "name": "name", "baseName": "name", "type": "string", "format": "" }, { "name": "variable_type", "baseName": "variable_type", "type": "VariableVariableTypeEnum", "format": "" }, { "name": "sensitive", "baseName": "sensitive", "type": "boolean", "format": "" }, { "name": "values", "baseName": "values", "type": "Array", "format": "" } ]; static getAttributeTypeMap() { return Variable.attributeTypeMap; } public constructor() { } } export type VariableVariableTypeEnum = "CONNECTION_PROPERTY" | "TABLE_MAPPING" | "CONNECTION_PROPERTY_PER_PRINCIPAL" | "FORMULA_VARIABLE" | "USER_PROPERTY" ;