Class: DatadogAPIClient::V1::WidgetConditionalFormat

Inherits:
Object
  • Object
show all
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

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

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

#comparatorObject

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_colorObject

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_colorObject

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_valueObject

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_urlObject

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

#metricObject

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

#paletteObject

Color palette to apply.



43
44
45
# File 'lib/datadog_api_client/v1/models/widget_conditional_format.rb', line 43

def palette
  @palette
end

#timeframeObject

Defines the displayed timeframe.



46
47
48
# File 'lib/datadog_api_client/v1/models/widget_conditional_format.rb', line 46

def timeframe
  @timeframe
end

#valueObject

Value for the comparator.



49
50
51
# File 'lib/datadog_api_client/v1/models/widget_conditional_format.rb', line 49

def value
  @value
end