Package com.datadog.api.client.v1.model
Class MetricsQueryResponse
java.lang.Object
com.datadog.api.client.v1.model.MetricsQueryResponse
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class MetricsQueryResponse
extends Object
Response Object that includes your query and the list of metrics retrieved.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this MetricsQueryResponse object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getError()Message indicating the errors if status is notok.Start of requested time window, milliseconds since Unix epoch.List of tag keys on which to group.Message indicatingsuccessif status isok.getQuery()Query stringType of response.List of timeseries queried.Status of the query.End of requested time window, milliseconds since Unix epoch.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ERROR
- See Also:
-
JSON_PROPERTY_FROM_DATE
- See Also:
-
JSON_PROPERTY_GROUP_BY
- See Also:
-
JSON_PROPERTY_MESSAGE
- See Also:
-
JSON_PROPERTY_QUERY
- See Also:
-
JSON_PROPERTY_RES_TYPE
- See Also:
-
JSON_PROPERTY_SERIES
- See Also:
-
JSON_PROPERTY_STATUS
- See Also:
-
JSON_PROPERTY_TO_DATE
- See Also:
-
-
Constructor Details
-
MetricsQueryResponse
public MetricsQueryResponse()
-
-
Method Details
-
getError
Message indicating the errors if status is notok.- Returns:
- error
-
getFromDate
Start of requested time window, milliseconds since Unix epoch.- Returns:
- fromDate
-
getGroupBy
List of tag keys on which to group.- Returns:
- groupBy
-
getMessage
Message indicatingsuccessif status isok.- Returns:
- message
-
getQuery
Query string- Returns:
- query
-
getResType
Type of response.- Returns:
- resType
-
getSeries
List of timeseries queried.- Returns:
- series
-
getStatus
Status of the query.- Returns:
- status
-
getToDate
End of requested time window, milliseconds since Unix epoch.- Returns:
- toDate
-
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- The arbitrary key to setvalue- The associated value- Returns:
- MetricsQueryResponse
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- The arbitrary key to get- Returns:
- The specific additional property for the given key
-
equals
Return true if this MetricsQueryResponse object is equal to o. -
hashCode
public int hashCode() -
toString
-