MetricsResponseSeriesItem Class

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

Implements

public final class MetricsResponseSeriesItem
implements JsonSerializable<MetricsResponseSeriesItem>

The MetricsResponseSeriesItem model.

Method Summary

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

Get the data property: The data property.

static MetricsResponseSeriesItem fromJson(JsonReader jsonReader)

Reads an instance of MetricsResponseSeriesItem from the JsonReader.

List<MetricsResponseSeriesPropertiesItemsItem> groups()

Get the groups property: The groups property.

String metric()

Get the metric property: The metric property.

JsonWriter toJson(JsonWriter jsonWriter)
MetricsSeriesUnit unit()

Get the unit property: The unit property.

void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

data

public List<MetricsResponseSeriesItemData> data()

Get the data property: The data property.

Returns:

the data value.

fromJson

public static MetricsResponseSeriesItem fromJson(JsonReader jsonReader)

Reads an instance of MetricsResponseSeriesItem from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

groups

public List<MetricsResponseSeriesPropertiesItemsItem> 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 MetricsSeriesUnit unit()

Get the unit property: The unit property.

Returns:

the unit value.

validate

public void validate()

Validates the instance.

Applies to