Skip to content
Open
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
16 changes: 14 additions & 2 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3506,8 +3506,9 @@ components:
focus: WORLD
properties:
focus:
description: The 2-letter ISO code of a country to focus the map on. Or
`WORLD`.
description: The 2-letter ISO code of a country to focus the map on, or
`WORLD` for global view, or a region (`EMEA`, `APAC`, `LATAM`), or a continent
(`NORTH_AMERICA`, `SOUTH_AMERICA`, `EUROPE`, `AFRICA`, `ASIA`, `OCEANIA`).
example: WORLD
type: string
required:
Expand All @@ -3526,6 +3527,12 @@ components:
items:
$ref: '#/components/schemas/ListStreamColumn'
type: array
conditional_formats:
description: Threshold (numeric) conditional formatting rules may be used
by the regions layer.
items:
$ref: '#/components/schemas/WidgetConditionalFormat'
type: array
formulas:
description: List of formulas that operate on queries.
items:
Expand All @@ -3551,6 +3558,11 @@ components:
$ref: '#/components/schemas/LogQueryDefinition'
sort:
$ref: '#/components/schemas/WidgetSortBy'
text_formats:
description: Text formatting rules may be used by the points layer.
items:
$ref: '#/components/schemas/TableWidgetTextFormatRule'
type: array
type: object
GraphSnapshot:
description: Object representing a graph snapshot.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { AttributeTypeMap } from "../../datadog-api-client-common/util";
*/
export class GeomapWidgetDefinitionView {
/**
* The 2-letter ISO code of a country to focus the map on. Or `WORLD`.
* The 2-letter ISO code of a country to focus the map on, or `WORLD` for global view, or a region (`EMEA`, `APAC`, `LATAM`), or a continent (`NORTH_AMERICA`, `SOUTH_AMERICA`, `EUROPE`, `AFRICA`, `ASIA`, `OCEANIA`).
*/
"focus": string;

Expand Down
18 changes: 18 additions & 0 deletions packages/datadog-api-client-v1/models/GeomapWidgetRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ import { FormulaAndFunctionResponseFormat } from "./FormulaAndFunctionResponseFo
import { ListStreamColumn } from "./ListStreamColumn";
import { ListStreamQuery } from "./ListStreamQuery";
import { LogQueryDefinition } from "./LogQueryDefinition";
import { TableWidgetTextFormatRule } from "./TableWidgetTextFormatRule";
import { WidgetConditionalFormat } from "./WidgetConditionalFormat";
import { WidgetFormula } from "./WidgetFormula";
import { WidgetSortBy } from "./WidgetSortBy";

Expand All @@ -21,6 +23,10 @@ export class GeomapWidgetRequest {
* Widget columns.
*/
"columns"?: Array<ListStreamColumn>;
/**
* Threshold (numeric) conditional formatting rules may be used by the regions layer.
*/
"conditionalFormats"?: Array<WidgetConditionalFormat>;
/**
* List of formulas that operate on queries.
*/
Expand Down Expand Up @@ -57,6 +63,10 @@ export class GeomapWidgetRequest {
* The controls for sorting the widget.
*/
"sort"?: WidgetSortBy;
/**
* Text formatting rules may be used by the points layer.
*/
"textFormats"?: Array<TableWidgetTextFormatRule>;

/**
* A container for additional, undeclared properties.
Expand All @@ -78,6 +88,10 @@ export class GeomapWidgetRequest {
baseName: "columns",
type: "Array<ListStreamColumn>",
},
conditionalFormats: {
baseName: "conditional_formats",
type: "Array<WidgetConditionalFormat>",
},
formulas: {
baseName: "formulas",
type: "Array<WidgetFormula>",
Expand Down Expand Up @@ -114,6 +128,10 @@ export class GeomapWidgetRequest {
baseName: "sort",
type: "WidgetSortBy",
},
textFormats: {
baseName: "text_formats",
type: "Array<TableWidgetTextFormatRule>",
},
additionalProperties: {
baseName: "additionalProperties",
type: "{ [key: string]: any; }",
Expand Down
Loading