IoTSecurityAggregatedAlertPropertiesTopDevicesListItem Class

  • java.lang.Object
    • com.azure.resourcemanager.security.models.IoTSecurityAggregatedAlertPropertiesTopDevicesListItem

Implements

public final class IoTSecurityAggregatedAlertPropertiesTopDevicesListItem
implements JsonSerializable<IoTSecurityAggregatedAlertPropertiesTopDevicesListItem>

The IoTSecurityAggregatedAlertPropertiesTopDevicesListItem model.

Method Summary

Modifier and Type Method and Description
Long alertsCount()

Get the alertsCount property: Number of alerts raised for this device.

String deviceId()

Get the deviceId property: Name of the device.

static IoTSecurityAggregatedAlertPropertiesTopDevicesListItem fromJson(JsonReader jsonReader)

Reads an instance of IoTSecurityAggregatedAlertPropertiesTopDevicesListItem from the JsonReader.

String lastOccurrence()

Get the lastOccurrence property: Most recent time this alert was raised for this device, on this day.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

alertsCount

public Long alertsCount()

Get the alertsCount property: Number of alerts raised for this device.

Returns:

the alertsCount value.

deviceId

public String deviceId()

Get the deviceId property: Name of the device.

Returns:

the deviceId value.

fromJson

public static IoTSecurityAggregatedAlertPropertiesTopDevicesListItem fromJson(JsonReader jsonReader)

Reads an instance of IoTSecurityAggregatedAlertPropertiesTopDevicesListItem from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of IoTSecurityAggregatedAlertPropertiesTopDevicesListItem if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the IoTSecurityAggregatedAlertPropertiesTopDevicesListItem.

lastOccurrence

public String lastOccurrence()

Get the lastOccurrence property: Most recent time this alert was raised for this device, on this day.

Returns:

the lastOccurrence value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to