Class DeviceTwinProperties

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

public final class DeviceTwinProperties extends Object
A portion of the properties that can be written only by the application back-end, and read by the device.
  • Constructor Details

    • DeviceTwinProperties

      public DeviceTwinProperties()
  • Method Details

    • getMetadata

      public DeviceTwinMetadata getMetadata()
      Get the metadata property: Metadata information for the properties JSON document.
      Returns:
      the metadata value.
    • setMetadata

      public DeviceTwinProperties setMetadata(DeviceTwinMetadata metadata)
      Set the metadata property: Metadata information for the properties JSON document.
      Parameters:
      metadata - the metadata value to set.
      Returns:
      the DeviceTwinProperties object itself.
    • getVersion

      public Float getVersion()
      Get the version property: Version of device twin properties.
      Returns:
      the version value.
    • setVersion

      public DeviceTwinProperties setVersion(Float version)
      Set the version property: Version of device twin properties.
      Parameters:
      version - the version value to set.
      Returns:
      the DeviceTwinProperties object itself.