Skip to content

Commit 904b070

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 0eb6daf of spec repo
1 parent 73111f3 commit 904b070

14 files changed

+132
-24
lines changed

.generator/schemas/v1/openapi.yaml

Lines changed: 47 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3368,8 +3368,10 @@ components:
33683368
x-enum-varnames:
33693369
- FORMULA
33703370
FreeTextWidgetDefinition:
3371-
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.
3371+
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.
33723372
properties:
3373+
background_color:
3374+
$ref: "#/components/schemas/WidgetBackgroundColor"
33733375
color:
33743376
description: Color of the text.
33753377
type: string
@@ -3810,11 +3812,10 @@ components:
38103812
x-enum-varnames:
38113813
- GROUP
38123814
GroupWidgetDefinition:
3813-
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.
3815+
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.
38143816
properties:
38153817
background_color:
3816-
description: Background color of the group title.
3817-
type: string
3818+
$ref: "#/components/schemas/WidgetBackgroundColor"
38183819
banner_img:
38193820
description: URL of image to display as a banner for the group.
38203821
type: string
@@ -4672,7 +4673,7 @@ components:
46724673
- VULN_MANAGEMENT_HOSTS_USAGE
46734674
- WORKFLOW_EXECUTIONS_USAGE
46744675
IFrameWidgetDefinition:
4675-
description: The iframe widget allows you to embed a portion of any other web page on your dashboard. Only available on FREE layout dashboards.
4676+
description: The iframe widget allows you to embed a portion of any other web page on your dashboard.
46764677
properties:
46774678
type:
46784679
$ref: "#/components/schemas/IFrameWidgetDefinitionType"
@@ -4944,7 +4945,7 @@ components:
49444945
- message
49454946
type: object
49464947
ImageWidgetDefinition:
4947-
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.
4948+
description: The image widget allows you to embed an image on your dashboard. An image can be a PNG, JPG, or animated GIF.
49484949
properties:
49494950
has_background:
49504951
default: true
@@ -5345,7 +5346,7 @@ components:
53455346
- query
53465347
type: object
53475348
LogStreamWidgetDefinition:
5348-
description: The Log Stream displays a log flow matching the defined query. Only available on FREE layout dashboards.
5349+
description: The Log Stream displays a log flow matching the defined query.
53495350
properties:
53505351
columns:
53515352
description: Which columns to display on the widget.
@@ -8760,7 +8761,7 @@ components:
87608761
$ref: "#/components/schemas/MonitorOverallStates"
87618762
type: object
87628763
MonitorSummaryWidgetDefinition:
8763-
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.
8764+
description: The monitor summary widget displays a summary view of all your Datadog monitors, or a subset based on a query.
87648765
properties:
87658766
color_preference:
87668767
$ref: "#/components/schemas/WidgetColorPreference"
@@ -12891,7 +12892,7 @@ components:
1289112892
- METRIC
1289212893
- TIME_SLICE
1289312894
SLOWidgetDefinition:
12894-
description: Use the SLO and uptime widget to track your SLOs (Service Level Objectives) and uptime on screenboards and timeboards.
12895+
description: Use the SLO and uptime widget to track your SLOs (Service Level Objectives) and uptime on dashboards.
1289512896
properties:
1289612897
additional_query_filters:
1289712898
description: Additional filters applied to the SLO query.
@@ -14102,7 +14103,7 @@ components:
1410214103
x-enum-varnames:
1410314104
- SERVICEMAP
1410414105
ServiceSummaryWidgetDefinition:
14105-
description: The service summary displays the graphs of a chosen service in your screenboard. Only available on FREE layout dashboards.
14106+
description: The service summary displays the graphs of a chosen service in your dashboard.
1410614107
properties:
1410714108
description:
1410814109
description: The description of the widget.
@@ -18651,7 +18652,7 @@ components:
1865118652
- BAR
1865218653
- TREND
1865318654
TableWidgetDefinition:
18654-
description: The table visualization is available on timeboards and screenboards. It displays columns of metrics grouped by tag key.
18655+
description: The table visualization is available on dashboards. It displays columns of metrics grouped by tag key.
1865518656
properties:
1865618657
custom_links:
1865718658
description: List of custom links.
@@ -24133,6 +24134,41 @@ components:
2413324134
description: Specifies the scale type. Possible values are `linear`, `log`, `sqrt`, and `pow##` (for example `pow2` or `pow0.5`).
2413424135
type: string
2413524136
type: object
24137+
WidgetBackgroundColor:
24138+
description: Background color of the widget.
24139+
enum:
24140+
- white
24141+
- blue
24142+
- purple
24143+
- pink
24144+
- orange
24145+
- yellow
24146+
- green
24147+
- gray
24148+
- vivid_blue
24149+
- vivid_purple
24150+
- vivid_pink
24151+
- vivid_orange
24152+
- vivid_yellow
24153+
- vivid_green
24154+
- transparent
24155+
type: string
24156+
x-enum-varnames:
24157+
- WHITE
24158+
- BLUE
24159+
- PURPLE
24160+
- PINK
24161+
- ORANGE
24162+
- YELLOW
24163+
- GREEN
24164+
- GRAY
24165+
- VIVID_BLUE
24166+
- VIVID_PURPLE
24167+
- VIVID_PINK
24168+
- VIVID_ORANGE
24169+
- VIVID_YELLOW
24170+
- VIVID_GREEN
24171+
- TRANSPARENT
2413624172
WidgetChangeType:
2413724173
description: Show the absolute or the relative change.
2413824174
enum:

