Package net.osslabz.lnd.dto
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanEnd time is the end point of the forwarding history request.Index offset is the offset in the time series to start at.The max number of events to return in the response to this query.Informs the server if the peer alias should be looked up for each forwarding event.Start time is the starting point of the forwarding history request.inthashCode()indexOffset(Long indexOffset) numMaxEvents(Long numMaxEvents) peerAliasLookup(Boolean peerAliasLookup) voidsetEndTime(String endTime) voidsetIndexOffset(Long indexOffset) voidsetNumMaxEvents(Long numMaxEvents) voidsetPeerAliasLookup(Boolean peerAliasLookup) voidsetStartTime(String startTime) toString()
-
Field Details
-
SERIALIZED_NAME_START_TIME
- See Also:
-
SERIALIZED_NAME_END_TIME
- See Also:
-
SERIALIZED_NAME_INDEX_OFFSET
- See Also:
-
SERIALIZED_NAME_NUM_MAX_EVENTS
- See Also:
-
SERIALIZED_NAME_PEER_ALIAS_LOOKUP
- See Also:
-
-
Constructor Details
-
LnrpcForwardingHistoryRequest
public LnrpcForwardingHistoryRequest()
-
-
Method Details
-
startTime
-
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
-
endTime
-
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
-
indexOffset
-
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
-
numMaxEvents
-
getNumMaxEvents
The max number of events to return in the response to this query.- Returns:
- numMaxEvents
-
setNumMaxEvents
-
peerAliasLookup
-
getPeerAliasLookup
Informs the server if the peer alias should be looked up for each forwarding event.- Returns:
- peerAliasLookup
-
setPeerAliasLookup
-
equals
-
hashCode
public int hashCode() -
toString
-