public class SendToRouteResponse extends Message<RouterOuterClass.SendToRouteResponse>
Message
,
RouterOuterClass.SendToRouteResponse
builder, wrapperFactory
Constructor and Description |
---|
SendToRouteResponse()
Empty Constructor
|
SendToRouteResponse(javax.json.JsonReader jsonReader)
Json Parsing Constructor
|
SendToRouteResponse(RouterOuterClass.SendToRouteResponse apiObject)
Constructor using underlying Lightning API Object
|
Modifier and Type | Method and Description |
---|---|
Failure |
getFailure()
Getter for a list of failure.
|
byte[] |
getPreimage()
Getter for preimage.
|
void |
setFailure(Failure value)
Setter for list of failure.
|
void |
setPreimage(byte[] value)
Setter for preimage.
|
equals, getApiObject, getMessageName, hashCode, populateRepeatedFields, toJson, toJsonAsString, toString, validate
public SendToRouteResponse()
public SendToRouteResponse(javax.json.JsonReader jsonReader) throws javax.json.JsonException
javax.json.JsonException
- if problems was found with the supplied JSON data.public SendToRouteResponse(RouterOuterClass.SendToRouteResponse apiObject)
public byte[] getPreimage()
public void setPreimage(byte[] value)
public Failure getFailure() throws ClientSideException
ClientSideException
- if problems occurred constructing the wrapped object.public void setFailure(Failure value)