Class: DatadogAPIClient::V2::RecommendationsFilterRequestDataAttributes

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

Overview

Attributes used to filter and sort cost recommendations.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_properties ⇒ Object

Returns the value of attribute additional_properties.



38
39
40
# File 'lib/datadog_api_client/v2/models/recommendations_filter_request_data_attributes.rb', line 38

def additional_properties
  @additional_properties
end

#filter ⇒ Object

Filter expression applied to the recommendations. When supplied, this attribute overrides data.id, including when empty. When omitted, data.id is used. If the resulting filter is empty, it defaults to *. Scope, view, and pagination still apply.



27
28
29
# File 'lib/datadog_api_client/v2/models/recommendations_filter_request_data_attributes.rb', line 27

def filter
  @filter
end

#scope ⇒ Object

Recommendations scope. Defaults to ccm; use experiment for experimental recommendations or * for both.



30
31
32
# File 'lib/datadog_api_client/v2/models/recommendations_filter_request_data_attributes.rb', line 30

def scope
  @scope
end

#sort ⇒ Object

Ordered list of sort clauses applied to the result set.



33
34
35
# File 'lib/datadog_api_client/v2/models/recommendations_filter_request_data_attributes.rb', line 33

def sort
  @sort
end

#view ⇒ Object

Active view name (for example, active, dismissed, open, in-progress, or completed).



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

def view
  @view
end