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

#has_backgroundObject

Whether to display a background or not.



29
30
31
# File 'lib/datadog_api_client/v1/models/image_widget_definition.rb', line 29

def has_background
  @has_background
end

#has_borderObject

Whether to display a border or not.



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

def has_border
  @has_border
end

#horizontal_alignObject

Horizontal alignment.



35
36
37
# File 'lib/datadog_api_client/v1/models/image_widget_definition.rb', line 35

def horizontal_align
  @horizontal_align
end

#marginObject

Size of the margins around the image. Note: small and large values are deprecated.



39
40
41
# File 'lib/datadog_api_client/v1/models/image_widget_definition.rb', line 39

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.



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

def sizing
  @sizing
end

#typeObject

Type of the image widget.



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

def type
  @type
end

#urlObject

URL of the image.



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

def url
  @url
end

#url_dark_themeObject

URL of the image in dark mode.



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

def url_dark_theme
  @url_dark_theme
end

#vertical_alignObject

Vertical alignment.



55
56
57
# File 'lib/datadog_api_client/v1/models/image_widget_definition.rb', line 55

def vertical_align
  @vertical_align
end