Class DeviceTwinInfoProperties

java.lang.Object
com.azure.messaging.eventgrid.systemevents.DeviceTwinInfoProperties

public final class DeviceTwinInfoProperties extends Object
Properties JSON element.
  • Constructor Details

    • DeviceTwinInfoProperties

      public DeviceTwinInfoProperties()
  • Method Details

    • getDesired

      public DeviceTwinProperties getDesired()
      Get the desired property: A portion of the properties that can be written only by the application back-end, and read by the device.
      Returns:
      the desired value.
    • setDesired

      public DeviceTwinInfoProperties setDesired(DeviceTwinProperties desired)
      Set the desired property: A portion of the properties that can be written only by the application back-end, and read by the device.
      Parameters:
      desired - the desired value to set.
      Returns:
      the DeviceTwinInfoProperties object itself.
    • getReported

      public DeviceTwinProperties getReported()
      Get the reported property: A portion of the properties that can be written only by the device, and read by the application back-end.
      Returns:
      the reported value.
    • setReported

      public DeviceTwinInfoProperties setReported(DeviceTwinProperties reported)
      Set the reported property: A portion of the properties that can be written only by the device, and read by the application back-end.
      Parameters:
      reported - the reported value to set.
      Returns:
      the DeviceTwinInfoProperties object itself.