public class DeviceModels
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
DeviceModels() |
| Modifier and Type | Method and Description |
|---|---|
int |
getCount()
Returns total number of models.
|
int |
getLimit()
Returns number of models that can be fetched when paging.
|
ModelLinks |
getLinks()
Returns
ModelLinks object with hyperlinks to other DeviceModel objects |
DeviceModel |
getModel(java.lang.String modelId)
Returns
DeviceModel specified with modelId or DeviceModelsException
if io.relayr.java.model with specified id doesn't exist. |
java.util.List<DeviceModel> |
getModels()
Returns all device io.relayr.java.model supported on relayr platform.
|
int |
getOffset()
Return offset from the first io.relayr.java.model.
|
java.util.List<DeviceModel> |
getPrototypes()
Returns all device io.relayr.java.model supported on relayr platform.
|
java.lang.String |
toString() |
public ModelLinks getLinks()
ModelLinks object with hyperlinks to other DeviceModel objectsModelLinkspublic java.util.List<DeviceModel> getModels()
public java.util.List<DeviceModel> getPrototypes()
public DeviceModel getModel(java.lang.String modelId) throws DeviceModelsException
DeviceModel specified with modelId or DeviceModelsException
if io.relayr.java.model with specified id doesn't exist.DeviceModel or DeviceModelsExceptionDeviceModelsExceptionpublic int getCount()
public int getLimit()
public int getOffset()
public java.lang.String toString()
toString in class java.lang.Object