public class MetricAggregationResult
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Field and Description |
---|---|
protected java.lang.Double |
eventRate |
protected java.lang.Long |
key |
protected java.util.Date |
keyAsString |
protected java.lang.Long |
matchingResults |
Constructor and Description |
---|
MetricAggregationResult() |
Modifier and Type | Method and Description |
---|---|
java.lang.Double |
getEventRate()
Gets the eventRate.
|
java.lang.Long |
getKey()
Gets the key.
|
java.util.Date |
getKeyAsString()
Gets the keyAsString.
|
java.lang.Long |
getMatchingResults()
Gets the matchingResults.
|
@SerializedName(value="key_as_string") protected java.util.Date keyAsString
protected java.lang.Long key
@SerializedName(value="matching_results") protected java.lang.Long matchingResults
@SerializedName(value="event_rate") protected java.lang.Double eventRate
public java.util.Date getKeyAsString()
Date in string form representing the start of this interval.
public java.lang.Long getKey()
Unix epoch time equivalent of the **key_as_string**, that represents the start of this interval.
public java.lang.Long getMatchingResults()
Number of matching results.
public java.lang.Double getEventRate()
The number of queries with associated events divided by the total number of queries for the interval. Only returned with **event_rate** metrics.