Package com.datadog.api.client.v2.model
Class LogsAggregateSort
java.lang.Object
com.datadog.api.client.v2.model.LogsAggregateSort
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class LogsAggregateSort
extends Object
A sort rule
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaggregation(LogsAggregationFunction aggregation) booleanReturn true if this LogsAggregateSort object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.An aggregation functionThe metric to sort by (only used fortype=measure)getOrder()The order to use, ascending or descendinggetType()The type of sorting algorithminthashCode()order(LogsSortOrder order) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAggregation(LogsAggregationFunction aggregation) voidvoidsetOrder(LogsSortOrder order) voidsetType(LogsAggregateSortType type) toString()type(LogsAggregateSortType 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
-
LogsAggregateSort
public LogsAggregateSort()
-
-
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:
- LogsAggregateSort
-
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 LogsAggregateSort object is equal to o. -
hashCode
public int hashCode() -
toString
-