public static class PendingChannelsResponse.ForceClosedChannel extends Message<LightningApi.PendingChannelsResponse.ForceClosedChannel>
Modifier and Type | Class and Description |
---|---|
static class |
PendingChannelsResponse.ForceClosedChannel.AnchorState
Inner enum AnchorState for class PendingChannelsResponse.ForceClosedChannel
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 |
---|---|
PendingChannelsResponse.ForceClosedChannel.AnchorState |
getAnchor()
Getter for anchor.
|
int |
getBlocksTilMaturity()
Getter for blocksTilMaturity.
|
PendingChannelsResponse.PendingChannel |
getChannel()
Getter for a list of channel.
|
java.lang.String |
getClosingTxid()
Getter for closingTxid.
|
long |
getLimboBalance()
Getter for limboBalance.
|
int |
getMaturityHeight()
Getter for maturityHeight.
|
java.util.List<PendingHTLC> |
getPendingHtlcs()
Getter for a list of pendingHtlcs.
|
long |
getRecoveredBalance()
Getter for recoveredBalance.
|
protected void |
populateRepeatedFields()
Method to be overrided by inherited messages that contains repeatable or mapped fields.
|
void |
setAnchor(PendingChannelsResponse.ForceClosedChannel.AnchorState value)
Setter for anchor.
|
void |
setBlocksTilMaturity(int value)
Setter for blocksTilMaturity.
|
void |
setChannel(PendingChannelsResponse.PendingChannel value)
Setter for list of channel.
|
void |
setClosingTxid(java.lang.String value)
Setter for closingTxid.
|
void |
setLimboBalance(long value)
Setter for limboBalance.
|
void |
setMaturityHeight(int value)
Setter for maturityHeight.
|
void |
setPendingHtlcs(java.util.List<PendingHTLC> valueList)
Setter for list of pendingHtlcs.
|
void |
setRecoveredBalance(long value)
Setter for recoveredBalance.
|
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)
public PendingChannelsResponse.ForceClosedChannel.AnchorState getAnchor()
public void setAnchor(PendingChannelsResponse.ForceClosedChannel.AnchorState value)
protected void populateRepeatedFields()
Message
populateRepeatedFields
in class Message<LightningApi.PendingChannelsResponse.ForceClosedChannel>