WafMetricsResponseSeriesItem Class

  • java.lang.Object
    • com.azure.resourcemanager.cdn.models.WafMetricsResponseSeriesItem

Implements

public final class WafMetricsResponseSeriesItem
implements JsonSerializable<WafMetricsResponseSeriesItem>

The WafMetricsResponseSeriesItem model.

Method Summary

Modifier and Type Method and Description
List<WafMetricsResponseSeriesItemData> data()

Get the data property: The data property.

static WafMetricsResponseSeriesItem fromJson(JsonReader jsonReader)

Reads an instance of WafMetricsResponseSeriesItem from the JsonReader.

List<WafMetricsResponseSeriesPropertiesItemsItem> groups()

Get the groups property: The groups property.

String metric()

Get the metric property: The metric property.

JsonWriter toJson(JsonWriter jsonWriter)
WafMetricsSeriesUnit unit()

Get the unit property: The unit property.

void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

data

public List<WafMetricsResponseSeriesItemData> data()

Get the data property: The data property.

Returns:

the data value.

fromJson

public static WafMetricsResponseSeriesItem fromJson(JsonReader jsonReader)

Reads an instance of WafMetricsResponseSeriesItem from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

groups

public List<WafMetricsResponseSeriesPropertiesItemsItem> groups()

Get the groups property: The groups property.

Returns:

the groups value.

metric

public String metric()

Get the metric property: The metric property.

Returns:

the metric value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

unit

public WafMetricsSeriesUnit unit()

Get the unit property: The unit property.

Returns:

the unit value.

validate

public void validate()

Validates the instance.

Applies to