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
- Optional data to sign. Encoded with `base64`. Presents when `message` is unsigned. Can be used for externalmessage signing. Is this case you need to sing this data andproduce signed message using `abi.attach_signature`.
- Enclosing class:
Abi
-
Constructor Summary
ConstructorsConstructorDescriptionResultOfEncodeMessageBody
(String body, String dataToSign) Creates an instance of aResultOfEncodeMessageBody
record class. -
Method Summary
Modifier and TypeMethodDescriptionbody()
Returns the value of thebody
record component.Returns the value of thedataToSign
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
ResultOfEncodeMessageBody
Creates an instance of aResultOfEncodeMessageBody
record class.- Parameters:
body
- the value for thebody
record componentdataToSign
- the value for thedataToSign
record 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. All components in this record class are compared withObjects::equals(Object,Object)
. -
body
Returns the value of thebody
record component.- Returns:
- the value of the
body
record component
-
dataToSign
Returns the value of thedataToSign
record component.- Returns:
- the value of the
dataToSign
record component
-