Sha256: 1562d59caf85420a6769a2410cff6e727b7d51630c839ff915812214d540eed2

Contents?: true

Size: 1.25 KB

Versions: 5

Compression:

Stored size: 1.25 KB

Contents

# DatadogAPIClient::V1::ImageWidgetDefinition

## Properties

| Name | Type | Description | Notes |
| ---- | ---- | ----------- | ----- |
| **has_background** | **Boolean** | Whether to display a background or not. | [optional][default to true] |
| **has_border** | **Boolean** | Whether to display a border or not. | [optional][default to true] |
| **horizontal_align** | [**WidgetHorizontalAlign**](WidgetHorizontalAlign.md) |  | [optional] |
| **margin** | [**WidgetMargin**](WidgetMargin.md) |  | [optional] |
| **sizing** | [**WidgetImageSizing**](WidgetImageSizing.md) |  | [optional] |
| **type** | [**ImageWidgetDefinitionType**](ImageWidgetDefinitionType.md) |  | [default to 'image'] |
| **url** | **String** | URL of the image. |  |
| **url_dark_theme** | **String** | URL of the image in dark mode. | [optional] |
| **vertical_align** | [**WidgetVerticalAlign**](WidgetVerticalAlign.md) |  | [optional] |

## Example

```ruby
require 'datadog_api_client/v1'

instance = DatadogAPIClient::V1::ImageWidgetDefinition.new(
  has_background: true,
  has_border: true,
  horizontal_align: null,
  margin: null,
  sizing: null,
  type: null,
  url: https://example.com/image.png,
  url_dark_theme: https://example.com/image-dark-mode.png,
  vertical_align: null
)
```

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
datadog_api_client-1.4.0 docs/v1/ImageWidgetDefinition.md
datadog_api_client-1.3.0 docs/v1/ImageWidgetDefinition.md
datadog_api_client-1.2.0 docs/v1/ImageWidgetDefinition.md
datadog_api_client-1.1.0 docs/v1/ImageWidgetDefinition.md
datadog_api_client-1.0.0 docs/v1/ImageWidgetDefinition.md