public class GraphTopologyUpdate extends Message<LightningApi.GraphTopologyUpdate>
Message
,
LightningApi.GraphTopologyUpdate
builder, wrapperFactory
Constructor and Description |
---|
GraphTopologyUpdate()
Empty Constructor
|
GraphTopologyUpdate(javax.json.JsonReader jsonReader)
Json Parsing Constructor
|
GraphTopologyUpdate(LightningApi.GraphTopologyUpdate apiObject)
Constructor using underlying Lightning API Object
|
Modifier and Type | Method and Description |
---|---|
java.util.List<ChannelEdgeUpdate> |
getChannelUpdates()
Getter for a list of channelUpdates.
|
java.util.List<ClosedChannelUpdate> |
getClosedChans()
Getter for a list of closedChans.
|
java.util.List<NodeUpdate> |
getNodeUpdates()
Getter for a list of nodeUpdates.
|
protected void |
populateRepeatedFields()
Method to be overrided by inherited messages that contains repeatable or mapped fields.
|
void |
setChannelUpdates(java.util.List<ChannelEdgeUpdate> valueList)
Setter for list of channelUpdates.
|
void |
setClosedChans(java.util.List<ClosedChannelUpdate> valueList)
Setter for list of closedChans.
|
void |
setNodeUpdates(java.util.List<NodeUpdate> valueList)
Setter for list of nodeUpdates.
|
equals, getApiObject, getMessageName, hashCode, toJson, toJsonAsString, toString, validate
public GraphTopologyUpdate()
public GraphTopologyUpdate(javax.json.JsonReader jsonReader) throws javax.json.JsonException
javax.json.JsonException
- if problems was found with the supplied JSON data.public GraphTopologyUpdate(LightningApi.GraphTopologyUpdate apiObject)
public java.util.List<NodeUpdate> getNodeUpdates() throws ClientSideException
ClientSideException
- if problems occurred constructing the wrapped object.public void setNodeUpdates(java.util.List<NodeUpdate> valueList)
public java.util.List<ChannelEdgeUpdate> getChannelUpdates() throws ClientSideException
ClientSideException
- if problems occurred constructing the wrapped object.public void setChannelUpdates(java.util.List<ChannelEdgeUpdate> valueList)
public java.util.List<ClosedChannelUpdate> getClosedChans() throws ClientSideException
ClientSideException
- if problems occurred constructing the wrapped object.public void setClosedChans(java.util.List<ClosedChannelUpdate> valueList)
protected void populateRepeatedFields()
Message
populateRepeatedFields
in class Message<LightningApi.GraphTopologyUpdate>