Class: DatadogAPIClient::V1::NoteWidgetDefinition

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

Overview

The notes and links widget is similar to free text widget, but allows for more formatting options.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_properties ⇒ Object

Returns the value of attribute additional_properties.



54
55
56
# File 'lib/datadog_api_client/v1/models/note_widget_definition.rb', line 54

def additional_properties
  @additional_properties
end

#background_color ⇒ Object

Background color of the note.



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

def background_color
  @background_color
end

#content ⇒ Object

Content of the note.



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

def content
  @content
end

#font_size ⇒ Object

Size of the text.



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

def font_size
  @font_size
end

#has_padding ⇒ Object

Whether to add padding or not.



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

def has_padding
  @has_padding
end

#show_tick ⇒ Object

Whether to show a tick or not.



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

def show_tick
  @show_tick
end

#text_align ⇒ Object

How to align the text on the widget.



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

def text_align
  @text_align
end

#tick_edge ⇒ Object

Define how you want to align the text on the widget.



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

def tick_edge
  @tick_edge
end

#tick_pos ⇒ Object

Where to position the tick on an edge.



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

def tick_pos
  @tick_pos
end

#type ⇒ Object

Type of the note widget.



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

def type
  @type
end

#vertical_align ⇒ Object

Vertical alignment.



52
53
54
# File 'lib/datadog_api_client/v1/models/note_widget_definition.rb', line 52

def vertical_align
  @vertical_align
end