Package org.openapitools.client.model
Class VariableValueDto
- java.lang.Object
-
- org.openapitools.client.model.VariableValueDto
-
public class VariableValueDto extends Object
VariableValueDto
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERIALIZED_NAME_TYPEstatic StringSERIALIZED_NAME_VALUEstatic StringSERIALIZED_NAME_VALUE_INFO
-
Constructor Summary
Constructors Constructor Description VariableValueDto()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetType()The value type of the variable.ObjectgetValue()Can be any value - string, number, boolean, array or object.Map<String,Object>getValueInfo()A JSON object containing additional, value-type-dependent properties.inthashCode()VariableValueDtoputValueInfoItem(String key, Object valueInfoItem)voidsetType(String type)voidsetValue(Object value)voidsetValueInfo(Map<String,Object> valueInfo)StringtoString()VariableValueDtotype(String type)VariableValueDtovalue(Object value)VariableValueDtovalueInfo(Map<String,Object> valueInfo)
-
-
-
Field Detail
-
SERIALIZED_NAME_VALUE
public static final String SERIALIZED_NAME_VALUE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TYPE
public static final String SERIALIZED_NAME_TYPE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_VALUE_INFO
public static final String SERIALIZED_NAME_VALUE_INFO
- See Also:
- Constant Field Values
-
-
Method Detail
-
value
public VariableValueDto value(Object value)
-
getValue
public Object getValue()
Can be any value - string, number, boolean, array or object. **Note**: Not every endpoint supports every type.- Returns:
- value
-
setValue
public void setValue(Object value)
-
type
public VariableValueDto type(String type)
-
getType
public String getType()
The value type of the variable.- Returns:
- type
-
setType
public void setType(String type)
-
valueInfo
public VariableValueDto valueInfo(Map<String,Object> valueInfo)
-
putValueInfoItem
public VariableValueDto putValueInfoItem(String key, Object valueInfoItem)
-
getValueInfo
public Map<String,Object> getValueInfo()
A JSON object containing additional, value-type-dependent properties. For serialized variables of type Object, the following properties can be provided: * `objectTypeName`: A string representation of the object's type name. * `serializationDataFormat`: The serialization format used to store the variable. For serialized variables of type File, the following properties can be provided: * `filename`: The name of the file. This is not the variable name but the name that will be used when downloading the file again. * `mimetype`: The MIME type of the file that is being uploaded. * `encoding`: The encoding of the file that is being uploaded. The following property can be provided for all value types: * `transient`: Indicates whether the variable should be transient or not. See [documentation](https://docs.camunda.org/manual/7.18/user-guide/process-engine/variables#transient-variables) for more informations. (Not applicable for `decision-definition`, ` /process-instance/variables-async`, and `/migration/executeAsync` endpoints)- Returns:
- valueInfo
-
-