Class: DatadogAPIClient::V2::EventsGroupBySort

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

Overview

The dimension by which to sort a query's results.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#aggregationObject

The type of aggregation that can be performed on events-based queries.



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

def aggregation
  @aggregation
end

#metricObject

The metric's calculated value which should be used to define the sort order of a query's results.



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

def metric
  @metric
end

#orderObject

Direction of sort.



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

def order
  @order
end

#typeObject

The type of sort to use on the calculated value.



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

def type
  @type
end