public class BatchOpenChannelRequest extends Message<LightningApi.BatchOpenChannelRequest>
Message
,
LightningApi.BatchOpenChannelRequest
builder, wrapperFactory
Constructor and Description |
---|
BatchOpenChannelRequest()
Empty Constructor
|
BatchOpenChannelRequest(javax.json.JsonReader jsonReader)
Json Parsing Constructor
|
BatchOpenChannelRequest(LightningApi.BatchOpenChannelRequest apiObject)
Constructor using underlying Lightning API Object
|
Modifier and Type | Method and Description |
---|---|
java.util.List<BatchOpenChannel> |
getChannels()
Getter for a list of channels.
|
java.lang.String |
getLabel()
Getter for label.
|
int |
getMinConfs()
Getter for minConfs.
|
long |
getSatPerVbyte()
Getter for satPerVbyte.
|
boolean |
getSpendUnconfirmed()
Getter for spendUnconfirmed.
|
int |
getTargetConf()
Getter for targetConf.
|
protected void |
populateRepeatedFields()
Method to be overrided by inherited messages that contains repeatable or mapped fields.
|
void |
setChannels(java.util.List<BatchOpenChannel> valueList)
Setter for list of channels.
|
void |
setLabel(java.lang.String value)
Setter for label.
|
void |
setMinConfs(int value)
Setter for minConfs.
|
void |
setSatPerVbyte(long value)
Setter for satPerVbyte.
|
void |
setSpendUnconfirmed(boolean value)
Setter for spendUnconfirmed.
|
void |
setTargetConf(int value)
Setter for targetConf.
|
equals, getApiObject, getMessageName, hashCode, toJson, toJsonAsString, toString, validate
public BatchOpenChannelRequest()
public BatchOpenChannelRequest(javax.json.JsonReader jsonReader) throws javax.json.JsonException
javax.json.JsonException
- if problems was found with the supplied JSON data.public BatchOpenChannelRequest(LightningApi.BatchOpenChannelRequest apiObject)
public java.util.List<BatchOpenChannel> getChannels() throws ClientSideException
ClientSideException
- if problems occurred constructing the wrapped object.public void setChannels(java.util.List<BatchOpenChannel> valueList)
public int getTargetConf()
public void setTargetConf(int value)
public long getSatPerVbyte()
public void setSatPerVbyte(long value)
public int getMinConfs()
public void setMinConfs(int value)
public boolean getSpendUnconfirmed()
public void setSpendUnconfirmed(boolean value)
public java.lang.String getLabel()
public void setLabel(java.lang.String value)
protected void populateRepeatedFields()
Message
populateRepeatedFields
in class Message<LightningApi.BatchOpenChannelRequest>