public class ChannelCloseSummary extends Message<LightningApi.ChannelCloseSummary>
Message
,
LightningApi.ChannelCloseSummary
Modifier and Type | Class and Description |
---|---|
static class |
ChannelCloseSummary.ClosureType
Inner enum ClosureType for class ChannelCloseSummary
Generated Automatically.
|
builder, wrapperFactory
Constructor and Description |
---|
ChannelCloseSummary()
Empty Constructor
|
ChannelCloseSummary(javax.json.JsonReader jsonReader)
Json Parsing Constructor
|
ChannelCloseSummary(LightningApi.ChannelCloseSummary apiObject)
Constructor using underlying Lightning API Object
|
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.Long> |
getAliasScids()
Getter for a list of aliasScids.
|
long |
getCapacity()
Getter for capacity.
|
java.lang.String |
getChainHash()
Getter for chainHash.
|
long |
getChanId()
Getter for chanId.
|
java.lang.String |
getChannelPoint()
Getter for channelPoint.
|
int |
getCloseHeight()
Getter for closeHeight.
|
Initiator |
getCloseInitiator()
Getter for closeInitiator.
|
ChannelCloseSummary.ClosureType |
getCloseType()
Getter for closeType.
|
java.lang.String |
getClosingTxHash()
Getter for closingTxHash.
|
Initiator |
getOpenInitiator()
Getter for openInitiator.
|
java.lang.String |
getRemotePubkey()
Getter for remotePubkey.
|
java.util.List<Resolution> |
getResolutions()
Getter for a list of resolutions.
|
long |
getSettledBalance()
Getter for settledBalance.
|
long |
getTimeLockedBalance()
Getter for timeLockedBalance.
|
long |
getZeroConfConfirmedScid()
Getter for zeroConfConfirmedScid.
|
protected void |
populateRepeatedFields()
Method to be overrided by inherited messages that contains repeatable or mapped fields.
|
void |
setAliasScids(java.util.List<java.lang.Long> valueList)
Setter for list of aliasScids.
|
void |
setCapacity(long value)
Setter for capacity.
|
void |
setChainHash(java.lang.String value)
Setter for chainHash.
|
void |
setChanId(long value)
Setter for chanId.
|
void |
setChannelPoint(java.lang.String value)
Setter for channelPoint.
|
void |
setCloseHeight(int value)
Setter for closeHeight.
|
void |
setCloseInitiator(Initiator value)
Setter for closeInitiator.
|
void |
setCloseType(ChannelCloseSummary.ClosureType value)
Setter for closeType.
|
void |
setClosingTxHash(java.lang.String value)
Setter for closingTxHash.
|
void |
setOpenInitiator(Initiator value)
Setter for openInitiator.
|
void |
setRemotePubkey(java.lang.String value)
Setter for remotePubkey.
|
void |
setResolutions(java.util.List<Resolution> valueList)
Setter for list of resolutions.
|
void |
setSettledBalance(long value)
Setter for settledBalance.
|
void |
setTimeLockedBalance(long value)
Setter for timeLockedBalance.
|
void |
setZeroConfConfirmedScid(long value)
Setter for zeroConfConfirmedScid.
|
equals, getApiObject, getMessageName, hashCode, toJson, toJsonAsString, toString, validate
public ChannelCloseSummary()
public ChannelCloseSummary(javax.json.JsonReader jsonReader) throws javax.json.JsonException
javax.json.JsonException
- if problems was found with the supplied JSON data.public ChannelCloseSummary(LightningApi.ChannelCloseSummary apiObject)
public java.lang.String getChannelPoint()
public void setChannelPoint(java.lang.String value)
public long getChanId()
public void setChanId(long value)
public java.lang.String getChainHash()
public void setChainHash(java.lang.String value)
public java.lang.String getClosingTxHash()
public void setClosingTxHash(java.lang.String value)
public java.lang.String getRemotePubkey()
public void setRemotePubkey(java.lang.String value)
public long getCapacity()
public void setCapacity(long value)
public int getCloseHeight()
public void setCloseHeight(int value)
public long getSettledBalance()
public void setSettledBalance(long value)
public long getTimeLockedBalance()
public void setTimeLockedBalance(long value)
public ChannelCloseSummary.ClosureType getCloseType()
public void setCloseType(ChannelCloseSummary.ClosureType value)
public Initiator getOpenInitiator()
public void setOpenInitiator(Initiator value)
public Initiator getCloseInitiator()
public void setCloseInitiator(Initiator value)
public java.util.List<Resolution> getResolutions() throws ClientSideException
ClientSideException
- if problems occurred constructing the wrapped object.public void setResolutions(java.util.List<Resolution> valueList)
public java.util.List<java.lang.Long> getAliasScids() throws ClientSideException
ClientSideException
- if problems occurred constructing the wrapped object.public void setAliasScids(java.util.List<java.lang.Long> valueList)
public long getZeroConfConfirmedScid()
public void setZeroConfConfirmedScid(long value)
protected void populateRepeatedFields()
Message
populateRepeatedFields
in class Message<LightningApi.ChannelCloseSummary>