Class: DatadogAPIClient::V1::AlertGraphWidgetDefinition

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

Overview

Alert graphs are timeseries graphs showing the current status of 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.



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

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_graph_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_graph_widget_definition.rb', line 28

def description
  @description
end

#time ⇒ Object

Time setting for the widget.



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

def time
  @time
end

#title ⇒ Object

The title of the widget.



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

def title
  @title
end

#title_align ⇒ Object

How to align the text on the widget.



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

def title_align
  @title_align
end

#title_size ⇒ Object

Size of the title.



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

def title_size
  @title_size
end

#type ⇒ Object

Type of the alert graph widget.



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

def type
  @type
end

#viz_type ⇒ Object

Whether to display the Alert Graph as a timeseries or a top list.



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

def viz_type
  @viz_type
end