Package net.osslabz.lnd.dto
Class InlineObject
java.lang.Object
net.osslabz.lnd.dto.InlineObject
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-06-07T12:03:34.958542131Z[Etc/UTC]")
public class InlineObject
extends Object
InlineObject
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddDestFeaturesItem(LnrpcFeatureBit destFeaturesItem) addIgnoredEdgesItem(LnrpcEdgeLocator ignoredEdgesItem) addIgnoredNodesItem(byte[] ignoredNodesItem) addIgnoredPairsItem(LnrpcNodePair ignoredPairsItem) addRouteHintsItem(LnrpcRouteHint routeHintsItem) destCustomRecords(Map<String, byte[]> destCustomRecords) destFeatures(List<LnrpcFeatureBit> destFeatures) booleanfeeLimit(LnrpcFeeLimit feeLimit) finalCltvDelta(Integer finalCltvDelta) The amount to send expressed in millisatoshis.An optional maximum total time lock for the route.An optional field that can be used to pass an arbitrary set of TLV records to a peer which understands the new records.Features assumed to be supported by the final node.Get feeLimitAn optional CLTV delta from the current height that should be used for the timelock of the final hop.Deprecated.List<byte[]>A list of nodes to ignore during path finding.A list of directed node pairs that will be ignored during path finding.byte[]The pubkey of the last hop of the route.The channel id of the channel that must be taken to the first hop.Optional route hints to reach the destination through private channels.The source node where the request route should originated from.The time preference for this payment.If set to true, edge probabilities from mission control will be used to get the optimal route.inthashCode()ignoredEdges(List<LnrpcEdgeLocator> ignoredEdges) ignoredNodes(List<byte[]> ignoredNodes) ignoredPairs(List<LnrpcNodePair> ignoredPairs) lastHopPubkey(byte[] lastHopPubkey) outgoingChanId(String outgoingChanId) putDestCustomRecordsItem(String key, byte[] destCustomRecordsItem) routeHints(List<LnrpcRouteHint> routeHints) voidsetAmtMsat(String amtMsat) voidsetCltvLimit(Long cltvLimit) voidsetDestCustomRecords(Map<String, byte[]> destCustomRecords) voidsetDestFeatures(List<LnrpcFeatureBit> destFeatures) voidsetFeeLimit(LnrpcFeeLimit feeLimit) voidsetFinalCltvDelta(Integer finalCltvDelta) voidsetIgnoredEdges(List<LnrpcEdgeLocator> ignoredEdges) voidsetIgnoredNodes(List<byte[]> ignoredNodes) voidsetIgnoredPairs(List<LnrpcNodePair> ignoredPairs) voidsetLastHopPubkey(byte[] lastHopPubkey) voidsetOutgoingChanId(String outgoingChanId) voidsetRouteHints(List<LnrpcRouteHint> routeHints) voidsetSourcePubKey(String sourcePubKey) voidsetTimePref(Double timePref) voidsetUseMissionControl(Boolean useMissionControl) sourcePubKey(String sourcePubKey) toString()useMissionControl(Boolean useMissionControl)
-
Field Details
-
SERIALIZED_NAME_AMT_MSAT
- See Also:
-
SERIALIZED_NAME_FINAL_CLTV_DELTA
- See Also:
-
SERIALIZED_NAME_FEE_LIMIT
- See Also:
-
SERIALIZED_NAME_IGNORED_NODES
- See Also:
-
SERIALIZED_NAME_IGNORED_EDGES
- See Also:
-
SERIALIZED_NAME_SOURCE_PUB_KEY
- See Also:
-
SERIALIZED_NAME_USE_MISSION_CONTROL
- See Also:
-
SERIALIZED_NAME_IGNORED_PAIRS
- See Also:
-
SERIALIZED_NAME_CLTV_LIMIT
- See Also:
-
SERIALIZED_NAME_DEST_CUSTOM_RECORDS
- See Also:
-
SERIALIZED_NAME_OUTGOING_CHAN_ID
- See Also:
-
SERIALIZED_NAME_LAST_HOP_PUBKEY
- See Also:
-
SERIALIZED_NAME_ROUTE_HINTS
- See Also:
-
SERIALIZED_NAME_DEST_FEATURES
- See Also:
-
SERIALIZED_NAME_TIME_PREF
- See Also:
-
-
Constructor Details
-
InlineObject
public InlineObject()
-
-
Method Details
-
amtMsat
-
getAmtMsat
The amount to send expressed in millisatoshis. The fields amt and amt_msat are mutually exclusive.- Returns:
- amtMsat
-
setAmtMsat
-
finalCltvDelta
-
getFinalCltvDelta
An optional CLTV delta from the current height that should be used for the timelock of the final hop. Note that unlike SendPayment, QueryRoutes does not add any additional block padding on top of final_ctlv_delta. This padding of a few blocks needs to be added manually or otherwise failures may happen when a block comes in while the payment is in flight.- Returns:
- finalCltvDelta
-
setFinalCltvDelta
-
feeLimit
-
getFeeLimit
Get feeLimit- Returns:
- feeLimit
-
setFeeLimit
-
ignoredNodes
-
addIgnoredNodesItem
-
getIgnoredNodes
A list of nodes to ignore during path finding. When using REST, these fields must be encoded as base64.- Returns:
- ignoredNodes
-
setIgnoredNodes
-
ignoredEdges
-
addIgnoredEdgesItem
-
getIgnoredEdges
Deprecated. A list of edges to ignore during path finding.- Returns:
- ignoredEdges
-
setIgnoredEdges
-
sourcePubKey
-
getSourcePubKey
The source node where the request route should originated from. If empty, self is assumed.- Returns:
- sourcePubKey
-
setSourcePubKey
-
useMissionControl
-
getUseMissionControl
If set to true, edge probabilities from mission control will be used to get the optimal route.- Returns:
- useMissionControl
-
setUseMissionControl
-
ignoredPairs
-
addIgnoredPairsItem
-
getIgnoredPairs
A list of directed node pairs that will be ignored during path finding.- Returns:
- ignoredPairs
-
setIgnoredPairs
-
cltvLimit
-
getCltvLimit
An optional maximum total time lock for the route. If the source is empty or ourselves, this should not exceed lnd's `--max-cltv-expiry` setting. If zero, then the value of `--max-cltv-expiry` is used as the limit.- Returns:
- cltvLimit
-
setCltvLimit
-
destCustomRecords
-
putDestCustomRecordsItem
-
getDestCustomRecords
An optional field that can be used to pass an arbitrary set of TLV records to a peer which understands the new records. This can be used to pass application specific data during the payment attempt. If the destination does not support the specified records, an error will be returned. Record types are required to be in the custom range >= 65536. When using REST, the values must be encoded as base64.- Returns:
- destCustomRecords
-
setDestCustomRecords
-
outgoingChanId
-
getOutgoingChanId
The channel id of the channel that must be taken to the first hop. If zero, any channel may be used.- Returns:
- outgoingChanId
-
setOutgoingChanId
-
lastHopPubkey
-
getLastHopPubkey
@Nullable public byte[] getLastHopPubkey()The pubkey of the last hop of the route. If empty, any hop may be used.- Returns:
- lastHopPubkey
-
setLastHopPubkey
public void setLastHopPubkey(byte[] lastHopPubkey) -
routeHints
-
addRouteHintsItem
-
getRouteHints
Optional route hints to reach the destination through private channels.- Returns:
- routeHints
-
setRouteHints
-
destFeatures
-
addDestFeaturesItem
-
getDestFeatures
Features assumed to be supported by the final node. All transitive feature dependencies must also be set properly. For a given feature bit pair, either optional or remote may be set, but not both. If this field is nil or empty, the router will try to load destination features from the graph as a fallback.- Returns:
- destFeatures
-
setDestFeatures
-
timePref
-
getTimePref
The time preference for this payment. Set to -1 to optimize for fees only, to 1 to optimize for reliability only or a value inbetween for a mix.- Returns:
- timePref
-
setTimePref
-
equals
-
hashCode
public int hashCode() -
toString
-