Package net.osslabz.lnd.dto
Class LnrpcLightningNode
java.lang.Object
net.osslabz.lnd.dto.LnrpcLightningNode
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-06-07T12:03:34.958542131Z[Etc/UTC]")
public class LnrpcLightningNode
extends Object
An individual vertex/node within the channel graph. A node is connected to other nodes by one or more channel edges emanating from it. As the graph is directed, a node will also have an incoming edge attached to it for each outgoing edge.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAddressesItem(LnrpcNodeAddress addressesItem) addresses(List<LnrpcNodeAddress> addresses) customRecords(Map<String, byte[]> customRecords) booleanfeatures(Map<String, LnrpcFeature> features) Get addressesgetAlias()Get aliasgetColor()Get colorCustom node announcement tlv records.Get featuresGet lastUpdateGet pubKeyinthashCode()lastUpdate(Long lastUpdate) putCustomRecordsItem(String key, byte[] customRecordsItem) putFeaturesItem(String key, LnrpcFeature featuresItem) voidsetAddresses(List<LnrpcNodeAddress> addresses) voidvoidvoidsetCustomRecords(Map<String, byte[]> customRecords) voidsetFeatures(Map<String, LnrpcFeature> features) voidsetLastUpdate(Long lastUpdate) voidtoString()
-
Field Details
-
SERIALIZED_NAME_LAST_UPDATE
- See Also:
-
SERIALIZED_NAME_PUB_KEY
- See Also:
-
SERIALIZED_NAME_ALIAS
- See Also:
-
SERIALIZED_NAME_ADDRESSES
- See Also:
-
SERIALIZED_NAME_COLOR
- See Also:
-
SERIALIZED_NAME_FEATURES
- See Also:
-
SERIALIZED_NAME_CUSTOM_RECORDS
- See Also:
-
-
Constructor Details
-
LnrpcLightningNode
public LnrpcLightningNode()
-
-
Method Details
-
lastUpdate
-
getLastUpdate
Get lastUpdate- Returns:
- lastUpdate
-
setLastUpdate
-
pubKey
-
getPubKey
Get pubKey- Returns:
- pubKey
-
setPubKey
-
alias
-
getAlias
Get alias- Returns:
- alias
-
setAlias
-
addresses
-
addAddressesItem
-
getAddresses
Get addresses- Returns:
- addresses
-
setAddresses
-
color
-
getColor
Get color- Returns:
- color
-
setColor
-
features
-
putFeaturesItem
-
getFeatures
Get features- Returns:
- features
-
setFeatures
-
customRecords
-
putCustomRecordsItem
-
getCustomRecords
Custom node announcement tlv records.- Returns:
- customRecords
-
setCustomRecords
-
equals
-
hashCode
public int hashCode() -
toString
-