Package io.camunda.service
Record Class ResourceServices.ResourceDeletionRequest
java.lang.Object
java.lang.Record
io.camunda.service.ResourceServices.ResourceDeletionRequest
- Enclosing class:
ResourceServices
-
Constructor Summary
ConstructorsConstructorDescriptionResourceDeletionRequest(long resourceKey, Long operationReference) Creates an instance of aResourceDeletionRequestrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theoperationReferencerecord component.longReturns the value of theresourceKeyrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ResourceDeletionRequest
Creates an instance of aResourceDeletionRequestrecord class.- Parameters:
resourceKey- the value for theresourceKeyrecord componentoperationReference- the value for theoperationReferencerecord 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 '=='. -
resourceKey
public long resourceKey()Returns the value of theresourceKeyrecord component.- Returns:
- the value of the
resourceKeyrecord component
-
operationReference
Returns the value of theoperationReferencerecord component.- Returns:
- the value of the
operationReferencerecord component
-