IoTSecurityAlertedDevice Class

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

Implements

public final class IoTSecurityAlertedDevice
implements JsonSerializable<IoTSecurityAlertedDevice>

Statistical information about the number of alerts per device during last set number of days.

Constructor Summary

Constructor Description
IoTSecurityAlertedDevice()

Creates an instance of IoTSecurityAlertedDevice class.

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: Device identifier.

static IoTSecurityAlertedDevice fromJson(JsonReader jsonReader)

Reads an instance of IoTSecurityAlertedDevice from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

IoTSecurityAlertedDevice

public IoTSecurityAlertedDevice()

Creates an instance of IoTSecurityAlertedDevice class.

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: Device identifier.

Returns:

the deviceId value.

fromJson

public static IoTSecurityAlertedDevice fromJson(JsonReader jsonReader)

Reads an instance of IoTSecurityAlertedDevice from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of IoTSecurityAlertedDevice 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 IoTSecurityAlertedDevice.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to