Class LnrpcSendCustomMessageRequest

java.lang.Object
net.osslabz.lnd.dto.LnrpcSendCustomMessageRequest

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-06-07T12:03:34.958542131Z[Etc/UTC]") public class LnrpcSendCustomMessageRequest extends Object
LnrpcSendCustomMessageRequest
  • Field Details

  • Constructor Details

    • LnrpcSendCustomMessageRequest

      public LnrpcSendCustomMessageRequest()
  • Method Details

    • peer

      public LnrpcSendCustomMessageRequest peer(byte[] peer)
    • getPeer

      @Nullable public byte[] getPeer()
      Get peer
      Returns:
      peer
    • setPeer

      public void setPeer(byte[] peer)
    • type

      public LnrpcSendCustomMessageRequest type(Long type)
    • getType

      @Nullable public Long getType()
      Message type. This value needs to be in the custom range (>= 32768). To send a type < custom range, lnd needs to be compiled with the `dev` build tag, and the message type to override should be specified in lnd's experimental protocol configuration.
      Returns:
      type
    • setType

      public void setType(Long type)
    • data

      public LnrpcSendCustomMessageRequest data(byte[] data)
    • getData

      @Nullable public byte[] getData()
      Raw message data.
      Returns:
      data
    • setData

      public void setData(byte[] data)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object