Class MetricResponse

java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.discovery.v1.model.MetricResponse
All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel

public class MetricResponse
extends com.ibm.cloud.sdk.core.service.model.GenericModel
The response generated from a call to a **metrics** method.
  • Constructor Details

    • MetricResponse

      public MetricResponse()
  • Method Details

    • getAggregations

      public List<MetricAggregation> getAggregations()
      Gets the aggregations.

      Array of metric aggregations.

      Returns:
      the aggregations