Class: DatadogAPIClient::V2::RecommendationsFilterRequestData

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

Overview

JSON:API resource containing the cost recommendations filter. This legacy search contract uses the resource ID for the filter expression rather than as a persistent resource identifier.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_properties ⇒ Object

Returns the value of attribute additional_properties.



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

def additional_properties
  @additional_properties
end

#attributes ⇒ Object

Attributes used to filter and sort cost recommendations.



26
27
28
# File 'lib/datadog_api_client/v2/models/recommendations_filter_request_data.rb', line 26

def attributes
  @attributes
end

#id ⇒ Object

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



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

def id
  @id
end

#type ⇒ Object

Legacy JSON:API resource type required by the cost recommendations search decoder.



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

def type
  @type
end