AppMenuModel
Model representing app menu. A app menu redirects the user to different screens and sections of the application.
Constructor Summary
Public Constructor | ||
public |
constructor(response: Object) |
Member Summary
Public Members | ||
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
Public Constructors
public constructor(response: Object) source
Params:
Name | Type | Attribute | Description |
response | Object |
|
JSON formatted response of a single menu |
response.id | Number | The id of the app menu |
|
response.title | String | The title of the app menu |
|
response.action | String | The action that the devices need to execute when the app menu is tapped. Options are:
|
|
response.image | Object | The icon of the app menu |
|
response.enabled | Boolean | true, |
|
response.created_at | String | '2018-03-20T15:46:33Z', |
|
response.updated_at | String | '2018-03-20T15:46:33Z', |
|
response.position | Number | 1 |