public static class PendingChannelsResponse.ForceClosedChannel extends Message<LightningApi.PendingChannelsResponse.ForceClosedChannel>
Message
,
Generated Automatically.
builder, wrapperFactory
Constructor and Description |
---|
ForceClosedChannel()
Empty Constructor
|
ForceClosedChannel(javax.json.JsonReader jsonReader)
Json Parsing Constructor
|
ForceClosedChannel(LightningApi.PendingChannelsResponse.ForceClosedChannel apiObject)
Constructor using underlying Lightning API Object
|
Modifier and Type | Method and Description |
---|---|
int |
getBlocksTilMaturity()
Getter for blocks_til_maturity.
|
PendingChannelsResponse.PendingChannel |
getChannel()
Getter for a list of channel.
|
java.lang.String |
getClosingTxid()
Getter for closing_txid.
|
long |
getLimboBalance()
Getter for limbo_balance.
|
int |
getMaturityHeight()
Getter for maturity_height.
|
java.util.List<PendingHTLC> |
getPendingHtlcs()
Getter for a list of pending_htlcs.
|
long |
getRecoveredBalance()
Getter for recovered_balance.
|
protected void |
populateRepeatedFields()
Method to be overrided by inherited messages that contains repeatable or mapped fields.
|
void |
setBlocksTilMaturity(int value)
Setter for blocks_til_maturity.
|
void |
setChannel(PendingChannelsResponse.PendingChannel value)
Setter for list of channel.
|
void |
setClosingTxid(java.lang.String value)
Setter for closing_txid.
|
void |
setLimboBalance(long value)
Setter for limbo_balance.
|
void |
setMaturityHeight(int value)
Setter for maturity_height.
|
void |
setPendingHtlcs(java.util.List<PendingHTLC> valueList)
Setter for list of pending_htlcs.
|
void |
setRecoveredBalance(long value)
Setter for recovered_balance.
|
equals, getApiObject, getMessageName, hashCode, toJson, toJsonAsString, toString, validate
public ForceClosedChannel()
public ForceClosedChannel(javax.json.JsonReader jsonReader) throws javax.json.JsonException
javax.json.JsonException
- if problems was found with the supplied JSON data.public ForceClosedChannel(LightningApi.PendingChannelsResponse.ForceClosedChannel apiObject)
public PendingChannelsResponse.PendingChannel getChannel() throws ClientSideException
ClientSideException
- if problems occurred constructing the wrapped object.public void setChannel(PendingChannelsResponse.PendingChannel value)
public java.lang.String getClosingTxid()
public void setClosingTxid(java.lang.String value)
public long getLimboBalance()
public void setLimboBalance(long value)
public int getMaturityHeight()
public void setMaturityHeight(int value)
public int getBlocksTilMaturity()
public void setBlocksTilMaturity(int value)
public long getRecoveredBalance()
public void setRecoveredBalance(long value)
public java.util.List<PendingHTLC> getPendingHtlcs() throws ClientSideException
ClientSideException
- if problems occurred constructing the wrapped object.public void setPendingHtlcs(java.util.List<PendingHTLC> valueList)
protected void populateRepeatedFields()
Message
populateRepeatedFields
in class Message<LightningApi.PendingChannelsResponse.ForceClosedChannel>