Class UserEntitlementModel


  • public class UserEntitlementModel
    extends java.lang.Object
    User Entitlement Model
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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 value)
      Setter for accessLevel What access privileges does the current user have to see companies?
      void setCompanies​(java.util.ArrayList<java.lang.Integer> value)
      Setter for companies The identities of all companies this user is permitted to access
      void setPermissions​(java.util.ArrayList<java.lang.String> value)
      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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • UserEntitlementModel

        public UserEntitlementModel()
    • Method Detail

      • getPermissions

        public java.util.ArrayList<java.lang.String> getPermissions()
        Getter for permissions List of API names and categories that this user is permitted to access
      • setPermissions

        public void setPermissions​(java.util.ArrayList<java.lang.String> value)
        Setter for permissions List of API names and categories that this user is permitted to access
      • getAccessLevel

        public CompanyAccessLevel getAccessLevel()
        Getter for accessLevel What access privileges does the current user have to see companies?
      • setAccessLevel

        public void setAccessLevel​(CompanyAccessLevel value)
        Setter for accessLevel What access privileges does the current user have to see companies?
      • getCompanies

        public java.util.ArrayList<java.lang.Integer> getCompanies()
        Getter for companies The identities of all companies this user is permitted to access
      • setCompanies

        public void setCompanies​(java.util.ArrayList<java.lang.Integer> value)
        Setter for companies The identities of all companies this user is permitted to access
      • toString

        public java.lang.String toString()
        Returns a JSON string representation of UserEntitlementModel
        Overrides:
        toString in class java.lang.Object