/** * 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'; /** * Input for defining the scope of variable value assignments in batch update operations */ export class VariableUpdateScopeInput { /** * The unique name of the org */ 'org_identifier': string; /** * Type of principal to which the variable value applies. Use USER to assign values to a specific user, or USER_GROUP to assign values to a group. */ 'principal_type'?: VariableUpdateScopeInputPrincipalTypeEnum | null; /** * Unique ID or name of the principal */ 'principal_identifier'?: string | null; /** * Unique ID or name of the model. Required for FORMULA_VARIABLE type to scope the variable value to a specific worksheet. */ 'model_identifier'?: string | null; /** * The priority level for this scope assignment, used for conflict resolution when multiple values match. Higher priority values (larger numbers) take precedence. */ 'priority'?: number | null; static readonly discriminator: string | undefined = undefined; static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ { "name": "org_identifier", "baseName": "org_identifier", "type": "string", "format": "" }, { "name": "principal_type", "baseName": "principal_type", "type": "VariableUpdateScopeInputPrincipalTypeEnum", "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 VariableUpdateScopeInput.attributeTypeMap; } public constructor() { } } export type VariableUpdateScopeInputPrincipalTypeEnum = "USER" | "USER_GROUP" ;