Class: DatadogAPIClient::V1::WidgetMarker

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

Overview

Markers allow you to add visual conditional formatting for your graphs.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



39
40
41
# File 'lib/datadog_api_client/v1/models/widget_marker.rb', line 39

def additional_properties
  @additional_properties
end

#display_typeObject

Combination of:

- A severity error, warning, ok, or info
- A line type: dashed, solid, or bold

In this case of a Distribution widget, this can be set to be ‘x_axis_percentile`.



28
29
30
# File 'lib/datadog_api_client/v1/models/widget_marker.rb', line 28

def display_type
  @display_type
end

#labelObject

Label to display over the marker.



31
32
33
# File 'lib/datadog_api_client/v1/models/widget_marker.rb', line 31

def label
  @label
end

#timeObject

Timestamp for the widget.



34
35
36
# File 'lib/datadog_api_client/v1/models/widget_marker.rb', line 34

def time
  @time
end

#valueObject

Value to apply. Can be a single value y = 15 or a range of values 0 < y < 10.



37
38
39
# File 'lib/datadog_api_client/v1/models/widget_marker.rb', line 37

def value
  @value
end