Class DeviceTwinProperties
- java.lang.Object
-
- com.microsoft.azure.eventgrid.models.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 Summary
Constructors Constructor Description DeviceTwinProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeviceTwinMetadatametadata()Get metadata information for the properties JSON document.Doubleversion()Get version of device twin properties.DeviceTwinPropertieswithMetadata(DeviceTwinMetadata metadata)Set metadata information for the properties JSON document.DeviceTwinPropertieswithVersion(Double version)Set version of device twin properties.
-
-
-
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.
-
-