Skip to content

Commit 692028c

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit e790a98 of spec repo
1 parent 0b86449 commit 692028c

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed

.generator/schemas/v1/openapi.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3439,6 +3439,22 @@ components:
34393439
example:
34403440
focus: WORLD
34413441
properties:
3442+
custom_extent:
3443+
description: A custom extent of the map defined by an array of four numbers
3444+
in the order `[minLongitude, minLatitude, maxLongitude, maxLatitude]`.
3445+
example:
3446+
- -30
3447+
- -40
3448+
- 40
3449+
- 30
3450+
items:
3451+
description: The longitudinal or latitudinal coordinates of the bounding
3452+
box.
3453+
format: double
3454+
type: number
3455+
maxItems: 4
3456+
minItems: 4
3457+
type: array
34423458
focus:
34433459
description: The 2-letter ISO code of a country to focus the map on. Or
34443460
`WORLD`.

services/dashboards/src/v1/models/GeomapWidgetDefinitionView.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ import { AttributeTypeMap } from "@datadog/datadog-api-client";
44
* The view of the world that the map should render.
55
*/
66
export class GeomapWidgetDefinitionView {
7+
/**
8+
* A custom extent of the map defined by an array of four numbers in the order `[minLongitude, minLatitude, maxLongitude, maxLatitude]`.
9+
*/
10+
"customExtent"?: [number, number, number, number];
711
/**
812
* The 2-letter ISO code of a country to focus the map on. Or `WORLD`.
913
*/
@@ -23,6 +27,11 @@ export class GeomapWidgetDefinitionView {
2327
* @ignore
2428
*/
2529
static readonly attributeTypeMap: AttributeTypeMap = {
30+
customExtent: {
31+
baseName: "custom_extent",
32+
type: "[number, number, number, number]",
33+
format: "double",
34+
},
2635
focus: {
2736
baseName: "focus",
2837
type: "string",

0 commit comments

Comments
 (0)