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 Summary
Constructors Constructor Description DeviceTwinProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeviceTwinMetadata
getMetadata()
Get the metadata property: Metadata information for the properties JSON document.Float
getVersion()
Get the version property: Version of device twin properties.DeviceTwinProperties
setMetadata(DeviceTwinMetadata metadata)
Set the metadata property: Metadata information for the properties JSON document.DeviceTwinProperties
setVersion(Float version)
Set the version property: Version of device twin properties.
-
-
-
Method Detail
-
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.
-
-