The custom Device object provides the attributes listed in the following table; use the methods shown below in your custom object code to retrieve a value for each attribute. For purposes of custom objects, consider the terms "asset" and "device" to be synonymous. The code for the SDKs uses "device" instead of "asset."
Use this object when creating a custom Registration rule object.
Attribute |
Method |
Name |
device.getName() |
Serial Number |
device.getSerialNumber() |
Model Name |
device.getModelName() |
device.getPingRate() |
|
Registration Date |
device.getRegistrationDate() |