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 Details

    • MetricTokenAggregation

      public MetricTokenAggregation()
  • Method Details

    • getEventType

      public String getEventType()
      Gets the eventType.

      The event type associated with this metric result. This field, when present, will always be `click`.

      Returns:
      the eventType
    • getResults

      public List<MetricTokenAggregationResult> getResults()
      Gets the results.

      Array of results for the metric token aggregation.

      Returns:
      the results