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 Details

    • MetricAggregation

      public MetricAggregation()
  • Method Details

    • getInterval

      public String getInterval()
      Gets the interval.

      The measurement interval for this metric. Metric intervals are always 1 day (`1d`).

      Returns:
      the interval
    • 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<MetricAggregationResult> getResults()
      Gets the results.

      Array of metric aggregation query results.

      Returns:
      the results