java.lang.Object
java.lang.Record
tech.deplant.java4ever.binding.gql.RempReceipt
public record RempReceipt(RempReceiptKind kind, String messageId, Float timestamp, String json)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionRempReceipt(RempReceiptKind kind, String messageId, Float timestamp, String json) Creates an instance of aRempReceiptrecord 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.json()Returns the value of thejsonrecord component.kind()Returns the value of thekindrecord component.Returns the value of themessageIdrecord component.Returns the value of thetimestamprecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
RempReceipt
Creates an instance of aRempReceiptrecord class.- Parameters:
kind- the value for thekindrecord componentmessageId- the value for themessageIdrecord componenttimestamp- the value for thetimestamprecord componentjson- the value for thejsonrecord 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). -
kind
Returns the value of thekindrecord component.- Returns:
- the value of the
kindrecord component
-
messageId
Returns the value of themessageIdrecord component.- Returns:
- the value of the
messageIdrecord component
-
timestamp
Returns the value of thetimestamprecord component.- Returns:
- the value of the
timestamprecord component
-
json
Returns the value of thejsonrecord component.- Returns:
- the value of the
jsonrecord component
-