Class: DatadogAPIClient::V1::ImageWidgetDefinition

Inherits:
Object
  • Object
show all
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

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

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_backgroundObject

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_borderObject

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_alignObject

Horizontal alignment.



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

def horizontal_align
  @horizontal_align
end

#marginObject

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

#sizingObject

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

#typeObject

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

#urlObject

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_themeObject

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_alignObject

Vertical alignment.



51
52
53
# File 'lib/datadog_api_client/v1/models/image_widget_definition.rb', line 51

def vertical_align
  @vertical_align
end