public class BakeMacaroonRequest extends Message<LightningApi.BakeMacaroonRequest>
Message
,
LightningApi.BakeMacaroonRequest
builder, wrapperFactory
Constructor and Description |
---|
BakeMacaroonRequest()
Empty Constructor
|
BakeMacaroonRequest(javax.json.JsonReader jsonReader)
Json Parsing Constructor
|
BakeMacaroonRequest(LightningApi.BakeMacaroonRequest apiObject)
Constructor using underlying Lightning API Object
|
Modifier and Type | Method and Description |
---|---|
boolean |
getAllowExternalPermissions()
Getter for allowExternalPermissions.
|
java.util.List<MacaroonPermission> |
getPermissions()
Getter for a list of permissions.
|
long |
getRootKeyId()
Getter for rootKeyId.
|
protected void |
populateRepeatedFields()
Method to be overrided by inherited messages that contains repeatable or mapped fields.
|
void |
setAllowExternalPermissions(boolean value)
Setter for allowExternalPermissions.
|
void |
setPermissions(java.util.List<MacaroonPermission> valueList)
Setter for list of permissions.
|
void |
setRootKeyId(long value)
Setter for rootKeyId.
|
equals, getApiObject, getMessageName, hashCode, toJson, toJsonAsString, toString, validate
public BakeMacaroonRequest()
public BakeMacaroonRequest(javax.json.JsonReader jsonReader) throws javax.json.JsonException
javax.json.JsonException
- if problems was found with the supplied JSON data.public BakeMacaroonRequest(LightningApi.BakeMacaroonRequest apiObject)
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 long getRootKeyId()
public void setRootKeyId(long value)
public boolean getAllowExternalPermissions()
public void setAllowExternalPermissions(boolean value)
protected void populateRepeatedFields()
Message
populateRepeatedFields
in class Message<LightningApi.BakeMacaroonRequest>