Class DeviceRequest
java.lang.Object
org.openremote.agent.protocol.tradfri.payload.DeviceRequest
The class that contains the payload for a request to update a IKEA TRÅDFRI device
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the new properties of the light (if the device is a light)Get the new properties of the plug (if the device is a plug)void
setLightProperties
(LightProperties[] lightProperties) Set the new properties of the light (if the device is a light)void
setPlugProperties
(PlugProperties[] plugProperties) Set the new properties of the plug (if the device is a plug)
-
Constructor Details
-
DeviceRequest
public DeviceRequest()Construct the DeviceRequest class
-
-
Method Details
-
getLightProperties
Get the new properties of the light (if the device is a light)- Returns:
- The new properties of the light
-
getPlugProperties
Get the new properties of the plug (if the device is a plug)- Returns:
- The new properties of the plug
-
setLightProperties
Set the new properties of the light (if the device is a light)- Parameters:
lightProperties
- The new properties of the light
-
setPlugProperties
Set the new properties of the plug (if the device is a plug)- Parameters:
plugProperties
- The new properties of the plug
-