Class: DatadogAPIClient::V1::QueryValueWidgetComparison
- Inherits:
-
Object
- Object
- DatadogAPIClient::V1::QueryValueWidgetComparison
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v1/models/query_value_widget_comparison.rb
Overview
A change indicator that compares the current value to a historical period.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#directionality ⇒ Object
Color-coding direction:
increase_better(green on rise),decrease_better(green on drop), orneutral(no color). -
#duration ⇒ Object
readonly
The comparison period.
-
#type ⇒ Object
How the delta is expressed:
absolute(raw difference),relative(percentage), orboth.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
33 34 35 |
# File 'lib/datadog_api_client/v1/models/query_value_widget_comparison.rb', line 33 def additional_properties @additional_properties end |
#directionality ⇒ Object
Color-coding direction: increase_better (green on rise), decrease_better (green on drop), or neutral (no color).
25 26 27 |
# File 'lib/datadog_api_client/v1/models/query_value_widget_comparison.rb', line 25 def directionality @directionality end |
#duration ⇒ Object
The comparison period. Use a preset type value or set type to custom_timeframe and provide custom_timeframe with explicit millisecond epoch bounds.
28 29 30 |
# File 'lib/datadog_api_client/v1/models/query_value_widget_comparison.rb', line 28 def duration @duration end |
#type ⇒ Object
How the delta is expressed: absolute (raw difference), relative (percentage), or both.
31 32 33 |
# File 'lib/datadog_api_client/v1/models/query_value_widget_comparison.rb', line 31 def type @type end |