Constructor
-
new Device(options)
-
Parameters:
Name Type Argument Description options
Object <optional>
Model options
- Since:
-
- 3.4.0.0
Members
-
data :object
-
Generic object in which to store model data
Type:
- object
- Inherited From:
-
id :string
-
A unique identifier for this model instance
Type:
- string
- Inherited From:
-
isNew :boolean
-
Flag to indicate if model instance is new
Type:
- boolean
- Inherited From:
Methods
-
getGroupId() → {string}
-
Get group ID for this device
Returns:
{ string }
-
getLabel() → {string}
-
Get label for this device
Returns:
{ string }
-
getType() → {string}
-
Get type for this device
Returns:
{ string }