Package com.datadog.api.client.v2.model
Class EventsGroupBySort
java.lang.Object
com.datadog.api.client.v2.model.EventsGroupBySort
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class EventsGroupBySort
extends Object
The dimension by which to sort a query's results.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaggregation(EventsAggregation aggregation) booleanReturn true if this EventsGroupBySort object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The type of aggregation that can be performed on events-based queries.The metric's calculated value which should be used to define the sort order of a query's results.getOrder()Direction of sort.getType()The type of sort to use on the calculated value.inthashCode()order(QuerySortOrder order) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAggregation(EventsAggregation aggregation) voidvoidsetOrder(QuerySortOrder order) voidsetType(EventsSortType type) toString()type(EventsSortType type)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_AGGREGATION
- See Also:
-
JSON_PROPERTY_METRIC
- See Also:
-
JSON_PROPERTY_ORDER
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
EventsGroupBySort
public EventsGroupBySort() -
EventsGroupBySort
-
-
Method Details
-
aggregation
-
getAggregation
The type of aggregation that can be performed on events-based queries.- Returns:
- aggregation
-
setAggregation
-
metric
-
getMetric
The metric's calculated value which should be used to define the sort order of a query's results.- Returns:
- metric
-
setMetric
-
order
-
getOrder
Direction of sort.- Returns:
- order
-
setOrder
-
type
-
getType
The type of sort to use on the calculated value.- Returns:
- type
-
setType
-
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:
- EventsGroupBySort
-
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 EventsGroupBySort object is equal to o. -
hashCode
public int hashCode() -
toString
-