Class: DatadogAPIClient::V1::WidgetLayout
- Inherits:
-
Object
- Object
- DatadogAPIClient::V1::WidgetLayout
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v1/models/widget_layout.rb
Overview
The layout for a widget on a ‘free` or **new dashboard layout** dashboard.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#height ⇒ Object
readonly
The height of the widget.
-
#is_column_break ⇒ Object
Whether the widget should be the first one on the second column in high density or not.
-
#width ⇒ Object
readonly
The width of the widget.
-
#x ⇒ Object
readonly
The position of the widget on the x (horizontal) axis.
-
#y ⇒ Object
readonly
The position of the widget on the y (vertical) axis.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
40 41 42 |
# File 'lib/datadog_api_client/v1/models/widget_layout.rb', line 40 def additional_properties @additional_properties end |
#height ⇒ Object
The height of the widget. Should be a non-negative integer.
25 26 27 |
# File 'lib/datadog_api_client/v1/models/widget_layout.rb', line 25 def height @height end |
#is_column_break ⇒ Object
Whether the widget should be the first one on the second column in high density or not. Note: Only for the **new dashboard layout** and only one widget in the dashboard should have this property set to ‘true`.
29 30 31 |
# File 'lib/datadog_api_client/v1/models/widget_layout.rb', line 29 def is_column_break @is_column_break end |
#width ⇒ Object
The width of the widget. Should be a non-negative integer.
32 33 34 |
# File 'lib/datadog_api_client/v1/models/widget_layout.rb', line 32 def width @width end |
#x ⇒ Object
The position of the widget on the x (horizontal) axis. Should be a non-negative integer.
35 36 37 |
# File 'lib/datadog_api_client/v1/models/widget_layout.rb', line 35 def x @x end |
#y ⇒ Object
The position of the widget on the y (vertical) axis. Should be a non-negative integer.
38 39 40 |
# File 'lib/datadog_api_client/v1/models/widget_layout.rb', line 38 def y @y end |