Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 15 additions & 11 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3368,8 +3368,10 @@ components:
x-enum-varnames:
- FORMULA
FreeTextWidgetDefinition:
description: Free text is a widget that allows you to add headings to your screenboard. Commonly used to state the overall purpose of the dashboard. Only available on FREE layout dashboards.
description: Free text is a widget that allows you to add headings to your dashboard. Commonly used to state the overall purpose of the dashboard.
properties:
background_color:
$ref: "#/components/schemas/WidgetBackgroundColor"
color:
description: Color of the text.
type: string
Expand Down Expand Up @@ -3810,11 +3812,10 @@ components:
x-enum-varnames:
- GROUP
GroupWidgetDefinition:
description: The groups widget allows you to keep similar graphs together on your timeboard. Each group has a custom header, can hold one to many graphs, and is collapsible.
description: The group widget allows you to keep similar graphs together on your dashboard. Each group has a custom header, can hold one to many graphs, and is collapsible.
properties:
background_color:
description: Background color of the group title.
type: string
$ref: "#/components/schemas/WidgetBackgroundColor"
banner_img:
description: URL of image to display as a banner for the group.
type: string
Expand Down Expand Up @@ -4672,7 +4673,7 @@ components:
- VULN_MANAGEMENT_HOSTS_USAGE
- WORKFLOW_EXECUTIONS_USAGE
IFrameWidgetDefinition:
description: The iframe widget allows you to embed a portion of any other web page on your dashboard. Only available on FREE layout dashboards.
description: The iframe widget allows you to embed a portion of any other web page on your dashboard.
properties:
type:
$ref: "#/components/schemas/IFrameWidgetDefinitionType"
Expand Down Expand Up @@ -4944,7 +4945,7 @@ components:
- message
type: object
ImageWidgetDefinition:
description: 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.
description: The image widget allows you to embed an image on your dashboard. An image can be a PNG, JPG, or animated GIF.
properties:
has_background:
default: true
Expand Down Expand Up @@ -5345,7 +5346,7 @@ components:
- query
type: object
LogStreamWidgetDefinition:
description: The Log Stream displays a log flow matching the defined query. Only available on FREE layout dashboards.
description: The Log Stream displays a log flow matching the defined query.
properties:
columns:
description: Which columns to display on the widget.
Expand Down Expand Up @@ -8766,7 +8767,7 @@ components:
$ref: "#/components/schemas/MonitorOverallStates"
type: object
MonitorSummaryWidgetDefinition:
description: The monitor summary widget displays a summary view of all your Datadog monitors, or a subset based on a query. Only available on FREE layout dashboards.
description: The monitor summary widget displays a summary view of all your Datadog monitors, or a subset based on a query.
properties:
color_preference:
$ref: "#/components/schemas/WidgetColorPreference"
Expand Down Expand Up @@ -12897,7 +12898,7 @@ components:
- METRIC
- TIME_SLICE
SLOWidgetDefinition:
description: Use the SLO and uptime widget to track your SLOs (Service Level Objectives) and uptime on screenboards and timeboards.
description: Use the SLO and uptime widget to track your SLOs (Service Level Objectives) and uptime on dashboards.
properties:
additional_query_filters:
description: Additional filters applied to the SLO query.
Expand Down Expand Up @@ -14108,7 +14109,7 @@ components:
x-enum-varnames:
- SERVICEMAP
ServiceSummaryWidgetDefinition:
description: The service summary displays the graphs of a chosen service in your screenboard. Only available on FREE layout dashboards.
description: The service summary displays the graphs of a chosen service in your dashboard.
properties:
description:
description: The description of the widget.
Expand Down Expand Up @@ -18657,7 +18658,7 @@ components:
- BAR
- TREND
TableWidgetDefinition:
description: The table visualization is available on timeboards and screenboards. It displays columns of metrics grouped by tag key.
description: The table visualization is available on dashboards. It displays columns of metrics grouped by tag key.
properties:
custom_links:
description: List of custom links.
Expand Down Expand Up @@ -24139,6 +24140,9 @@ components:
description: Specifies the scale type. Possible values are `linear`, `log`, `sqrt`, and `pow##` (for example `pow2` or `pow0.5`).
type: string
type: object
WidgetBackgroundColor:
description: "Background color of the widget. Supported values are `white`, `blue`, `purple`, `pink`, `orange`, `yellow`, `green`, `gray`, `vivid_blue`, `vivid_purple`, `vivid_pink`, `vivid_orange`, `vivid_yellow`, `vivid_green`, and `transparent`."
type: string
WidgetChangeType:
description: Show the absolute or the relative change.
enum:
Expand Down
14 changes: 12 additions & 2 deletions lib/datadog_api_client/v1/models/free_text_widget_definition.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,13 @@
require 'time'

module DatadogAPIClient::V1
# Free text is a widget that allows you to add headings to your screenboard. Commonly used to state the overall purpose of the dashboard. Only available on FREE layout dashboards.
# Free text is a widget that allows you to add headings to your dashboard. Commonly used to state the overall purpose of the dashboard.
class FreeTextWidgetDefinition
include BaseGenericModel

