Class MetricAggregation
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.discovery.v1.model.MetricAggregation
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class MetricAggregation
extends com.ibm.cloud.sdk.core.service.model.GenericModel
An aggregation analyzing log information for queries and events.
-
Constructor Summary
Constructors Constructor Description MetricAggregation()
-
Method Summary
Modifier and Type Method Description String
getEventType()
Gets the eventType.String
getInterval()
Gets the interval.List<MetricAggregationResult>
getResults()
Gets the results.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Constructor Details
-
MetricAggregation
public MetricAggregation()
-
-
Method Details
-
getInterval
Gets the interval.The measurement interval for this metric. Metric intervals are always 1 day (`1d`).
- Returns:
- the interval
-
getEventType
Gets the eventType.The event type associated with this metric result. This field, when present, will always be `click`.
- Returns:
- the eventType
-
getResults
Gets the results.Array of metric aggregation query results.
- Returns:
- the results
-