Class DeviceTwinInfoProperties
java.lang.Object
com.azure.messaging.eventgrid.systemevents.DeviceTwinInfoProperties
Properties JSON element.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the desired property: A portion of the properties that can be written only by the application back-end, and read by the device.Get the reported property: A portion of the properties that can be written only by the device, and read by the application back-end.setDesired
(DeviceTwinProperties desired) Set the desired property: A portion of the properties that can be written only by the application back-end, and read by the device.setReported
(DeviceTwinProperties reported) Set the reported property: A portion of the properties that can be written only by the device, and read by the application back-end.
-
Constructor Details
-
DeviceTwinInfoProperties
public DeviceTwinInfoProperties()
-
-
Method Details
-
getDesired
Get the desired property: A portion of the properties that can be written only by the application back-end, and read by the device.- Returns:
- the desired value.
-
setDesired
Set the desired property: A portion of the properties that can be written only by the application back-end, and read by the device.- Parameters:
desired
- the desired value to set.- Returns:
- the DeviceTwinInfoProperties object itself.
-
getReported
Get the reported property: A portion of the properties that can be written only by the device, and read by the application back-end.- Returns:
- the reported value.
-
setReported
Set the reported property: A portion of the properties that can be written only by the device, and read by the application back-end.- Parameters:
reported
- the reported value to set.- Returns:
- the DeviceTwinInfoProperties object itself.
-