public class MetricAggregation
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
eventType |
protected java.lang.String |
interval |
protected java.util.List<MetricAggregationResult> |
results |
Constructor and Description |
---|
MetricAggregation() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getEventType()
Gets the eventType.
|
java.lang.String |
getInterval()
Gets the interval.
|
java.util.List<MetricAggregationResult> |
getResults()
Gets the results.
|
protected java.lang.String interval
@SerializedName(value="event_type") protected java.lang.String eventType
protected java.util.List<MetricAggregationResult> results
public java.lang.String getInterval()
The measurement interval for this metric. Metric intervals are always 1 day (`1d`).
public java.lang.String getEventType()
The event type associated with this metric result. This field, when present, will always be `click`.
public java.util.List<MetricAggregationResult> getResults()
Array of metric aggregation query results.