Package com.datadog.api.client.v2.model
Class SpansAggregateSort
java.lang.Object
com.datadog.api.client.v2.model.SpansAggregateSort
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class SpansAggregateSort
extends Object
A sort rule.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaggregation(SpansAggregationFunction aggregation) booleanReturn true if this SpansAggregateSort object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.An aggregation function.The metric to sort by (only used fortype=measure).getOrder()The order to use, ascending or descending.getType()The type of sorting algorithm.inthashCode()order(SpansSortOrder order) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAggregation(SpansAggregationFunction aggregation) voidvoidsetOrder(SpansSortOrder order) voidtoString()type(SpansAggregateSortType 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
-
SpansAggregateSort
public SpansAggregateSort()
-
-
Method Details
-
aggregation
-
getAggregation
An aggregation function.- Returns:
- aggregation
-
setAggregation
-
metric
-
getMetric
The metric to sort by (only used fortype=measure).- Returns:
- metric
-
setMetric
-
order
-
getOrder
The order to use, ascending or descending.- Returns:
- order
-
setOrder
-
type
-
getType
The type of sorting algorithm.- 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:
- SpansAggregateSort
-
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 SpansAggregateSort object is equal to o. -
hashCode
public int hashCode() -
toString
-