Package com.datadog.api.client.v2.model
Class QueryResponseDataAttributes
java.lang.Object
com.datadog.api.client.v2.model.QueryResponseDataAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class QueryResponseDataAttributes
extends Object
Attributes of the query response, containing the matched records and total count.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddHitsItem(Map<String, Object> hitsItem) booleanReturn true if this QueryResponseDataAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getHits()The list of matching records returned by the query, each as a map of attribute names to values.getTotal()Total number of records matching the query, regardless of the limit applied.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_HITS
- See Also:
-
JSON_PROPERTY_TOTAL
- See Also:
-
-
Constructor Details
-
QueryResponseDataAttributes
public QueryResponseDataAttributes()
-
-
Method Details
-
hits
-
addHitsItem
-
getHits
The list of matching records returned by the query, each as a map of attribute names to values.- Returns:
- hits
-
setHits
-
total
-
getTotal
Total number of records matching the query, regardless of the limit applied.- Returns:
- total
-
setTotal
-
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:
- QueryResponseDataAttributes
-
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 QueryResponseDataAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-