MetricValue Class
- java.
lang. Object - com.
azure. developer. loadtesting. models. MetricValue
- com.
Implements
public final class MetricValue
implements JsonSerializable<MetricValue>
Represents a metric value.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Metric |
fromJson(JsonReader jsonReader)
Reads an instance of Metric |
|
Offset |
getTimestamp()
Get the timestamp property: The timestamp for the metric value in RFC 3339 format. |
| Double |
getValue()
Get the value property: The metric value. |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Method Details
fromJson
public static MetricValue fromJson(JsonReader jsonReader)
Reads an instance of MetricValue from the JsonReader.
Parameters:
Returns:
Throws:
getTimestamp
public OffsetDateTime getTimestamp()
Get the timestamp property: The timestamp for the metric value in RFC 3339 format.
Returns:
getValue
public Double getValue()
Get the value property: The metric value.
Returns: