public class Route extends Message<LightningApi.Route>
Message
,
LightningApi.Route
builder, wrapperFactory
Constructor and Description |
---|
Route()
Empty Constructor
|
Route(javax.json.JsonReader jsonReader)
Json Parsing Constructor
|
Route(LightningApi.Route apiObject)
Constructor using underlying Lightning API Object
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Hop> |
getHops()
Getter for a list of hops.
|
long |
getTotalAmt()
Getter for totalAmt.
|
long |
getTotalAmtMsat()
Getter for totalAmtMsat.
|
long |
getTotalFees()
Getter for totalFees.
|
long |
getTotalFeesMsat()
Getter for totalFeesMsat.
|
int |
getTotalTimeLock()
Getter for totalTimeLock.
|
protected void |
populateRepeatedFields()
Method to be overrided by inherited messages that contains repeatable or mapped fields.
|
void |
setHops(java.util.List<Hop> valueList)
Setter for list of hops.
|
void |
setTotalAmt(long value)
Setter for totalAmt.
|
void |
setTotalAmtMsat(long value)
Setter for totalAmtMsat.
|
void |
setTotalFees(long value)
Setter for totalFees.
|
void |
setTotalFeesMsat(long value)
Setter for totalFeesMsat.
|
void |
setTotalTimeLock(int value)
Setter for totalTimeLock.
|
equals, getApiObject, getMessageName, hashCode, toJson, toJsonAsString, toString, validate
public Route()
public Route(javax.json.JsonReader jsonReader) throws javax.json.JsonException
javax.json.JsonException
- if problems was found with the supplied JSON data.public Route(LightningApi.Route apiObject)
public int getTotalTimeLock()
public void setTotalTimeLock(int value)
public long getTotalFees()
public void setTotalFees(long value)
public long getTotalAmt()
public void setTotalAmt(long value)
public java.util.List<Hop> getHops() throws ClientSideException
ClientSideException
- if problems occurred constructing the wrapped object.public void setHops(java.util.List<Hop> valueList)
public long getTotalFeesMsat()
public void setTotalFeesMsat(long value)
public long getTotalAmtMsat()
public void setTotalAmtMsat(long value)
protected void populateRepeatedFields()
Message
populateRepeatedFields
in class Message<LightningApi.Route>