Class ApplicationPermissions

  • All Implemented Interfaces:
    java.io.Serializable

    public class ApplicationPermissions
    extends ApiData
    POJO for Smartcar /permissions endpoint
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      ApplicationPermissions​(ResponsePaging paging, java.lang.String[] permissions)
      Initializes a new instance of ApplicationPermission
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ResponsePaging getPaging()
      Returns the paging information of the response
      java.lang.String[] getPermissions()
      Returns the application permissions
      void setPermissions​(java.lang.String[] permissions)
      Stores the application permissions
      java.lang.String toString()
      Returns the stored data string.
      • Methods inherited from class java.lang.Object

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

      • ApplicationPermissions

        public ApplicationPermissions​(ResponsePaging paging,
                                      java.lang.String[] permissions)
        Initializes a new instance of ApplicationPermission
        Parameters:
        paging - metadata about the list of elements
        permissions - an array of permissions
    • Method Detail

      • getPaging

        public ResponsePaging getPaging()
        Returns the paging information of the response
        Returns:
        paging information of the response
      • getPermissions

        public java.lang.String[] getPermissions()
        Returns the application permissions
        Returns:
        application permissions
      • setPermissions

        public void setPermissions​(java.lang.String[] permissions)
        Stores the application permissions
        Parameters:
        permissions - application permissions
      • toString

        public java.lang.String toString()
        Description copied from class: ApiData
        Returns the stored data string.
        Overrides:
        toString in class ApiData
        Returns:
        the stored data