Class LnrpcFailure

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

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

  • Constructor Details

    • LnrpcFailure

      public LnrpcFailure()
  • Method Details

    • code

      public LnrpcFailure code(FailureFailureCode code)
    • getCode

      @Nullable public FailureFailureCode getCode()
      Get code
      Returns:
      code
    • setCode

      public void setCode(FailureFailureCode code)
    • channelUpdate

      public LnrpcFailure channelUpdate(LnrpcChannelUpdate channelUpdate)
    • getChannelUpdate

      @Nullable public LnrpcChannelUpdate getChannelUpdate()
      Get channelUpdate
      Returns:
      channelUpdate
    • setChannelUpdate

      public void setChannelUpdate(LnrpcChannelUpdate channelUpdate)
    • htlcMsat

      public LnrpcFailure htlcMsat(String htlcMsat)
    • getHtlcMsat

      @Nullable public String getHtlcMsat()
      A failure type-dependent htlc value.
      Returns:
      htlcMsat
    • setHtlcMsat

      public void setHtlcMsat(String htlcMsat)
    • onionSha256

      public LnrpcFailure onionSha256(byte[] onionSha256)
    • getOnionSha256

      @Nullable public byte[] getOnionSha256()
      The sha256 sum of the onion payload.
      Returns:
      onionSha256
    • setOnionSha256

      public void setOnionSha256(byte[] onionSha256)
    • cltvExpiry

      public LnrpcFailure cltvExpiry(Long cltvExpiry)
    • getCltvExpiry

      @Nullable public Long getCltvExpiry()
      A failure type-dependent cltv expiry value.
      Returns:
      cltvExpiry
    • setCltvExpiry

      public void setCltvExpiry(Long cltvExpiry)
    • flags

      public LnrpcFailure flags(Long flags)
    • getFlags

      @Nullable public Long getFlags()
      A failure type-dependent flags value.
      Returns:
      flags
    • setFlags

      public void setFlags(Long flags)
    • failureSourceIndex

      public LnrpcFailure failureSourceIndex(Long failureSourceIndex)
    • getFailureSourceIndex

      @Nullable public Long getFailureSourceIndex()
      The position in the path of the intermediate or final node that generated the failure message. Position zero is the sender node.
      Returns:
      failureSourceIndex
    • setFailureSourceIndex

      public void setFailureSourceIndex(Long failureSourceIndex)
    • height

      public LnrpcFailure height(Long height)
    • getHeight

      @Nullable public Long getHeight()
      A failure type-dependent block height.
      Returns:
      height
    • setHeight

      public void setHeight(Long height)
    • 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