packages/datadog-api-client-v1/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1293,6 +1293,7 @@ export { WebhooksIntegrationUpdateRequest } from "./models/WebhooksIntegrationUp
12931293
export { Widget } from "./models/Widget";
12941294
export { WidgetAggregator } from "./models/WidgetAggregator";
12951295
export { WidgetAxis } from "./models/WidgetAxis";
1296+
export { WidgetBackgroundColor } from "./models/WidgetBackgroundColor";
12961297
export { WidgetChangeType } from "./models/WidgetChangeType";
12971298
export { WidgetColorPreference } from "./models/WidgetColorPreference";
12981299
export { WidgetComparator } from "./models/WidgetComparator";

packages/datadog-api-client-v1/models/FreeTextWidgetDefinition.ts

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,19 @@
44
* Copyright 2020-Present Datadog, Inc.
55
*/
66
import { FreeTextWidgetDefinitionType } from "./FreeTextWidgetDefinitionType";
7+
import { WidgetBackgroundColor } from "./WidgetBackgroundColor";
78
import { WidgetTextAlign } from "./WidgetTextAlign";
89

910
import { AttributeTypeMap } from "../../datadog-api-client-common/util";
1011

1112
/**
12-
* 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.
13+
* Free text is a widget that allows you to add headings to your dashboard. Commonly used to state the overall purpose of the dashboard.
1314
*/
1415
export class FreeTextWidgetDefinition {
16+
/**
17+
* Background color of the widget.
18+
*/
19+
"backgroundColor"?: WidgetBackgroundColor;
1520
/**
1621
* Color of the text.
1722
*/
@@ -49,6 +54,10 @@ export class FreeTextWidgetDefinition {
4954
* @ignore
5055
*/
5156
static readonly attributeTypeMap: AttributeTypeMap = {
57+
backgroundColor: {
58+
baseName: "background_color",
59+
type: "WidgetBackgroundColor",
60+
},
5261
color: {
5362
baseName: "color",
5463
type: "string",

packages/datadog-api-client-v1/models/GroupWidgetDefinition.ts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,20 @@
55
*/
66
import { GroupWidgetDefinitionType } from "./GroupWidgetDefinitionType";
77
import { Widget } from "./Widget";
8+
import { WidgetBackgroundColor } from "./WidgetBackgroundColor";
89
import { WidgetLayoutType } from "./WidgetLayoutType";
910
import { WidgetTextAlign } from "./WidgetTextAlign";
1011

1112
import { AttributeTypeMap } from "../../datadog-api-client-common/util";
1213

1314
/**
14-
* 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.
15+
* 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.
1516
*/
1617
export class GroupWidgetDefinition {
1718
/**
18-
* Background color of the group title.
19+
* Background color of the widget.
1920
*/
20-
"backgroundColor"?: string;
21+
"backgroundColor"?: WidgetBackgroundColor;
2122
/**
2223
* URL of image to display as a banner for the group.
2324
*/
@@ -65,7 +66,7 @@ export class GroupWidgetDefinition {
6566
static readonly attributeTypeMap: AttributeTypeMap = {
6667
backgroundColor: {
6768
baseName: "background_color",
68-
type: "string",
69+
type: "WidgetBackgroundColor",
6970
},
7071
bannerImg: {
7172
baseName: "banner_img",

packages/datadog-api-client-v1/models/IFrameWidgetDefinition.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { IFrameWidgetDefinitionType } from "./IFrameWidgetDefinitionType";
88
import { AttributeTypeMap } from "../../datadog-api-client-common/util";
99

1010
/**
11-
* The iframe widget allows you to embed a portion of any other web page on your dashboard. Only available on FREE layout dashboards.
11+
* The iframe widget allows you to embed a portion of any other web page on your dashboard.
1212
*/
1313
export class IFrameWidgetDefinition {
1414
/**

packages/datadog-api-client-v1/models/ImageWidgetDefinition.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import { WidgetVerticalAlign } from "./WidgetVerticalAlign";
1212
import { AttributeTypeMap } from "../../datadog-api-client-common/util";
1313

1414
/**
15-
* 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.
15+
* The image widget allows you to embed an image on your dashboard. An image can be a PNG, JPG, or animated GIF.
1616
*/
1717
export class ImageWidgetDefinition {
1818
/**

packages/datadog-api-client-v1/models/LogStreamWidgetDefinition.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import { WidgetTime } from "./WidgetTime";
1212
import { AttributeTypeMap } from "../../datadog-api-client-common/util";
1313

1414
/**
15-
* The Log Stream displays a log flow matching the defined query. Only available on FREE layout dashboards.
15+
* The Log Stream displays a log flow matching the defined query.
1616
*/
1717
export class LogStreamWidgetDefinition {
1818
/**

packages/datadog-api-client-v1/models/MonitorSummaryWidgetDefinition.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import { WidgetTextAlign } from "./WidgetTextAlign";
1313
import { AttributeTypeMap } from "../../datadog-api-client-common/util";
1414

1515
/**
16-
* 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.
16+
* The monitor summary widget displays a summary view of all your Datadog monitors, or a subset based on a query.
1717
*/
1818
export class MonitorSummaryWidgetDefinition {
1919
/**

packages/datadog-api-client-v1/models/NotebookLogStreamCellAttributes.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import { AttributeTypeMap } from "../../datadog-api-client-common/util";
1414
*/
1515
export class NotebookLogStreamCellAttributes {
1616
/**
17-
* The Log Stream displays a log flow matching the defined query. Only available on FREE layout dashboards.
17+
* The Log Stream displays a log flow matching the defined query.
1818
*/
1919
"definition": LogStreamWidgetDefinition;
2020
/**

packages/datadog-api-client-v1/models/ObjectSerializer.ts

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1759,6 +1759,23 @@ const enumsMap: { [key: string]: any[] } = {
17591759
ViewingPreferencesTheme: ["system", "light", "dark"],
17601760
WebhooksIntegrationEncoding: ["json", "form"],
17611761
WidgetAggregator: ["avg", "last", "max", "min", "sum", "percentile"],
1762+
WidgetBackgroundColor: [
1763+
"white",
1764+
"blue",
1765+
"purple",
1766+
"pink",
1767+
"orange",
1768+
"yellow",
1769+
"green",
1770+
"gray",
1771+
"vivid_blue",
1772+
"vivid_purple",
1773+
"vivid_pink",
1774+
"vivid_orange",
1775+
"vivid_yellow",
1776+
"vivid_green",
1777+
"transparent",
1778+
],
17621779
WidgetChangeType: ["absolute", "relative"],
17631780
WidgetColorPreference: ["background", "text"],
17641781
WidgetComparator: ["=", ">", ">=", "<", "<="],

0 commit comments

Comments
 (0)