Record Class ProcessManagementService.ManualRequest
java.lang.Object
java.lang.Record
org.chenile.orchestrator.process.configuration.management.ProcessManagementService.ManualRequest
- Enclosing class:
ProcessManagementService
public static record ProcessManagementService.ManualRequest(String idempotencyKey, ProcessDto payload)
extends Record
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final StringThe field for theidempotencyKeyrecord component.private final ProcessDtoThe field for thepayloadrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionManualRequest(String idempotencyKey, ProcessDto payload) Creates an instance of aManualRequestrecord 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 theidempotencyKeyrecord component.payload()Returns the value of thepayloadrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
idempotencyKey
The field for theidempotencyKeyrecord component. -
payload
The field for thepayloadrecord component.
-
-
Constructor Details
-
ManualRequest
Creates an instance of aManualRequestrecord class.- Parameters:
idempotencyKey- the value for theidempotencyKeyrecord componentpayload- the value for thepayloadrecord component
-
-
Method Details
-
toString
-
hashCode
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
idempotencyKey
Returns the value of theidempotencyKeyrecord component.- Returns:
- the value of the
idempotencyKeyrecord component
-
payload
Returns the value of thepayloadrecord component.- Returns:
- the value of the
payloadrecord component
-
CHENILE