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_properties ⇒ Object

Returns the value of attribute additional_properties.



51
52
53
# File 'lib/datadog_api_client/v1/models/alert_value_widget_definition.rb', line 51

def additional_properties
  @additional_properties
end

#alert_id ⇒ Object

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

#description ⇒ Object

The description of the widget.



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

def description
  @description
end

#precision ⇒ Object

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



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

def precision
  @precision
end

#text_align ⇒ Object

How to align the text on the widget.



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

def text_align
  @text_align
end

#title ⇒ Object

Title of the widget.



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

def title
  @title
end

#title_align ⇒ Object

How to align the text on the widget.



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

def title_align
  @title_align
end

#title_size ⇒ Object

Size of value in the widget.



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

def title_size
  @title_size
end

#type ⇒ Object

Type of the alert value widget.



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

def type
  @type
end

#unit ⇒ Object

Unit to display with the value.



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

def unit
  @unit
end