Package io.camunda.zeebe.gateway.rest
Record Class RequestMapper.UpdateUserTaskRequest
java.lang.Object
java.lang.Record
io.camunda.zeebe.gateway.rest.RequestMapper.UpdateUserTaskRequest
- Enclosing class:
RequestMapper
public static record RequestMapper.UpdateUserTaskRequest(long userTaskKey, UserTaskRecord changeset, String action)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionUpdateUserTaskRequest(long userTaskKey, UserTaskRecord changeset, String action) Creates an instance of aUpdateUserTaskRequestrecord class. -
Method Summary
Modifier and TypeMethodDescriptionaction()Returns the value of theactionrecord component.Returns the value of thechangesetrecord 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
-
UpdateUserTaskRequest
Creates an instance of aUpdateUserTaskRequestrecord class.- Parameters:
userTaskKey- the value for theuserTaskKeyrecord componentchangeset- the value for thechangesetrecord 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
-
changeset
Returns the value of thechangesetrecord component.- Returns:
- the value of the
changesetrecord component
-
action
Returns the value of theactionrecord component.- Returns:
- the value of the
actionrecord component
-