Class: DatadogAPIClient::V2::CIAppAggregateSort

Inherits:
Object
  • Object
show all
Includes:
BaseGenericModel
Defined in:
lib/datadog_api_client/v2/models/ci_app_aggregate_sort.rb

Overview

A sort rule. The aggregation field is required when type is measure.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



36
37
38
# File 'lib/datadog_api_client/v2/models/ci_app_aggregate_sort.rb', line 36

def additional_properties
  @additional_properties
end

#aggregationObject

An aggregation function.



25
26
27
# File 'lib/datadog_api_client/v2/models/ci_app_aggregate_sort.rb', line 25

def aggregation
  @aggregation
end

#metricObject

The metric to sort by (only used for type=measure).



28
29
30
# File 'lib/datadog_api_client/v2/models/ci_app_aggregate_sort.rb', line 28

def metric
  @metric
end

#orderObject

The order to use, ascending or descending.



31
32
33
# File 'lib/datadog_api_client/v2/models/ci_app_aggregate_sort.rb', line 31

def order
  @order
end

#typeObject

The type of sorting algorithm.



34
35
36
# File 'lib/datadog_api_client/v2/models/ci_app_aggregate_sort.rb', line 34

def type
  @type
end