public class AggregatedMetricsResponseBody extends Object implements ResponseBody
As JSON this type will be represented as an array of metrics, i.e., the field metrics
will not show up. For example, a collection with a single metric will be represented as
follows:
[{"id": "metricName", "min": "1"}]
| Modifier and Type | Class and Description |
|---|---|
static class |
AggregatedMetricsResponseBody.Deserializer
JSON deserializer for
AggregatedMetricsResponseBody. |
static class |
AggregatedMetricsResponseBody.Serializer
JSON serializer for
AggregatedMetricsResponseBody. |
| Constructor and Description |
|---|
AggregatedMetricsResponseBody(Collection<AggregatedMetric> metrics) |
| Modifier and Type | Method and Description |
|---|---|
Collection<AggregatedMetric> |
getMetrics() |
public AggregatedMetricsResponseBody(Collection<AggregatedMetric> metrics)
public Collection<AggregatedMetric> getMetrics()
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.