IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem Class

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

Implements

public final class IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem
implements JsonSerializable<IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem>

The IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem model.

Constructor Summary

Constructor Description
IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem()

Creates an instance of IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem class.

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.

IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem withDate(OffsetDateTime date)

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

IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem withDevicesMetrics(IoTSeverityMetrics devicesMetrics)

Set the devicesMetrics property: Device alert count by severity.

Methods inherited from java.lang.Object

Constructor Details

IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem

public IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem()

Creates an instance of IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem class.

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.

withDate

public IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem withDate(OffsetDateTime date)

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

Parameters:

date - the date value to set.

Returns:

the IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem object itself.

withDevicesMetrics

public IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem withDevicesMetrics(IoTSeverityMetrics devicesMetrics)

Set the devicesMetrics property: Device alert count by severity.

Parameters:

devicesMetrics - the devicesMetrics value to set.

Returns:

the IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem object itself.

Applies to