Module java4ever.binding
Package tech.deplant.java4ever.binding
Record Class Abi.ResultOfEncodeMessageBody
java.lang.Object
java.lang.Record
tech.deplant.java4ever.binding.Abi.ResultOfEncodeMessageBody
- Record Components:
body- Message body BOC encoded with `base64`.dataToSign- Encoded with `base64`. Presents when `message` is unsigned. Can be used for external message signing. Is this case you need to sing this data and produce signed message using `abi.attach_signature`. Optional data to sign.
- Enclosing class:
Abi
-
Constructor Summary
ConstructorsConstructorDescriptionResultOfEncodeMessageBody(String body, String dataToSign) Creates an instance of aResultOfEncodeMessageBodyrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbody()Returns the value of thebodyrecord component.Returns the value of thedataToSignrecord 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.
-
Constructor Details
-
ResultOfEncodeMessageBody
Creates an instance of aResultOfEncodeMessageBodyrecord class.- Parameters:
body- the value for thebodyrecord componentdataToSign- the value for thedataToSignrecord 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). -
body
-
dataToSign
Returns the value of thedataToSignrecord component.- Returns:
- the value of the
dataToSignrecord component
-