MetricsResponseInner Class

  • java.lang.Object
    • com.azure.resourcemanager.cdn.fluent.models.MetricsResponseInner

Implements

public final class MetricsResponseInner
implements JsonSerializable<MetricsResponseInner>

Metrics Response.

Method Summary

Modifier and Type Method and Description
OffsetDateTime dateTimeBegin()

Get the dateTimeBegin property: The dateTimeBegin property.

OffsetDateTime dateTimeEnd()

Get the dateTimeEnd property: The dateTimeEnd property.

static MetricsResponseInner fromJson(JsonReader jsonReader)

Reads an instance of MetricsResponseInner from the JsonReader.

MetricsGranularity granularity()

Get the granularity property: The granularity property.

List<MetricsResponseSeriesItem> series()

Get the series property: The series property.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

dateTimeBegin

public OffsetDateTime dateTimeBegin()

Get the dateTimeBegin property: The dateTimeBegin property.

Returns:

the dateTimeBegin value.

dateTimeEnd

public OffsetDateTime dateTimeEnd()

Get the dateTimeEnd property: The dateTimeEnd property.

Returns:

the dateTimeEnd value.

fromJson

public static MetricsResponseInner fromJson(JsonReader jsonReader)

Reads an instance of MetricsResponseInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

granularity

public MetricsGranularity granularity()

Get the granularity property: The granularity property.

Returns:

the granularity value.

series

public List<MetricsResponseSeriesItem> series()

Get the series property: The series property.

Returns:

the series value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to