Package com.smartcar.sdk.data
Class ApplicationPermissions
- java.lang.Object
-
- com.smartcar.sdk.data.ApiData
-
- com.smartcar.sdk.data.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 responsejava.lang.String[]
getPermissions()
Returns the application permissionsvoid
setPermissions(java.lang.String[] permissions)
Stores the application permissionsjava.lang.String
toString()
Returns the stored data string.
-
-
-
Constructor Detail
-
ApplicationPermissions
public ApplicationPermissions(ResponsePaging paging, java.lang.String[] permissions)
Initializes a new instance of ApplicationPermission- Parameters:
paging
- metadata about the list of elementspermissions
- 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
-
-