public class ChannelGraph extends Message<LightningApi.ChannelGraph>
Message
,
LightningApi.ChannelGraph
builder, wrapperFactory
Constructor and Description |
---|
ChannelGraph()
Empty Constructor
|
ChannelGraph(javax.json.JsonReader jsonReader)
Json Parsing Constructor
|
ChannelGraph(LightningApi.ChannelGraph apiObject)
Constructor using underlying Lightning API Object
|
Modifier and Type | Method and Description |
---|---|
java.util.List<ChannelEdge> |
getEdges()
Getter for a list of edges.
|
java.util.List<LightningNode> |
getNodes()
Getter for a list of nodes.
|
protected void |
populateRepeatedFields()
Method to be overrided by inherited messages that contains repeatable or mapped fields.
|
void |
setEdges(java.util.List<ChannelEdge> valueList)
Setter for list of edges.
|
void |
setNodes(java.util.List<LightningNode> valueList)
Setter for list of nodes.
|
equals, getApiObject, getMessageName, hashCode, toJson, toJsonAsString, toString, validate
public ChannelGraph()
public ChannelGraph(javax.json.JsonReader jsonReader) throws javax.json.JsonException
javax.json.JsonException
- if problems was found with the supplied JSON data.public ChannelGraph(LightningApi.ChannelGraph apiObject)
public java.util.List<LightningNode> getNodes() throws ClientSideException
ClientSideException
- if problems occurred constructing the wrapped object.public void setNodes(java.util.List<LightningNode> valueList)
public java.util.List<ChannelEdge> getEdges() throws ClientSideException
ClientSideException
- if problems occurred constructing the wrapped object.public void setEdges(java.util.List<ChannelEdge> valueList)
protected void populateRepeatedFields()
Message
populateRepeatedFields
in class Message<LightningApi.ChannelGraph>