MetricNamespaces Class

  • java.lang.Object
    • com.azure.developer.loadtesting.models.MetricNamespaces

Implements

public final class MetricNamespaces
implements JsonSerializable<MetricNamespaces>

Represents collection of metric namespaces.

Method Summary

Modifier and Type Method and Description
static MetricNamespaces fromJson(JsonReader jsonReader)

Reads an instance of MetricNamespaces from the JsonReader.

List<MetricNamespace> getValue()

Get the value property: The values for the metric namespaces.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Method Details

fromJson

public static MetricNamespaces fromJson(JsonReader jsonReader)

Reads an instance of MetricNamespaces from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of MetricNamespaces if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

getValue

public List<MetricNamespace> getValue()

Get the value property: The values for the metric namespaces.

Returns:

the value value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to