public class ClosedChannelUpdate extends Message<LightningApi.ClosedChannelUpdate>
Message
,
LightningApi.ClosedChannelUpdate
builder, wrapperFactory
Constructor and Description |
---|
ClosedChannelUpdate()
Empty Constructor
|
ClosedChannelUpdate(javax.json.JsonReader jsonReader)
Json Parsing Constructor
|
ClosedChannelUpdate(LightningApi.ClosedChannelUpdate apiObject)
Constructor using underlying Lightning API Object
|
Modifier and Type | Method and Description |
---|---|
long |
getCapacity()
Getter for capacity.
|
long |
getChanId()
Getter for chanId.
|
ChannelPoint |
getChanPoint()
Getter for a list of chanPoint.
|
int |
getClosedHeight()
Getter for closedHeight.
|
void |
setCapacity(long value)
Setter for capacity.
|
void |
setChanId(long value)
Setter for chanId.
|
void |
setChanPoint(ChannelPoint value)
Setter for list of chanPoint.
|
void |
setClosedHeight(int value)
Setter for closedHeight.
|
equals, getApiObject, getMessageName, hashCode, populateRepeatedFields, toJson, toJsonAsString, toString, validate
public ClosedChannelUpdate()
public ClosedChannelUpdate(javax.json.JsonReader jsonReader) throws javax.json.JsonException
javax.json.JsonException
- if problems was found with the supplied JSON data.public ClosedChannelUpdate(LightningApi.ClosedChannelUpdate apiObject)
public long getChanId()
public void setChanId(long value)
public long getCapacity()
public void setCapacity(long value)
public int getClosedHeight()
public void setClosedHeight(int value)
public ChannelPoint getChanPoint() throws ClientSideException
ClientSideException
- if problems occurred constructing the wrapped object.public void setChanPoint(ChannelPoint value)