Skip to content

Commit 3ff2a3b

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
[BGL-1927] Add timezone to on-call layer (#3024)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent 25ea3ac commit 3ff2a3b

File tree

4 files changed

+36
-0
lines changed

4 files changed

+36
-0
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28204,6 +28204,10 @@ components:
2820428204
description: The date/time when the rotation starts (ISO 8601).
2820528205
format: date-time
2820628206
type: string
28207+
time_zone:
28208+
description: The time zone for this layer.
28209+
example: America/New_York
28210+
type: string
2820728211
type: object
2820828212
LayerAttributesInterval:
2820928213
description: Defines how often the rotation repeats, using a combination of
@@ -44308,6 +44312,10 @@ components:
4430844312
example: '2025-01-01T00:00:00Z'
4430944313
format: date-time
4431044314
type: string
44315+
time_zone:
44316+
description: The time zone for this layer.
44317+
example: America/New_York
44318+
type: string
4431144319
required:
4431244320
- name
4431344321
- interval
@@ -44658,6 +44666,10 @@ components:
4465844666
example: '2025-02-01T00:00:00Z'
4465944667
format: date-time
4466044668
type: string
44669+
time_zone:
44670+
description: The time zone for this layer.
44671+
example: America/New_York
44672+
type: string
4466144673
required:
4466244674
- effective_date
4466344675
- interval

packages/datadog-api-client-v2/models/LayerAttributes.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ export class LayerAttributes {
3636
* The date/time when the rotation starts (ISO 8601).
3737
*/
3838
"rotationStart"?: Date;
39+
/**
40+
* The time zone for this layer.
41+
*/
42+
"timeZone"?: string;
3943

4044
/**
4145
* A container for additional, undeclared properties.
@@ -80,6 +84,10 @@ export class LayerAttributes {
8084
type: "Date",
8185
format: "date-time",
8286
},
87+
timeZone: {
88+
baseName: "time_zone",
89+
type: "string",
90+
},
8391
additionalProperties: {
8492
baseName: "additionalProperties",
8593
type: "{ [key: string]: any; }",

packages/datadog-api-client-v2/models/ScheduleCreateRequestDataAttributesLayersItems.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@ export class ScheduleCreateRequestDataAttributesLayersItems {
4141
* The date/time when the rotation for this layer starts (in ISO 8601).
4242
*/
4343
"rotationStart": Date;
44+
/**
45+
* The time zone for this layer.
46+
*/
47+
"timeZone"?: string;
4448

4549
/**
4650
* A container for additional, undeclared properties.
@@ -94,6 +98,10 @@ export class ScheduleCreateRequestDataAttributesLayersItems {
9498
required: true,
9599
format: "date-time",
96100
},
101+
timeZone: {
102+
baseName: "time_zone",
103+
type: "string",
104+
},
97105
additionalProperties: {
98106
baseName: "additionalProperties",
99107
type: "{ [key: string]: any; }",

packages/datadog-api-client-v2/models/ScheduleUpdateRequestDataAttributesLayersItems.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,10 @@ export class ScheduleUpdateRequestDataAttributesLayersItems {
4646
* The date/time at which the rotation begins (ISO 8601 format).
4747
*/
4848
"rotationStart": Date;
49+
/**
50+
* The time zone for this layer.
51+
*/
52+
"timeZone"?: string;
4953

5054
/**
5155
* A container for additional, undeclared properties.
@@ -103,6 +107,10 @@ export class ScheduleUpdateRequestDataAttributesLayersItems {
103107
required: true,
104108
format: "date-time",
105109
},
110+
timeZone: {
111+
baseName: "time_zone",
112+
type: "string",
113+
},
106114
additionalProperties: {
107115
baseName: "additionalProperties",
108116
type: "{ [key: string]: any; }",

0 commit comments

Comments
 (0)