Skip to content

Commit 4bd384d

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 3666ef7 of spec repo
1 parent 5fe5d67 commit 4bd384d

2 files changed

Lines changed: 20 additions & 5 deletions

File tree

.generator/schemas/v2/openapi.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16546,10 +16546,12 @@ components:
1654616546
properties:
1654716547
completed_date:
1654816548
description: Timestamp of when the maintenance was completed.
16549+
example: "2026-02-18T19:51:13.332360075Z"
1654916550
format: date-time
1655016551
type: string
1655116552
completed_description:
1655216553
description: The description shown when the maintenance is completed.
16554+
example: "We have completed maintenance on the API to improve performance."
1655316555
type: string
1655416556
components_affected:
1655516557
description: The components affected by the maintenance.
@@ -16558,12 +16560,15 @@ components:
1655816560
type: array
1655916561
in_progress_description:
1656016562
description: The description shown while the maintenance is in progress.
16563+
example: "We are currently performing maintenance on the API to improve performance."
1656116564
type: string
1656216565
scheduled_description:
1656316566
description: The description shown when the maintenance is scheduled.
16567+
example: "We will be performing maintenance on the API to improve performance."
1656416568
type: string
1656516569
start_date:
1656616570
description: Timestamp of when the maintenance is scheduled to start.
16571+
example: "2026-02-18T19:21:13.332360075Z"
1656716572
format: date-time
1656816573
type: string
1656916574
title:
@@ -16573,6 +16578,11 @@ components:
1657316578
required:
1657416579
- components_affected
1657516580
- title
16581+
- completed_date
16582+
- completed_description
16583+
- scheduled_description
16584+
- start_date
16585+
- in_progress_description
1657616586
type: object
1657716587
CreateMaintenanceRequestDataAttributesComponentsAffectedItems:
1657816588
description: A component affected by a maintenance.

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

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,27 +14,27 @@ export class CreateMaintenanceRequestDataAttributes {
1414
/**
1515
* Timestamp of when the maintenance was completed.
1616
*/
17-
"completedDate"?: Date;
17+
"completedDate": Date;
1818
/**
1919
* The description shown when the maintenance is completed.
2020
*/
21-
"completedDescription"?: string;
21+
"completedDescription": string;
2222
/**
2323
* The components affected by the maintenance.
2424
*/
2525
"componentsAffected": Array<CreateMaintenanceRequestDataAttributesComponentsAffectedItems>;
2626
/**
2727
* The description shown while the maintenance is in progress.
2828
*/
29-
"inProgressDescription"?: string;
29+
"inProgressDescription": string;
3030
/**
3131
* The description shown when the maintenance is scheduled.
3232
*/
33-
"scheduledDescription"?: string;
33+
"scheduledDescription": string;
3434
/**
3535
* Timestamp of when the maintenance is scheduled to start.
3636
*/
37-
"startDate"?: Date;
37+
"startDate": Date;
3838
/**
3939
* The title of the maintenance.
4040
*/
@@ -59,11 +59,13 @@ export class CreateMaintenanceRequestDataAttributes {
5959
completedDate: {
6060
baseName: "completed_date",
6161
type: "Date",
62+
required: true,
6263
format: "date-time",
6364
},
6465
completedDescription: {
6566
baseName: "completed_description",
6667
type: "string",
68+
required: true,
6769
},
6870
componentsAffected: {
6971
baseName: "components_affected",
@@ -73,14 +75,17 @@ export class CreateMaintenanceRequestDataAttributes {
7375
inProgressDescription: {
7476
baseName: "in_progress_description",
7577
type: "string",
78+
required: true,
7679
},
7780
scheduledDescription: {
7881
baseName: "scheduled_description",
7982
type: "string",
83+
required: true,
8084
},
8185
startDate: {
8286
baseName: "start_date",
8387
type: "Date",
88+
required: true,
8489
format: "date-time",
8590
},
8691
title: {

0 commit comments

Comments
 (0)