@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class CIAppAggregateSort extends Object
aggregation field is required when type is
measure.| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_AGGREGATION |
static String |
JSON_PROPERTY_METRIC |
static String |
JSON_PROPERTY_ORDER |
static String |
JSON_PROPERTY_TYPE |
boolean |
unparsed |
| Constructor and Description |
|---|
CIAppAggregateSort() |
| Modifier and Type | Method and Description |
|---|---|
CIAppAggregateSort |
aggregation(CIAppAggregationFunction aggregation) |
boolean |
equals(Object o)
Return true if this CIAppAggregateSort object is equal to o.
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
CIAppAggregationFunction |
getAggregation()
An aggregation function.
|
String |
getMetric()
The metric to sort by (only used for
type=measure). |
CIAppSortOrder |
getOrder()
The order to use, ascending or descending.
|
CIAppAggregateSortType |
getType()
The type of sorting algorithm.
|
int |
hashCode() |
CIAppAggregateSort |
metric(String metric) |
CIAppAggregateSort |
order(CIAppSortOrder order) |
CIAppAggregateSort |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setAggregation(CIAppAggregationFunction aggregation) |
void |
setMetric(String metric) |
void |
setOrder(CIAppSortOrder order) |
void |
setType(CIAppAggregateSortType type) |
String |
toString() |
CIAppAggregateSort |
type(CIAppAggregateSortType type) |
public boolean unparsed
public static final String JSON_PROPERTY_AGGREGATION
public static final String JSON_PROPERTY_METRIC
public static final String JSON_PROPERTY_ORDER
public static final String JSON_PROPERTY_TYPE
public CIAppAggregateSort aggregation(CIAppAggregationFunction aggregation)
@Nullable public CIAppAggregationFunction getAggregation()
public void setAggregation(CIAppAggregationFunction aggregation)
public CIAppAggregateSort metric(String metric)
@Nullable public String getMetric()
type=measure).public void setMetric(String metric)
public CIAppAggregateSort order(CIAppSortOrder order)
@Nullable public CIAppSortOrder getOrder()
public void setOrder(CIAppSortOrder order)
public CIAppAggregateSort type(CIAppAggregateSortType type)
@Nullable public CIAppAggregateSortType getType()
public void setType(CIAppAggregateSortType type)
public CIAppAggregateSort putAdditionalProperty(String key, Object value)
key - The arbitrary key to setvalue - The associated valuepublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - The arbitrary key to getpublic boolean equals(Object o)
Copyright © 2024. All rights reserved.