Package com.datadog.api.client.v2.model
Class CIAppAggregateSort
java.lang.Object
com.datadog.api.client.v2.model.CIAppAggregateSort
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class CIAppAggregateSort
extends Object
A sort rule. The
aggregation field is required when type is
measure.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaggregation(CIAppAggregationFunction aggregation) booleanReturn true if this CIAppAggregateSort 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(CIAppSortOrder order) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAggregation(CIAppAggregationFunction aggregation) voidvoidsetOrder(CIAppSortOrder order) voidtoString()type(CIAppAggregateSortType 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
-
CIAppAggregateSort
public CIAppAggregateSort()
-
-
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:
- CIAppAggregateSort
-
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 CIAppAggregateSort object is equal to o. -
hashCode
public int hashCode() -
toString
-