Package org.openapitools.client.model
Class MessageCorrelationResultWithVariableDto
- java.lang.Object
-
- org.openapitools.client.model.MessageCorrelationResultWithVariableDto
-
public class MessageCorrelationResultWithVariableDto extends Object
The `processInstance` property only has a value if the resultType is set to `ProcessDefinition`. The processInstance with the properties as described in the [get single instance](https://docs.camunda.org/manual/7.18/reference/rest/process-instance/get/) method. The `execution` property only has a value if the resultType is set to `Execution`. The execution with the properties as described in the [get single execution](https://docs.camunda.org/manual/7.18/reference/rest/execution/get/) method.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMessageCorrelationResultWithVariableDto.ResultTypeEnumIndicates if the message was correlated to a message start event or an intermediate message catching event.
-
Field Summary
Fields Modifier and Type Field Description static StringSERIALIZED_NAME_EXECUTIONstatic StringSERIALIZED_NAME_PROCESS_INSTANCEstatic StringSERIALIZED_NAME_RESULT_TYPEstatic StringSERIALIZED_NAME_VARIABLES
-
Constructor Summary
Constructors Constructor Description MessageCorrelationResultWithVariableDto()
-
Method Summary
-
-
-
Field Detail
-
SERIALIZED_NAME_RESULT_TYPE
public static final String SERIALIZED_NAME_RESULT_TYPE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PROCESS_INSTANCE
public static final String SERIALIZED_NAME_PROCESS_INSTANCE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_EXECUTION
public static final String SERIALIZED_NAME_EXECUTION
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_VARIABLES
public static final String SERIALIZED_NAME_VARIABLES
- See Also:
- Constant Field Values
-
-
Method Detail
-
resultType
public MessageCorrelationResultWithVariableDto resultType(MessageCorrelationResultWithVariableDto.ResultTypeEnum resultType)
-
getResultType
public MessageCorrelationResultWithVariableDto.ResultTypeEnum getResultType()
Indicates if the message was correlated to a message start event or an intermediate message catching event. In the first case, the resultType is `ProcessDefinition` and otherwise `Execution`.- Returns:
- resultType
-
setResultType
public void setResultType(MessageCorrelationResultWithVariableDto.ResultTypeEnum resultType)
-
processInstance
public MessageCorrelationResultWithVariableDto processInstance(ProcessInstanceDto processInstance)
-
getProcessInstance
public ProcessInstanceDto getProcessInstance()
Get processInstance- Returns:
- processInstance
-
setProcessInstance
public void setProcessInstance(ProcessInstanceDto processInstance)
-
execution
public MessageCorrelationResultWithVariableDto execution(ExecutionDto execution)
-
getExecution
public ExecutionDto getExecution()
Get execution- Returns:
- execution
-
setExecution
public void setExecution(ExecutionDto execution)
-
variables
public MessageCorrelationResultWithVariableDto variables(Map<String,VariableValueDto> variables)
-
putVariablesItem
public MessageCorrelationResultWithVariableDto putVariablesItem(String key, VariableValueDto variablesItem)
-
getVariables
public Map<String,VariableValueDto> getVariables()
This property is returned if the `variablesInResultEnabled` is set to `true`. Contains a list of the process variables.- Returns:
- variables
-
setVariables
public void setVariables(Map<String,VariableValueDto> variables)
-
-