Class: DatadogAPIClient::V1::ImageWidgetDefinition
- Inherits:
-
Object
- Object
- DatadogAPIClient::V1::ImageWidgetDefinition
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v1/models/image_widget_definition.rb
Overview
The image widget allows you to embed an image on your dashboard. An image can be a PNG, JPG, or animated GIF. Only available on FREE layout dashboards.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#has_background ⇒ Object
Whether to display a background or not.
-
#has_border ⇒ Object
Whether to display a border or not.
-
#horizontal_align ⇒ Object
Horizontal alignment.
-
#margin ⇒ Object
Size of the margins around the image.
-
#sizing ⇒ Object
How to size the image on the widget.
-
#type ⇒ Object
readonly
Type of the image widget.
-
#url ⇒ Object
readonly
URL of the image.
-
#url_dark_theme ⇒ Object
URL of the image in dark mode.
-
#vertical_align ⇒ Object
Vertical alignment.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
53 54 55 |
# File 'lib/datadog_api_client/v1/models/image_widget_definition.rb', line 53 def additional_properties @additional_properties end |
#has_background ⇒ Object
Whether to display a background or not.
25 26 27 |
# File 'lib/datadog_api_client/v1/models/image_widget_definition.rb', line 25 def has_background @has_background end |
#has_border ⇒ Object
Whether to display a border or not.
28 29 30 |
# File 'lib/datadog_api_client/v1/models/image_widget_definition.rb', line 28 def has_border @has_border end |
#horizontal_align ⇒ Object
Horizontal alignment.
31 32 33 |
# File 'lib/datadog_api_client/v1/models/image_widget_definition.rb', line 31 def horizontal_align @horizontal_align end |
#margin ⇒ Object
Size of the margins around the image. Note: ‘small` and `large` values are deprecated.
35 36 37 |
# File 'lib/datadog_api_client/v1/models/image_widget_definition.rb', line 35 def margin @margin end |
#sizing ⇒ Object
How to size the image on the widget. The values are based on the image ‘object-fit` CSS properties. Note: `zoom`, `fit` and `center` values are deprecated.
39 40 41 |
# File 'lib/datadog_api_client/v1/models/image_widget_definition.rb', line 39 def sizing @sizing end |
#type ⇒ Object
Type of the image widget.
42 43 44 |
# File 'lib/datadog_api_client/v1/models/image_widget_definition.rb', line 42 def type @type end |
#url ⇒ Object
URL of the image.
45 46 47 |
# File 'lib/datadog_api_client/v1/models/image_widget_definition.rb', line 45 def url @url end |
#url_dark_theme ⇒ Object
URL of the image in dark mode.
48 49 50 |
# File 'lib/datadog_api_client/v1/models/image_widget_definition.rb', line 48 def url_dark_theme @url_dark_theme end |
#vertical_align ⇒ Object
Vertical alignment.
51 52 53 |
# File 'lib/datadog_api_client/v1/models/image_widget_definition.rb', line 51 def vertical_align @vertical_align end |