WafMetricsResponseSeriesItemData Class

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

Implements

public final class WafMetricsResponseSeriesItemData
implements JsonSerializable<WafMetricsResponseSeriesItemData>

The WafMetricsResponseSeriesItemData model.

Method Summary

Modifier and Type Method and Description
OffsetDateTime dateTime()

Get the dateTime property: The dateTime property.

static WafMetricsResponseSeriesItemData fromJson(JsonReader jsonReader)

Reads an instance of WafMetricsResponseSeriesItemData from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Float value()

Get the value property: The value property.

Methods inherited from java.lang.Object

Method Details

dateTime

public OffsetDateTime dateTime()

Get the dateTime property: The dateTime property.

Returns:

the dateTime value.

fromJson

public static WafMetricsResponseSeriesItemData fromJson(JsonReader jsonReader)

Reads an instance of WafMetricsResponseSeriesItemData from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

value

public Float value()

Get the value property: The value property.

Returns:

the value value.

Applies to