public class UserEntitlementModel
extends java.lang.Object
Constructor and Description |
---|
UserEntitlementModel() |
Modifier and Type | Method and Description |
---|---|
CompanyAccessLevel |
getAccessLevel()
Getter for accessLevel - What access privileges does the current user have to see companies?
|
java.util.ArrayList<java.lang.Integer> |
getCompanies()
Getter for companies - The identities of all companies this user is permitted to access
|
java.util.ArrayList<java.lang.String> |
getPermissions()
Getter for permissions - List of API names and categories that this user is permitted to access
|
void |
setAccessLevel(CompanyAccessLevel accessLevel)
Setter for accessLevel - What access privileges does the current user have to see companies?
|
void |
setCompanies(java.util.ArrayList<java.lang.Integer> companies)
Setter for companies - The identities of all companies this user is permitted to access
|
void |
setPermissions(java.util.ArrayList<java.lang.String> permissions)
Setter for permissions - List of API names and categories that this user is permitted to access
|
java.lang.String |
toString()
Returns a JSON string representation of UserEntitlementModel.
|
public java.util.ArrayList<java.lang.String> getPermissions()
public void setPermissions(java.util.ArrayList<java.lang.String> permissions)
public CompanyAccessLevel getAccessLevel()
public void setAccessLevel(CompanyAccessLevel accessLevel)
public java.util.ArrayList<java.lang.Integer> getCompanies()
public void setCompanies(java.util.ArrayList<java.lang.Integer> companies)
public java.lang.String toString()
toString
in class java.lang.Object