IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem Class

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

Implements

public final class IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem
implements JsonSerializable<IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem>

The IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem model.

Method Summary

Modifier and Type Method and Description
OffsetDateTime date()

Get the date property: Aggregation of IoT Security solution device alert metrics by date.

IoTSeverityMetrics devicesMetrics()

Get the devicesMetrics property: Device alert count by severity.

static IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem fromJson(JsonReader jsonReader)

Reads an instance of IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

date

public OffsetDateTime date()

Get the date property: Aggregation of IoT Security solution device alert metrics by date.

Returns:

the date value.

devicesMetrics

public IoTSeverityMetrics devicesMetrics()

Get the devicesMetrics property: Device alert count by severity.

Returns:

the devicesMetrics value.

fromJson

public static IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem fromJson(JsonReader jsonReader)

Reads an instance of IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to