Package io.camunda.zeebe.gateway.rest
Record Class RequestMapper.CompleteUserTaskRequest
java.lang.Object
java.lang.Record
io.camunda.zeebe.gateway.rest.RequestMapper.CompleteUserTaskRequest
- Enclosing class:
RequestMapper
-
Constructor Summary
ConstructorsConstructorDescriptionCompleteUserTaskRequest(long userTaskKey, Map<String, Object> variables, String action) Creates an instance of aCompleteUserTaskRequestrecord class. -
Method Summary
Modifier and TypeMethodDescriptionaction()Returns the value of theactionrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.longReturns the value of theuserTaskKeyrecord component.Returns the value of thevariablesrecord component.
-
Constructor Details
-
CompleteUserTaskRequest
Creates an instance of aCompleteUserTaskRequestrecord class.- Parameters:
userTaskKey- the value for theuserTaskKeyrecord componentvariables- the value for thevariablesrecord componentaction- the value for theactionrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
userTaskKey
public long userTaskKey()Returns the value of theuserTaskKeyrecord component.- Returns:
- the value of the
userTaskKeyrecord component
-
variables
Returns the value of thevariablesrecord component.- Returns:
- the value of the
variablesrecord component
-
action
Returns the value of theactionrecord component.- Returns:
- the value of the
actionrecord component
-