MetricNamespace Class
- java.
lang. Object - com.
azure. developer. loadtesting. models. MetricNamespace
- com.
Implements
public final class MetricNamespace
implements JsonSerializable<MetricNamespace>
Metric namespace class specifies the metadata for a metric namespace.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Metric |
fromJson(JsonReader jsonReader)
Reads an instance of Metric |
| String |
getDescription()
Get the description property: The namespace description. |
| String |
getName()
Get the name property: The metric namespace name. |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Method Details
fromJson
public static MetricNamespace fromJson(JsonReader jsonReader)
Reads an instance of MetricNamespace from the JsonReader.
Parameters:
Returns:
Throws:
getDescription
public String getDescription()
Get the description property: The namespace description.
Returns:
getName
public String getName()
Get the name property: The metric namespace name.
Returns: