Class DeviceTwinInfoProperties
- java.lang.Object
-
- com.microsoft.azure.eventgrid.models.DeviceTwinInfoProperties
-
public 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 DeviceTwinPropertiesdesired()Get a portion of the properties that can be written only by the application back-end, and read by the device.DeviceTwinPropertiesreported()Get a portion of the properties that can be written only by the device, and read by the application back-end.DeviceTwinInfoPropertieswithDesired(DeviceTwinProperties desired)Set a portion of the properties that can be written only by the application back-end, and read by the device.DeviceTwinInfoPropertieswithReported(DeviceTwinProperties reported)Set a portion of the properties that can be written only by the device, and read by the application back-end.
-
-
-
Method Detail
-
desired
public DeviceTwinProperties desired()
Get a portion of the properties that can be written only by the application back-end, and read by the device.- Returns:
- the desired value
-
withDesired
public DeviceTwinInfoProperties withDesired(DeviceTwinProperties desired)
Set 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.
-
reported
public DeviceTwinProperties reported()
Get a portion of the properties that can be written only by the device, and read by the application back-end.- Returns:
- the reported value
-
withReported
public DeviceTwinInfoProperties withReported(DeviceTwinProperties reported)
Set 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.
-
-