# Background color of the widget. Supported values are `white`, `blue`, `purple`, `pink`, `orange`, `yellow`, `green`, `gray`, `vivid_blue`, `vivid_purple`, `vivid_pink`, `vivid_orange`, `vivid_yellow`, `vivid_green`, and `transparent`.
attr_accessor :background_color

# Color of the text.
attr_accessor :color

Expand All @@ -42,6 +45,7 @@ class FreeTextWidgetDefinition
# @!visibility private
def self.attribute_map
{
:'background_color' => :'background_color',
:'color' => :'color',
:'font_size' => :'font_size',
:'text' => :'text',
Expand All @@ -54,6 +58,7 @@ def self.attribute_map
# @!visibility private
def self.openapi_types
{
:'background_color' => :'String',
:'color' => :'String',
:'font_size' => :'String',
:'text' => :'String',
Expand All @@ -80,6 +85,10 @@ def initialize(attributes = {})
end
}

if attributes.key?(:'background_color')
self.background_color = attributes[:'background_color']
end

if attributes.key?(:'color')
self.color = attributes[:'color']
end
Expand Down Expand Up @@ -156,6 +165,7 @@ def to_hash
def ==(o)
return true if self.equal?(o)
self.class == o.class &&
background_color == o.background_color &&
color == o.color &&
font_size == o.font_size &&
text == o.text &&
Expand All @@ -168,7 +178,7 @@ def ==(o)
# @return [Integer] Hash code
# @!visibility private
def hash
[color, font_size, text, text_align, type, additional_properties].hash
[background_color, color, font_size, text, text_align, type, additional_properties].hash
end
end
end
4 changes: 2 additions & 2 deletions lib/datadog_api_client/v1/models/group_widget_definition.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
require 'time'

module DatadogAPIClient::V1
# The groups widget allows you to keep similar graphs together on your timeboard. Each group has a custom header, can hold one to many graphs, and is collapsible.
# The group widget allows you to keep similar graphs together on your dashboard. Each group has a custom header, can hold one to many graphs, and is collapsible.
class GroupWidgetDefinition
include BaseGenericModel

# Background color of the group title.
# Background color of the widget. Supported values are `white`, `blue`, `purple`, `pink`, `orange`, `yellow`, `green`, `gray`, `vivid_blue`, `vivid_purple`, `vivid_pink`, `vivid_orange`, `vivid_yellow`, `vivid_green`, and `transparent`.
attr_accessor :background_color

# URL of image to display as a banner for the group.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
require 'time'

module DatadogAPIClient::V1
# The iframe widget allows you to embed a portion of any other web page on your dashboard. Only available on FREE layout dashboards.
# The iframe widget allows you to embed a portion of any other web page on your dashboard.
class IFrameWidgetDefinition
include BaseGenericModel

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
require 'time'

module DatadogAPIClient::V1
# 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.
# The image widget allows you to embed an image on your dashboard. An image can be a PNG, JPG, or animated GIF.
class ImageWidgetDefinition
include BaseGenericModel

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
require 'time'

module DatadogAPIClient::V1
# The Log Stream displays a log flow matching the defined query. Only available on FREE layout dashboards.
# The Log Stream displays a log flow matching the defined query.
class LogStreamWidgetDefinition
include BaseGenericModel

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
require 'time'

module DatadogAPIClient::V1
# The monitor summary widget displays a summary view of all your Datadog monitors, or a subset based on a query. Only available on FREE layout dashboards.
# The monitor summary widget displays a summary view of all your Datadog monitors, or a subset based on a query.
class MonitorSummaryWidgetDefinition
include BaseGenericModel

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ module DatadogAPIClient::V1
class NotebookLogStreamCellAttributes
include BaseGenericModel

# The Log Stream displays a log flow matching the defined query. Only available on FREE layout dashboards.
# The Log Stream displays a log flow matching the defined query.
attr_reader :definition

# The size of the graph.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
require 'time'

module DatadogAPIClient::V1
# The service summary displays the graphs of a chosen service in your screenboard. Only available on FREE layout dashboards.
# The service summary displays the graphs of a chosen service in your dashboard.
class ServiceSummaryWidgetDefinition
include BaseGenericModel

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
require 'time'

module DatadogAPIClient::V1
# Use the SLO and uptime widget to track your SLOs (Service Level Objectives) and uptime on screenboards and timeboards.
# Use the SLO and uptime widget to track your SLOs (Service Level Objectives) and uptime on dashboards.
class SLOWidgetDefinition
include BaseGenericModel

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
require 'time'

module DatadogAPIClient::V1
# The table visualization is available on timeboards and screenboards. It displays columns of metrics grouped by tag key.
# The table visualization is available on dashboards. It displays columns of metrics grouped by tag key.
class TableWidgetDefinition
include BaseGenericModel

Expand Down
Loading