WafMetricsResponseInner Class

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

Implements

public final class WafMetricsResponseInner
implements JsonSerializable<WafMetricsResponseInner>

Waf 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 WafMetricsResponseInner fromJson(JsonReader jsonReader)

Reads an instance of WafMetricsResponseInner from the JsonReader.

WafMetricsGranularity granularity()

Get the granularity property: The granularity property.

List<WafMetricsResponseSeriesItem> 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 WafMetricsResponseInner fromJson(JsonReader jsonReader)

Reads an instance of WafMetricsResponseInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

granularity

public WafMetricsGranularity granularity()

Get the granularity property: The granularity property.

Returns:

the granularity value.

series

public List<WafMetricsResponseSeriesItem> 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