Class: DatadogAPIClient::V1::FreeTextWidgetDefinition

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

Overview

Free text is a widget that allows you to add headings to your dashboard. Commonly used to state the overall purpose of the dashboard.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_properties ⇒ Object

Returns the value of attribute additional_properties.



42
43
44
# File 'lib/datadog_api_client/v1/models/free_text_widget_definition.rb', line 42

def additional_properties
  @additional_properties
end

#background_color ⇒ Object

Background color of the widget. Supported values are white, blue, purple, pink, orange, yellow, green, gray, vivid_blue, vivid_purple, vivid_pink, vivid_orange, vivid_yellow, vivid_green, and transparent.



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

def background_color
  @background_color
end

#color ⇒ Object

Color of the text.



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

def color
  @color
end

#font_size ⇒ Object

Size of the text.



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

def font_size
  @font_size
end

#text ⇒ Object

Text to display.



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

def text
  @text
end

#text_align ⇒ Object

How to align the text on the widget.



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

def text_align
  @text_align
end

#type ⇒ Object

Type of the free text widget.



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

def type
  @type
end