public class ChannelEventUpdate extends Message<LightningApi.ChannelEventUpdate>
Message
,
LightningApi.ChannelEventUpdate
Modifier and Type | Class and Description |
---|---|
static class |
ChannelEventUpdate.UpdateType
Inner enum UpdateType for class ChannelEventUpdate
Generated Automatically.
|
builder, wrapperFactory
Constructor and Description |
---|
ChannelEventUpdate()
Empty Constructor
|
ChannelEventUpdate(javax.json.JsonReader jsonReader)
Json Parsing Constructor
|
ChannelEventUpdate(LightningApi.ChannelEventUpdate apiObject)
Constructor using underlying Lightning API Object
|
Modifier and Type | Method and Description |
---|---|
ChannelPoint |
getActiveChannel()
Getter for a list of activeChannel.
|
ChannelCloseSummary |
getClosedChannel()
Getter for a list of closedChannel.
|
ChannelPoint |
getFullyResolvedChannel()
Getter for a list of fullyResolvedChannel.
|
ChannelPoint |
getInactiveChannel()
Getter for a list of inactiveChannel.
|
Channel |
getOpenChannel()
Getter for a list of openChannel.
|
PendingUpdate |
getPendingOpenChannel()
Getter for a list of pendingOpenChannel.
|
ChannelEventUpdate.UpdateType |
getType()
Getter for type.
|
void |
setActiveChannel(ChannelPoint value)
Setter for list of activeChannel.
|
void |
setClosedChannel(ChannelCloseSummary value)
Setter for list of closedChannel.
|
void |
setFullyResolvedChannel(ChannelPoint value)
Setter for list of fullyResolvedChannel.
|
void |
setInactiveChannel(ChannelPoint value)
Setter for list of inactiveChannel.
|
void |
setOpenChannel(Channel value)
Setter for list of openChannel.
|
void |
setPendingOpenChannel(PendingUpdate value)
Setter for list of pendingOpenChannel.
|
void |
setType(ChannelEventUpdate.UpdateType value)
Setter for type.
|
equals, getApiObject, getMessageName, hashCode, populateRepeatedFields, toJson, toJsonAsString, toString, validate
public ChannelEventUpdate()
public ChannelEventUpdate(javax.json.JsonReader jsonReader) throws javax.json.JsonException
javax.json.JsonException
- if problems was found with the supplied JSON data.public ChannelEventUpdate(LightningApi.ChannelEventUpdate apiObject)
public Channel getOpenChannel() throws ClientSideException
ClientSideException
- if problems occurred constructing the wrapped object.public void setOpenChannel(Channel value)
public ChannelCloseSummary getClosedChannel() throws ClientSideException
ClientSideException
- if problems occurred constructing the wrapped object.public void setClosedChannel(ChannelCloseSummary value)
public ChannelPoint getActiveChannel() throws ClientSideException
ClientSideException
- if problems occurred constructing the wrapped object.public void setActiveChannel(ChannelPoint value)
public ChannelPoint getInactiveChannel() throws ClientSideException
ClientSideException
- if problems occurred constructing the wrapped object.public void setInactiveChannel(ChannelPoint value)
public PendingUpdate getPendingOpenChannel() throws ClientSideException
ClientSideException
- if problems occurred constructing the wrapped object.public void setPendingOpenChannel(PendingUpdate value)
public ChannelPoint getFullyResolvedChannel() throws ClientSideException
ClientSideException
- if problems occurred constructing the wrapped object.public void setFullyResolvedChannel(ChannelPoint value)
public ChannelEventUpdate.UpdateType getType()
public void setType(ChannelEventUpdate.UpdateType value)