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 Details

  • Constructor Details

    • InlineObject

      public InlineObject()
  • Method Details

    • amtMsat

      public InlineObject amtMsat(String amtMsat)
    • getAmtMsat

      @Nullable public String getAmtMsat()
      The amount to send expressed in millisatoshis. The fields amt and amt_msat are mutually exclusive.
      Returns:
      amtMsat
    • setAmtMsat

      public void setAmtMsat(String amtMsat)
    • finalCltvDelta

      public InlineObject finalCltvDelta(Integer finalCltvDelta)
    • getFinalCltvDelta

      @Nullable public Integer 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

      public void setFinalCltvDelta(Integer finalCltvDelta)
    • feeLimit

      public InlineObject feeLimit(LnrpcFeeLimit feeLimit)
    • getFeeLimit

      @Nullable public LnrpcFeeLimit getFeeLimit()
      Get feeLimit
      Returns:
      feeLimit
    • setFeeLimit

      public void setFeeLimit(LnrpcFeeLimit feeLimit)
    • ignoredNodes

      public InlineObject ignoredNodes(List<byte[]> ignoredNodes)
    • addIgnoredNodesItem

      public InlineObject addIgnoredNodesItem(byte[] ignoredNodesItem)
    • getIgnoredNodes

      @Nullable public List<byte[]> getIgnoredNodes()
      A list of nodes to ignore during path finding. When using REST, these fields must be encoded as base64.
      Returns:
      ignoredNodes
    • setIgnoredNodes

      public void setIgnoredNodes(List<byte[]> ignoredNodes)
    • ignoredEdges

      public InlineObject ignoredEdges(List<LnrpcEdgeLocator> ignoredEdges)
    • addIgnoredEdgesItem

      public InlineObject addIgnoredEdgesItem(LnrpcEdgeLocator ignoredEdgesItem)
    • getIgnoredEdges

      @Nullable public List<LnrpcEdgeLocator> getIgnoredEdges()
      Deprecated. A list of edges to ignore during path finding.
      Returns:
      ignoredEdges
    • setIgnoredEdges

      public void setIgnoredEdges(List<LnrpcEdgeLocator> ignoredEdges)
    • sourcePubKey

      public InlineObject sourcePubKey(String sourcePubKey)
    • getSourcePubKey

      @Nullable public String getSourcePubKey()
      The source node where the request route should originated from. If empty, self is assumed.
      Returns:
      sourcePubKey
    • setSourcePubKey

      public void setSourcePubKey(String sourcePubKey)
    • useMissionControl

      public InlineObject useMissionControl(Boolean useMissionControl)
    • getUseMissionControl

      @Nullable public Boolean getUseMissionControl()
      If set to true, edge probabilities from mission control will be used to get the optimal route.
      Returns:
      useMissionControl
    • setUseMissionControl

      public void setUseMissionControl(Boolean useMissionControl)
    • ignoredPairs

      public InlineObject ignoredPairs(List<LnrpcNodePair> ignoredPairs)
    • addIgnoredPairsItem

      public InlineObject addIgnoredPairsItem(LnrpcNodePair ignoredPairsItem)
    • getIgnoredPairs

      @Nullable public List<LnrpcNodePair> getIgnoredPairs()
      A list of directed node pairs that will be ignored during path finding.
      Returns:
      ignoredPairs
    • setIgnoredPairs

      public void setIgnoredPairs(List<LnrpcNodePair> ignoredPairs)
    • cltvLimit

      public InlineObject cltvLimit(Long cltvLimit)
    • getCltvLimit

      @Nullable public Long 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

      public void setCltvLimit(Long cltvLimit)
    • destCustomRecords

      public InlineObject destCustomRecords(Map<String,byte[]> destCustomRecords)
    • putDestCustomRecordsItem

      public InlineObject putDestCustomRecordsItem(String key, byte[] destCustomRecordsItem)
    • getDestCustomRecords

      @Nullable public Map<String,byte[]> 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

      public void setDestCustomRecords(Map<String,byte[]> destCustomRecords)
    • outgoingChanId

      public InlineObject outgoingChanId(String outgoingChanId)
    • getOutgoingChanId

      @Nullable public String 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

      public void setOutgoingChanId(String outgoingChanId)
    • lastHopPubkey

      public InlineObject lastHopPubkey(byte[] 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

      public InlineObject routeHints(List<LnrpcRouteHint> routeHints)
    • addRouteHintsItem

      public InlineObject addRouteHintsItem(LnrpcRouteHint routeHintsItem)
    • getRouteHints

      @Nullable public List<LnrpcRouteHint> getRouteHints()
      Optional route hints to reach the destination through private channels.
      Returns:
      routeHints
    • setRouteHints

      public void setRouteHints(List<LnrpcRouteHint> routeHints)
    • destFeatures

      public InlineObject destFeatures(List<LnrpcFeatureBit> destFeatures)
    • addDestFeaturesItem

      public InlineObject addDestFeaturesItem(LnrpcFeatureBit destFeaturesItem)
    • getDestFeatures

      @Nullable public List<LnrpcFeatureBit> 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

      public void setDestFeatures(List<LnrpcFeatureBit> destFeatures)
    • timePref

      public InlineObject timePref(Double timePref)
    • getTimePref

      @Nullable public Double 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

      public void setTimePref(Double timePref)
    • 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