Package net.osslabz.lnd.dto
Class LnrpcNodeInfo
java.lang.Object
net.osslabz.lnd.dto.LnrpcNodeInfo
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-06-07T12:03:34.958542131Z[Etc/UTC]")
public class LnrpcNodeInfo
extends Object
LnrpcNodeInfo
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddChannelsItem(LnrpcChannelEdge channelsItem) channels(List<LnrpcChannelEdge> channels) booleanA list of all public channels for the node.getNode()Get nodeThe total number of channels for the node.The sum of all channels capacity for the node, denominated in satoshis.inthashCode()node(LnrpcLightningNode node) numChannels(Long numChannels) voidsetChannels(List<LnrpcChannelEdge> channels) voidsetNode(LnrpcLightningNode node) voidsetNumChannels(Long numChannels) voidsetTotalCapacity(String totalCapacity) toString()totalCapacity(String totalCapacity)
-
Field Details
-
SERIALIZED_NAME_NODE
- See Also:
-
SERIALIZED_NAME_NUM_CHANNELS
- See Also:
-
SERIALIZED_NAME_TOTAL_CAPACITY
- See Also:
-
SERIALIZED_NAME_CHANNELS
- See Also:
-
-
Constructor Details
-
LnrpcNodeInfo
public LnrpcNodeInfo()
-
-
Method Details
-
node
-
getNode
Get node- Returns:
- node
-
setNode
-
numChannels
-
getNumChannels
The total number of channels for the node.- Returns:
- numChannels
-
setNumChannels
-
totalCapacity
-
getTotalCapacity
The sum of all channels capacity for the node, denominated in satoshis.- Returns:
- totalCapacity
-
setTotalCapacity
-
channels
-
addChannelsItem
-
getChannels
A list of all public channels for the node.- Returns:
- channels
-
setChannels
-
equals
-
hashCode
public int hashCode() -
toString
-