Package io.camunda.zeebe.gateway.rest
Record Class RequestMapper.AssignUserTaskRequest
java.lang.Object
java.lang.Record
io.camunda.zeebe.gateway.rest.RequestMapper.AssignUserTaskRequest
- Enclosing class:
RequestMapper
-
Constructor Summary
ConstructorsConstructorDescriptionAssignUserTaskRequest(long userTaskKey, String assignee, String action, boolean allowOverride) Creates an instance of aAssignUserTaskRequestrecord class. -
Method Summary
Modifier and TypeMethodDescriptionaction()Returns the value of theactionrecord component.booleanReturns the value of theallowOverriderecord component.assignee()Returns the value of theassigneerecord 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.
-
Constructor Details
-
AssignUserTaskRequest
public AssignUserTaskRequest(long userTaskKey, String assignee, String action, boolean allowOverride) Creates an instance of aAssignUserTaskRequestrecord class.- Parameters:
userTaskKey- the value for theuserTaskKeyrecord componentassignee- the value for theassigneerecord componentaction- the value for theactionrecord componentallowOverride- the value for theallowOverriderecord 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
-
assignee
Returns the value of theassigneerecord component.- Returns:
- the value of the
assigneerecord component
-
action
Returns the value of theactionrecord component.- Returns:
- the value of the
actionrecord component
-
allowOverride
public boolean allowOverride()Returns the value of theallowOverriderecord component.- Returns:
- the value of the
allowOverriderecord component
-