Class: DatadogAPIClient::V1::Widget
- Inherits:
-
Object
- Object
- DatadogAPIClient::V1::Widget
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v1/models/widget.rb
Overview
Information about widget.
Note: The layout
property is required for widgets in dashboards with free
layout_type
.
For the new dashboard layout, the layout
property depends on the reflow_type
of the dashboard.
- If reflow_type
is fixed
, layout
is required.
- If reflow_type
is auto
, layout
should not be set.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
- #definition ⇒ Object readonly
-
#id ⇒ Object
ID of the widget.
-
#layout ⇒ Object
The layout for a widget on a
free
or new dashboard layout dashboard.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
38 39 40 |
# File 'lib/datadog_api_client/v1/models/widget.rb', line 38 def additional_properties @additional_properties end |
#definition ⇒ Object
30 31 32 |
# File 'lib/datadog_api_client/v1/models/widget.rb', line 30 def definition @definition end |
#id ⇒ Object
ID of the widget.
33 34 35 |
# File 'lib/datadog_api_client/v1/models/widget.rb', line 33 def id @id end |
#layout ⇒ Object
The layout for a widget on a free
or new dashboard layout dashboard.
36 37 38 |
# File 'lib/datadog_api_client/v1/models/widget.rb', line 36 def layout @layout end |