IoTSeverityMetrics Class

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

Implements

public final class IoTSeverityMetrics
implements JsonSerializable<IoTSeverityMetrics>

IoT Security solution analytics severity metrics.

Method Summary

Modifier and Type Method and Description
static IoTSeverityMetrics fromJson(JsonReader jsonReader)

Reads an instance of IoTSeverityMetrics from the JsonReader.

Long high()

Get the high property: Count of high severity alerts/recommendations.

Long low()

Get the low property: Count of low severity alerts/recommendations.

Long medium()

Get the medium property: Count of medium severity alerts/recommendations.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

fromJson

public static IoTSeverityMetrics fromJson(JsonReader jsonReader)

Reads an instance of IoTSeverityMetrics from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

high

public Long high()

Get the high property: Count of high severity alerts/recommendations.

Returns:

the high value.

low

public Long low()

Get the low property: Count of low severity alerts/recommendations.

Returns:

the low value.

medium

public Long medium()

Get the medium property: Count of medium severity alerts/recommendations.

Returns:

the medium value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to