Class: DatadogAPIClient::V1::HeatMapWidgetRequest
- Inherits:
-
Object
- Object
- DatadogAPIClient::V1::HeatMapWidgetRequest
- Defined in:
- lib/datadog_api_client/v1/models/heat_map_widget_request.rb
Overview
Updated heat map widget.
Instance Attribute Summary collapse
-
#apm_query ⇒ Object
Returns the value of attribute apm_query.
-
#event_query ⇒ Object
Returns the value of attribute event_query.
-
#log_query ⇒ Object
Returns the value of attribute log_query.
-
#network_query ⇒ Object
Returns the value of attribute network_query.
-
#process_query ⇒ Object
Returns the value of attribute process_query.
-
#profile_metrics_query ⇒ Object
Returns the value of attribute profile_metrics_query.
-
#q ⇒ Object
Widget query.
-
#rum_query ⇒ Object
Returns the value of attribute rum_query.
-
#security_query ⇒ Object
Returns the value of attribute security_query.
-
#style ⇒ Object
Returns the value of attribute style.
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ HeatMapWidgetRequest
constructor
Initializes the object.
Constructor Details
#initialize(attributes = {}) ⇒ HeatMapWidgetRequest
Initializes the object
96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 |
# File 'lib/datadog_api_client/v1/models/heat_map_widget_request.rb', line 96 def initialize(attributes = {}) if (!attributes.is_a?(Hash)) fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V1::HeatMapWidgetRequest` initialize method" end # check to see if the attribute exists and convert string to symbol for hash key attributes = attributes.each_with_object({}) { |(k, v), h| if (!self.class.attribute_map.key?(k.to_sym)) fail ArgumentError, "`#{k}` is not a valid attribute in `DatadogAPIClient::V1::HeatMapWidgetRequest`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect end h[k.to_sym] = v } if attributes.key?(:'apm_query') self.apm_query = attributes[:'apm_query'] end if attributes.key?(:'event_query') self.event_query = attributes[:'event_query'] end if attributes.key?(:'log_query') self.log_query = attributes[:'log_query'] end if attributes.key?(:'network_query') self.network_query = attributes[:'network_query'] end if attributes.key?(:'process_query') self.process_query = attributes[:'process_query'] end if attributes.key?(:'profile_metrics_query') self.profile_metrics_query = attributes[:'profile_metrics_query'] end if attributes.key?(:'q') self.q = attributes[:'q'] end if attributes.key?(:'rum_query') self.rum_query = attributes[:'rum_query'] end if attributes.key?(:'security_query') self.security_query = attributes[:'security_query'] end if attributes.key?(:'style') self.style = attributes[:'style'] end end |
Instance Attribute Details
#apm_query ⇒ Object
Returns the value of attribute apm_query.
26 27 28 |
# File 'lib/datadog_api_client/v1/models/heat_map_widget_request.rb', line 26 def apm_query @apm_query end |
#event_query ⇒ Object
Returns the value of attribute event_query.
28 29 30 |
# File 'lib/datadog_api_client/v1/models/heat_map_widget_request.rb', line 28 def event_query @event_query end |
#log_query ⇒ Object
Returns the value of attribute log_query.
30 31 32 |
# File 'lib/datadog_api_client/v1/models/heat_map_widget_request.rb', line 30 def log_query @log_query end |
#network_query ⇒ Object
Returns the value of attribute network_query.
32 33 34 |
# File 'lib/datadog_api_client/v1/models/heat_map_widget_request.rb', line 32 def network_query @network_query end |
#process_query ⇒ Object
Returns the value of attribute process_query.
34 35 36 |
# File 'lib/datadog_api_client/v1/models/heat_map_widget_request.rb', line 34 def process_query @process_query end |
#profile_metrics_query ⇒ Object
Returns the value of attribute profile_metrics_query.
36 37 38 |
# File 'lib/datadog_api_client/v1/models/heat_map_widget_request.rb', line 36 def profile_metrics_query @profile_metrics_query end |
#q ⇒ Object
Widget query.
39 40 41 |
# File 'lib/datadog_api_client/v1/models/heat_map_widget_request.rb', line 39 def q @q end |
#rum_query ⇒ Object
Returns the value of attribute rum_query.
41 42 43 |
# File 'lib/datadog_api_client/v1/models/heat_map_widget_request.rb', line 41 def rum_query @rum_query end |
#security_query ⇒ Object
Returns the value of attribute security_query.
43 44 45 |
# File 'lib/datadog_api_client/v1/models/heat_map_widget_request.rb', line 43 def security_query @security_query end |
#style ⇒ Object
Returns the value of attribute style.
45 46 47 |
# File 'lib/datadog_api_client/v1/models/heat_map_widget_request.rb', line 45 def style @style end |