Class DeviceRequest

java.lang.Object
org.openremote.agent.protocol.tradfri.payload.DeviceRequest

public class DeviceRequest extends Object
The class that contains the payload for a request to update a IKEA TRÅDFRI device
  • Constructor Details

    • DeviceRequest

      public DeviceRequest()
      Construct the DeviceRequest class
  • Method Details

    • getLightProperties

      public LightProperties[] getLightProperties()
      Get the new properties of the light (if the device is a light)
      Returns:
      The new properties of the light
    • getPlugProperties

      public PlugProperties[] getPlugProperties()
      Get the new properties of the plug (if the device is a plug)
      Returns:
      The new properties of the plug
    • setLightProperties

      public void setLightProperties(LightProperties[] lightProperties)
      Set the new properties of the light (if the device is a light)
      Parameters:
      lightProperties - The new properties of the light
    • setPlugProperties

      public void setPlugProperties(PlugProperties[] plugProperties)
      Set the new properties of the plug (if the device is a plug)
      Parameters:
      plugProperties - The new properties of the plug