Class: DatadogAPIClient::V1::AlertValueWidgetDefinition

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

Overview

Alert values are query values showing the current value of the metric in any monitor defined on your system.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



48
49
50
# File 'lib/datadog_api_client/v1/models/alert_value_widget_definition.rb', line 48

def additional_properties
  @additional_properties
end

#alert_idObject

ID of the alert to use in the widget.



25
26
27
# File 'lib/datadog_api_client/v1/models/alert_value_widget_definition.rb', line 25

def alert_id
  @alert_id
end

#precisionObject

Number of decimal to show. If not defined, will use the raw value.



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

def precision
  @precision
end

#text_alignObject

How to align the text on the widget.



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

def text_align
  @text_align
end

#titleObject

Title of the widget.



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

def title
  @title
end

#title_alignObject

How to align the text on the widget.



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

def title_align
  @title_align
end

#title_sizeObject

Size of value in the widget.



40
41
42
# File 'lib/datadog_api_client/v1/models/alert_value_widget_definition.rb', line 40

def title_size
  @title_size
end

#typeObject

Type of the alert value widget.



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

def type
  @type
end

#unitObject

Unit to display with the value.



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

def unit
  @unit
end