Class MetricTokenAggregation
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.discovery.v1.model.MetricTokenAggregation
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class MetricTokenAggregation
extends com.ibm.cloud.sdk.core.service.model.GenericModel
An aggregation analyzing log information for queries and events.
-
Constructor Summary
Constructors Constructor Description MetricTokenAggregation()
-
Method Summary
Modifier and Type Method Description String
getEventType()
Gets the eventType.List<MetricTokenAggregationResult>
getResults()
Gets the results.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Constructor Details
-
MetricTokenAggregation
public MetricTokenAggregation()
-
-
Method Details
-
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 results for the metric token aggregation.
- Returns:
- the results
-