/** * 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 VariableValue { /** * The value of the variable */ 'value'?: string | null; /** * The value of the variable if it is a list type */ 'value_list'?: Array | null; /** * The unique name of the org */ 'org_identifier': string; /** * Type of principal to which this value applies. Use USER to assign the value to a specific user, or USER_GROUP to assign it to a group. */ 'principal_type'?: VariableValuePrincipalTypeEnum | null; /** * Unique ID or name of the principal */ 'principal_identifier'?: string | null; /** * Unique ID of the model Version: 26.3.0.cl or later */ 'model_identifier'?: string | null; /** * The priority assigned to this value. If there are 2 matching values, the one with the higher priority will be picked. */ 'priority'?: number | null; static readonly discriminator: string | undefined = undefined; static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ { "name": "value", "baseName": "value", "type": "string", "format": "" }, { "name": "value_list", "baseName": "value_list", "type": "Array", "format": "" }, { "name": "org_identifier", "baseName": "org_identifier", "type": "string", "format": "" }, { "name": "principal_type", "baseName": "principal_type", "type": "VariableValuePrincipalTypeEnum", "format": "" }, { "name": "principal_identifier", "baseName": "principal_identifier", "type": "string", "format": "" }, { "name": "model_identifier", "baseName": "model_identifier", "type": "string", "format": "" }, { "name": "priority", "baseName": "priority", "type": "number", "format": "int32" } ]; static getAttributeTypeMap() { return VariableValue.attributeTypeMap; } public constructor() { } } export type VariableValuePrincipalTypeEnum = "USER" | "USER_GROUP" ;