Class DeviceTwinInfoProperties
- java.lang.Object
-
- com.azure.messaging.eventgrid.systemevents.DeviceTwinInfoProperties
-
public final class DeviceTwinInfoProperties extends Object
Properties JSON element.
-
-
Constructor Summary
Constructors Constructor Description DeviceTwinInfoProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeviceTwinProperties
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.DeviceTwinProperties
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.DeviceTwinInfoProperties
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.DeviceTwinInfoProperties
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.
-
-
-
Method Detail
-
getDesired
public DeviceTwinProperties 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
public DeviceTwinInfoProperties 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.- Parameters:
desired
- the desired value to set.- Returns:
- the DeviceTwinInfoProperties object itself.
-
getReported
public DeviceTwinProperties 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
public DeviceTwinInfoProperties 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.- Parameters:
reported
- the reported value to set.- Returns:
- the DeviceTwinInfoProperties object itself.
-
-