Class DeviceTwinProperties


  • public 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 Detail

      • DeviceTwinProperties

        public DeviceTwinProperties()
    • Method Detail

      • metadata

        public DeviceTwinMetadata metadata()
        Get metadata information for the properties JSON document.
        Returns:
        the metadata value
      • withMetadata

        public DeviceTwinProperties withMetadata​(DeviceTwinMetadata metadata)
        Set metadata information for the properties JSON document.
        Parameters:
        metadata - the metadata value to set
        Returns:
        the DeviceTwinProperties object itself.
      • version

        public Double version()
        Get version of device twin properties.
        Returns:
        the version value
      • withVersion

        public DeviceTwinProperties withVersion​(Double version)
        Set version of device twin properties.
        Parameters:
        version - the version value to set
        Returns:
        the DeviceTwinProperties object itself.