Skip to content

Commit 574877b

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

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

services/on_call/src/v2/models/LayerAttributes.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ export class LayerAttributes {
3131
* The date/time when the rotation starts (ISO 8601).
3232
*/
3333
"rotationStart"?: Date;
34+
/**
35+
* The time zone for this layer.
36+
*/
37+
"timeZone"?: string;
3438
/**
3539
* A container for additional, undeclared properties.
3640
* This is a holder for any undeclared properties as specified with
@@ -73,6 +77,10 @@ export class LayerAttributes {
7377
type: "Date",
7478
format: "date-time",
7579
},
80+
timeZone: {
81+
baseName: "time_zone",
82+
type: "string",
83+
},
7684
additionalProperties: {
7785
baseName: "additionalProperties",
7886
type: "{ [key: string]: any; }",

services/on_call/src/v2/models/ScheduleCreateRequestDataAttributesLayersItems.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ export class ScheduleCreateRequestDataAttributesLayersItems {
3636
* The date/time when the rotation for this layer starts (in ISO 8601).
3737
*/
3838
"rotationStart": Date;
39+
/**
40+
* The time zone for this layer.
41+
*/
42+
"timeZone"?: string;
3943
/**
4044
* A container for additional, undeclared properties.
4145
* This is a holder for any undeclared properties as specified with
@@ -87,6 +91,10 @@ export class ScheduleCreateRequestDataAttributesLayersItems {
8791
required: true,
8892
format: "date-time",
8993
},
94+
timeZone: {
95+
baseName: "time_zone",
96+
type: "string",
97+
},
9098
additionalProperties: {
9199
baseName: "additionalProperties",
92100
type: "{ [key: string]: any; }",

services/on_call/src/v2/models/ScheduleUpdateRequestDataAttributesLayersItems.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@ export class ScheduleUpdateRequestDataAttributesLayersItems {
4141
* The date/time at which the rotation begins (ISO 8601 format).
4242
*/
4343
"rotationStart": Date;
44+
/**
45+
* The time zone for this layer.
46+
*/
47+
"timeZone"?: string;
4448
/**
4549
* A container for additional, undeclared properties.
4650
* This is a holder for any undeclared properties as specified with
@@ -96,6 +100,10 @@ export class ScheduleUpdateRequestDataAttributesLayersItems {
96100
required: true,
97101
format: "date-time",
98102
},
103+
timeZone: {
104+
baseName: "time_zone",
105+
type: "string",
106+
},
99107
additionalProperties: {
100108
baseName: "additionalProperties",
101109
type: "{ [key: string]: any; }",

0 commit comments

Comments
 (0)