Class LnrpcForwardingHistoryRequest

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

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

  • Constructor Details

    • LnrpcForwardingHistoryRequest

      public LnrpcForwardingHistoryRequest()
  • Method Details

    • startTime

      public LnrpcForwardingHistoryRequest startTime(String startTime)
    • getStartTime

      @Nullable public String getStartTime()
      Start time is the starting point of the forwarding history request. All records beyond this point will be included, respecting the end time, and the index offset.
      Returns:
      startTime
    • setStartTime

      public void setStartTime(String startTime)
    • endTime

      public LnrpcForwardingHistoryRequest endTime(String endTime)
    • getEndTime

      @Nullable public String getEndTime()
      End time is the end point of the forwarding history request. The response will carry at most 50k records between the start time and the end time. The index offset can be used to implement pagination.
      Returns:
      endTime
    • setEndTime

      public void setEndTime(String endTime)
    • indexOffset

      public LnrpcForwardingHistoryRequest indexOffset(Long indexOffset)
    • getIndexOffset

      @Nullable public Long getIndexOffset()
      Index offset is the offset in the time series to start at. As each response can only contain 50k records, callers can use this to skip around within a packed time series.
      Returns:
      indexOffset
    • setIndexOffset

      public void setIndexOffset(Long indexOffset)
    • numMaxEvents

      public LnrpcForwardingHistoryRequest numMaxEvents(Long numMaxEvents)
    • getNumMaxEvents

      @Nullable public Long getNumMaxEvents()
      The max number of events to return in the response to this query.
      Returns:
      numMaxEvents
    • setNumMaxEvents

      public void setNumMaxEvents(Long numMaxEvents)
    • peerAliasLookup

      public LnrpcForwardingHistoryRequest peerAliasLookup(Boolean peerAliasLookup)
    • getPeerAliasLookup

      @Nullable public Boolean getPeerAliasLookup()
      Informs the server if the peer alias should be looked up for each forwarding event.
      Returns:
      peerAliasLookup
    • setPeerAliasLookup

      public void setPeerAliasLookup(Boolean peerAliasLookup)
    • 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