Class DeviceTwinProperties
java.lang.Object
com.azure.messaging.eventgrid.systemevents.DeviceTwinProperties
A portion of the properties that can be written only by the application back-end, and read by the device.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the metadata property: Metadata information for the properties JSON document.Get the version property: Version of device twin properties.setMetadata
(DeviceTwinMetadata metadata) Set the metadata property: Metadata information for the properties JSON document.setVersion
(Float version) Set the version property: Version of device twin properties.
-
Constructor Details
-
DeviceTwinProperties
public DeviceTwinProperties()
-
-
Method Details
-
getMetadata
Get the metadata property: Metadata information for the properties JSON document.- Returns:
- the metadata value.
-
setMetadata
Set the metadata property: Metadata information for the properties JSON document.- Parameters:
metadata
- the metadata value to set.- Returns:
- the DeviceTwinProperties object itself.
-
getVersion
Get the version property: Version of device twin properties.- Returns:
- the version value.
-
setVersion
Set the version property: Version of device twin properties.- Parameters:
version
- the version value to set.- Returns:
- the DeviceTwinProperties object itself.
-