Package com.mypurecloud.sdk.v2.model
Class Variable
java.lang.Object
com.mypurecloud.sdk.v2.model.Variable
- All Implemented Interfaces:
Serializable
Variable
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe scope that determines the variable's usage context within Guides runtime.static enumThe data type of the variable. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) The description of the variable used by Guides runtime for input/output handling.booleangetName()getScope()getType()inthashCode()listValues(Object listValues) The values configuration for List variables.listVariables(List<Variable> listVariables) The variables that the list result will be stored in.The name of the variable.scope(Variable.ScopeEnum scope) The scope that determines the variable's usage context within Guides runtime.voidsetDescription(String description) voidsetListValues(Object listValues) voidsetListVariables(List<Variable> listVariables) voidvoidsetScope(Variable.ScopeEnum scope) voidsetType(Variable.TypeEnum type) voidsetValidation(Object validation) toString()type(Variable.TypeEnum type) The data type of the variable.validation(Object validation) The validation configuration for the variable.
-
Constructor Details
-
Variable
public Variable() -
Variable
-
-
Method Details
-
name
The name of the variable. -
getName
-
setName
-
type
The data type of the variable. -
getType
-
setType
-
scope
The scope that determines the variable's usage context within Guides runtime. -
getScope
-
setScope
-
description
The description of the variable used by Guides runtime for input/output handling. -
getDescription
-
setDescription
-
validation
The validation configuration for the variable. Optional - if not present, no validation is applied. -
getValidation
-
setValidation
-
listValues
The values configuration for List variables. Only applicable when type is 'List'. -
getListValues
-
setListValues
-
listVariables
The variables that the list result will be stored in. Only applicable when type is 'List'. -
getListVariables
-
setListVariables
-
equals
-
hashCode
public int hashCode() -
toString
-