Class: DatadogAPIClient::V1::WidgetConditionalFormat
- Inherits:
-
Object
- Object
- DatadogAPIClient::V1::WidgetConditionalFormat
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v1/models/widget_conditional_format.rb
Overview
Define a conditional format for the widget.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#comparator ⇒ Object
readonly
Comparator to apply.
-
#custom_bg_color ⇒ Object
Color palette to apply to the background, same values available as palette.
-
#custom_fg_color ⇒ Object
Color palette to apply to the foreground, same values available as palette.
-
#hide_value ⇒ Object
True hides values.
-
#image_url ⇒ Object
Displays an image as the background.
-
#metric ⇒ Object
Metric from the request to correlate this conditional format with.
-
#palette ⇒ Object
readonly
Color palette to apply.
-
#timeframe ⇒ Object
Defines the displayed timeframe.
-
#value ⇒ Object
readonly
Value for the comparator.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
51 52 53 |
# File 'lib/datadog_api_client/v1/models/widget_conditional_format.rb', line 51 def additional_properties @additional_properties end |
#comparator ⇒ Object
Comparator to apply.
25 26 27 |
# File 'lib/datadog_api_client/v1/models/widget_conditional_format.rb', line 25 def comparator @comparator end |
#custom_bg_color ⇒ Object
Color palette to apply to the background, same values available as palette.
28 29 30 |
# File 'lib/datadog_api_client/v1/models/widget_conditional_format.rb', line 28 def custom_bg_color @custom_bg_color end |
#custom_fg_color ⇒ Object
Color palette to apply to the foreground, same values available as palette.
31 32 33 |
# File 'lib/datadog_api_client/v1/models/widget_conditional_format.rb', line 31 def custom_fg_color @custom_fg_color end |
#hide_value ⇒ Object
True hides values.
34 35 36 |
# File 'lib/datadog_api_client/v1/models/widget_conditional_format.rb', line 34 def hide_value @hide_value end |
#image_url ⇒ Object
Displays an image as the background.
37 38 39 |
# File 'lib/datadog_api_client/v1/models/widget_conditional_format.rb', line 37 def image_url @image_url end |
#metric ⇒ Object
Metric from the request to correlate this conditional format with.
40 41 42 |
# File 'lib/datadog_api_client/v1/models/widget_conditional_format.rb', line 40 def metric @metric end |
#palette ⇒ Object
Color palette to apply.
43 44 45 |
# File 'lib/datadog_api_client/v1/models/widget_conditional_format.rb', line 43 def palette @palette end |
#timeframe ⇒ Object
Defines the displayed timeframe.
46 47 48 |
# File 'lib/datadog_api_client/v1/models/widget_conditional_format.rb', line 46 def timeframe @timeframe end |
#value ⇒ Object
Value for the comparator.
49 50 51 |
# File 'lib/datadog_api_client/v1/models/widget_conditional_format.rb', line 49 def value @value end |