IoTSecurityAggregatedAlertPropertiesTopDevicesListItem Class
- java.
lang. Object - com.
azure. resourcemanager. security. models. IoTSecurityAggregatedAlertPropertiesTopDevicesListItem
- com.
Implements
public final class IoTSecurityAggregatedAlertPropertiesTopDevicesListItem
implements JsonSerializable<IoTSecurityAggregatedAlertPropertiesTopDevicesListItem>
The IoTSecurityAggregatedAlertPropertiesTopDevicesListItem model.
Constructor Summary
| Constructor | Description |
|---|---|
| IoTSecurityAggregatedAlertPropertiesTopDevicesListItem() |
Creates an instance of Io |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Long |
alertsCount()
Get the alerts |
| String |
deviceId()
Get the device |
|
static
Io |
fromJson(JsonReader jsonReader)
Reads an instance of Io |
| String |
lastOccurrence()
Get the last |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Constructor Details
IoTSecurityAggregatedAlertPropertiesTopDevicesListItem
public IoTSecurityAggregatedAlertPropertiesTopDevicesListItem()
Creates an instance of IoTSecurityAggregatedAlertPropertiesTopDevicesListItem class.
Method Details
alertsCount
public Long alertsCount()
Get the alertsCount property: Number of alerts raised for this device.
Returns:
deviceId
public String deviceId()
Get the deviceId property: Name of the device.
Returns:
fromJson
public static IoTSecurityAggregatedAlertPropertiesTopDevicesListItem fromJson(JsonReader jsonReader)
Reads an instance of IoTSecurityAggregatedAlertPropertiesTopDevicesListItem from the JsonReader.
Parameters:
Returns:
Throws:
lastOccurrence
public String lastOccurrence()
Get the lastOccurrence property: Most recent time this alert was raised for this device, on this day.
Returns:
toJson
validate
public void validate()
Validates the instance.