public class CheckMacPermRequest extends Message<LightningApi.CheckMacPermRequest>
Message
,
LightningApi.CheckMacPermRequest
builder, wrapperFactory
Constructor and Description |
---|
CheckMacPermRequest()
Empty Constructor
|
CheckMacPermRequest(javax.json.JsonReader jsonReader)
Json Parsing Constructor
|
CheckMacPermRequest(LightningApi.CheckMacPermRequest apiObject)
Constructor using underlying Lightning API Object
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getFullMethod()
Getter for fullMethod.
|
byte[] |
getMacaroon()
Getter for macaroon.
|
java.util.List<MacaroonPermission> |
getPermissions()
Getter for a list of permissions.
|
protected void |
populateRepeatedFields()
Method to be overrided by inherited messages that contains repeatable or mapped fields.
|
void |
setFullMethod(java.lang.String value)
Setter for fullMethod.
|
void |
setMacaroon(byte[] value)
Setter for macaroon.
|
void |
setPermissions(java.util.List<MacaroonPermission> valueList)
Setter for list of permissions.
|
equals, getApiObject, getMessageName, hashCode, toJson, toJsonAsString, toString, validate
public CheckMacPermRequest()
public CheckMacPermRequest(javax.json.JsonReader jsonReader) throws javax.json.JsonException
javax.json.JsonException
- if problems was found with the supplied JSON data.public CheckMacPermRequest(LightningApi.CheckMacPermRequest apiObject)
public byte[] getMacaroon()
public void setMacaroon(byte[] value)
public java.util.List<MacaroonPermission> getPermissions() throws ClientSideException
ClientSideException
- if problems occurred constructing the wrapped object.public void setPermissions(java.util.List<MacaroonPermission> valueList)
public java.lang.String getFullMethod()
public void setFullMethod(java.lang.String value)
protected void populateRepeatedFields()
Message
populateRepeatedFields
in class Message<LightningApi.CheckMacPermRequest>