Record Class Net.MessageNode

java.lang.Object
java.lang.Record
tech.deplant.java4ever.binding.Net.MessageNode
Record Components:
id - Message id.
srcTransactionId - This field is missing for an external inbound messages. Source transaction id.
dstTransactionId - This field is missing for an external outbound messages. Destination transaction id.
src - Source address.
dst - Destination address.
value - Transferred tokens value.
bounce - Bounce flag.
decodedBody - Library tries to decode message body using provided `params.abi_registry`. This field will be missing if none of the provided abi can be used to decode. Decoded body.
Enclosing class:
Net

public static record Net.MessageNode(String id, String srcTransactionId, String dstTransactionId, String src, String dst, String value, Boolean bounce, Abi.DecodedMessageBody decodedBody) extends Record
  • Constructor Details

    • MessageNode

      public MessageNode(String id, String srcTransactionId, String dstTransactionId, String src, String dst, String value, Boolean bounce, Abi.DecodedMessageBody decodedBody)
      Creates an instance of a MessageNode record class.
      Parameters:
      id - the value for the id record component
      srcTransactionId - the value for the srcTransactionId record component
      dstTransactionId - the value for the dstTransactionId record component
      src - the value for the src record component
      dst - the value for the dst record component
      value - the value for the value record component
      bounce - the value for the bounce record component
      decodedBody - the value for the decodedBody record component
  • Method Details

    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • id

      public String id()
      Returns the value of the id record component.
      Returns:
      the value of the id record component
    • srcTransactionId

      public String srcTransactionId()
      Returns the value of the srcTransactionId record component.
      Returns:
      the value of the srcTransactionId record component
    • dstTransactionId

      public String dstTransactionId()
      Returns the value of the dstTransactionId record component.
      Returns:
      the value of the dstTransactionId record component
    • src

      public String src()
      Returns the value of the src record component.
      Returns:
      the value of the src record component
    • dst

      public String dst()
      Returns the value of the dst record component.
      Returns:
      the value of the dst record component
    • value

      public String value()
      Returns the value of the value record component.
      Returns:
      the value of the value record component
    • bounce

      public Boolean bounce()
      Returns the value of the bounce record component.
      Returns:
      the value of the bounce record component
    • decodedBody

      public Abi.DecodedMessageBody decodedBody()
      Returns the value of the decodedBody record component.
      Returns:
      the value of the decodedBody record component