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.



40
41
42
# File 'lib/datadog_api_client/v2/models/recommendations_filter_request_data_attributes.rb', line 40

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. An empty value is treated as ccm.



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

def scope
  @scope
end

#sort ⇒ Object

Ordered list of sort clauses applied to the result set.



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

def sort
  @sort
end

#view ⇒ Object

Status view to return: all, active (not dismissed), dismissed, open, in-progress, or completed. Defaults to all, which returns recommendations in every status.



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

def view
  @view
end