public class MacaroonPermissionList extends Message<LightningApi.MacaroonPermissionList>
Message
,
LightningApi.MacaroonPermissionList
builder, wrapperFactory
Constructor and Description |
---|
MacaroonPermissionList()
Empty Constructor
|
MacaroonPermissionList(javax.json.JsonReader jsonReader)
Json Parsing Constructor
|
MacaroonPermissionList(LightningApi.MacaroonPermissionList apiObject)
Constructor using underlying Lightning API Object
|
Modifier and Type | Method and Description |
---|---|
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 |
setPermissions(java.util.List<MacaroonPermission> valueList)
Setter for list of permissions.
|
equals, getApiObject, getMessageName, hashCode, toJson, toJsonAsString, toString, validate
public MacaroonPermissionList()
public MacaroonPermissionList(javax.json.JsonReader jsonReader) throws javax.json.JsonException
javax.json.JsonException
- if problems was found with the supplied JSON data.public MacaroonPermissionList(LightningApi.MacaroonPermissionList 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)
protected void populateRepeatedFields()
Message
populateRepeatedFields
in class Message<LightningApi.MacaroonPermissionList>