From 3ebf0ce09eee5d8d0222484795f770c701e87fa1 Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Wed, 28 Jan 2026 16:10:21 +0000 Subject: [PATCH] Regenerate client from commit a3c2cdc of spec repo --- .generator/schemas/v2/openapi.yaml | 32 +++++++++++++------ .../models/CreateComponentRequestData.ts | 3 +- .../models/CreateDegradationRequestData.ts | 3 +- .../models/CreateStatusPageRequestData.ts | 3 +- .../models/PatchComponentRequestData.ts | 6 ++-- .../models/PatchDegradationRequestData.ts | 6 ++-- .../models/PatchStatusPageRequestData.ts | 6 ++-- 7 files changed, 40 insertions(+), 19 deletions(-) diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 5423824d0a66..147e01bf6b94 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -13283,6 +13283,7 @@ components: type: $ref: '#/components/schemas/StatusPagesComponentGroupType' required: + - attributes - type type: object CreateComponentRequestDataAttributes: @@ -13367,7 +13368,7 @@ components: properties: id: description: The ID of the group. - example: '' + example: 1234abcd-12ab-34cd-56ef-123456abcdef format: uuid type: string type: @@ -13569,6 +13570,7 @@ components: type: $ref: '#/components/schemas/PatchDegradationRequestDataType' required: + - attributes - type type: object CreateDegradationRequestDataAttributes: @@ -13604,7 +13606,7 @@ components: properties: id: description: The ID of the component. Must be a component of type `component`. - example: '' + example: 1234abcd-12ab-34cd-56ef-123456abcdef format: uuid type: string name: @@ -14327,6 +14329,7 @@ components: type: $ref: '#/components/schemas/StatusPageDataType' required: + - attributes - type type: object CreateStatusPageRequestDataAttributes: @@ -18391,7 +18394,7 @@ components: properties: id: description: The ID of the component. - example: '' + example: 1234abcd-12ab-34cd-56ef-123456abcdef format: uuid type: string name: @@ -18436,7 +18439,7 @@ components: properties: id: description: Identifier of the component affected at the time of the update. - example: '' + example: 1234abcd-12ab-34cd-56ef-123456abcdef format: uuid type: string name: @@ -18512,7 +18515,7 @@ components: properties: id: description: The ID of the status page. - example: '' + example: 1234abcd-12ab-34cd-56ef-123456abcdef format: uuid type: string type: @@ -43661,11 +43664,14 @@ components: $ref: '#/components/schemas/PatchComponentRequestDataAttributes' id: description: The ID of the component. + example: 1234abcd-12ab-34cd-56ef-123456abcdef format: uuid type: string type: $ref: '#/components/schemas/StatusPagesComponentGroupType' required: + - attributes + - id - type type: object PatchComponentRequestDataAttributes: @@ -43704,11 +43710,14 @@ components: $ref: '#/components/schemas/PatchDegradationRequestDataAttributes' id: description: The ID of the degradation. + example: 1234abcd-12ab-34cd-56ef-123456abcdef format: uuid type: string type: $ref: '#/components/schemas/PatchDegradationRequestDataType' required: + - attributes + - id - type type: object PatchDegradationRequestDataAttributes: @@ -43739,7 +43748,7 @@ components: properties: id: description: The ID of the component. Must be a component of type `component`. - example: '' + example: 1234abcd-12ab-34cd-56ef-123456abcdef format: uuid type: string name: @@ -43844,11 +43853,14 @@ components: $ref: '#/components/schemas/PatchStatusPageRequestDataAttributes' id: description: The ID of the status page. + example: 1234abcd-12ab-34cd-56ef-123456abcdef format: uuid type: string type: $ref: '#/components/schemas/StatusPageDataType' required: + - attributes + - id - type type: object PatchStatusPageRequestDataAttributes: @@ -58776,7 +58788,7 @@ components: properties: id: description: The ID of the group the component belongs to. - example: '' + example: 1234abcd-12ab-34cd-56ef-123456abcdef format: uuid type: string type: @@ -58815,7 +58827,7 @@ components: properties: id: description: The ID of the status page the component belongs to. - example: '' + example: 1234abcd-12ab-34cd-56ef-123456abcdef format: uuid type: string type: @@ -58957,7 +58969,7 @@ components: nullable: true properties: id: - example: '' + example: 1234abcd-12ab-34cd-56ef-123456abcdef format: uuid type: string type: @@ -58999,7 +59011,7 @@ components: properties: id: description: The ID of the status page. - example: '' + example: 1234abcd-12ab-34cd-56ef-123456abcdef format: uuid type: string type: diff --git a/packages/datadog-api-client-v2/models/CreateComponentRequestData.ts b/packages/datadog-api-client-v2/models/CreateComponentRequestData.ts index 15887d50e812..ba6e7063c727 100644 --- a/packages/datadog-api-client-v2/models/CreateComponentRequestData.ts +++ b/packages/datadog-api-client-v2/models/CreateComponentRequestData.ts @@ -13,7 +13,7 @@ export class CreateComponentRequestData { /** * The supported attributes for creating a component. */ - "attributes"?: CreateComponentRequestDataAttributes; + "attributes": CreateComponentRequestDataAttributes; /** * The supported relationships for creating a component. */ @@ -42,6 +42,7 @@ export class CreateComponentRequestData { attributes: { baseName: "attributes", type: "CreateComponentRequestDataAttributes", + required: true, }, relationships: { baseName: "relationships", diff --git a/packages/datadog-api-client-v2/models/CreateDegradationRequestData.ts b/packages/datadog-api-client-v2/models/CreateDegradationRequestData.ts index e5f20ef2923d..d593652ee89c 100644 --- a/packages/datadog-api-client-v2/models/CreateDegradationRequestData.ts +++ b/packages/datadog-api-client-v2/models/CreateDegradationRequestData.ts @@ -12,7 +12,7 @@ export class CreateDegradationRequestData { /** * The supported attributes for creating a degradation. */ - "attributes"?: CreateDegradationRequestDataAttributes; + "attributes": CreateDegradationRequestDataAttributes; /** * Degradations resource type. */ @@ -37,6 +37,7 @@ export class CreateDegradationRequestData { attributes: { baseName: "attributes", type: "CreateDegradationRequestDataAttributes", + required: true, }, type: { baseName: "type", diff --git a/packages/datadog-api-client-v2/models/CreateStatusPageRequestData.ts b/packages/datadog-api-client-v2/models/CreateStatusPageRequestData.ts index b41ac7d083a0..e321017cd980 100644 --- a/packages/datadog-api-client-v2/models/CreateStatusPageRequestData.ts +++ b/packages/datadog-api-client-v2/models/CreateStatusPageRequestData.ts @@ -12,7 +12,7 @@ export class CreateStatusPageRequestData { /** * The supported attributes for creating a status page. */ - "attributes"?: CreateStatusPageRequestDataAttributes; + "attributes": CreateStatusPageRequestDataAttributes; /** * Status pages resource type. */ @@ -37,6 +37,7 @@ export class CreateStatusPageRequestData { attributes: { baseName: "attributes", type: "CreateStatusPageRequestDataAttributes", + required: true, }, type: { baseName: "type", diff --git a/packages/datadog-api-client-v2/models/PatchComponentRequestData.ts b/packages/datadog-api-client-v2/models/PatchComponentRequestData.ts index 796875cd04af..1e9113505ee3 100644 --- a/packages/datadog-api-client-v2/models/PatchComponentRequestData.ts +++ b/packages/datadog-api-client-v2/models/PatchComponentRequestData.ts @@ -12,11 +12,11 @@ export class PatchComponentRequestData { /** * The supported attributes for updating a component. */ - "attributes"?: PatchComponentRequestDataAttributes; + "attributes": PatchComponentRequestDataAttributes; /** * The ID of the component. */ - "id"?: string; + "id": string; /** * Components resource type. */ @@ -41,10 +41,12 @@ export class PatchComponentRequestData { attributes: { baseName: "attributes", type: "PatchComponentRequestDataAttributes", + required: true, }, id: { baseName: "id", type: "string", + required: true, format: "uuid", }, type: { diff --git a/packages/datadog-api-client-v2/models/PatchDegradationRequestData.ts b/packages/datadog-api-client-v2/models/PatchDegradationRequestData.ts index 593a37e6a32a..ade55c07f8ec 100644 --- a/packages/datadog-api-client-v2/models/PatchDegradationRequestData.ts +++ b/packages/datadog-api-client-v2/models/PatchDegradationRequestData.ts @@ -12,11 +12,11 @@ export class PatchDegradationRequestData { /** * The supported attributes for updating a degradation. */ - "attributes"?: PatchDegradationRequestDataAttributes; + "attributes": PatchDegradationRequestDataAttributes; /** * The ID of the degradation. */ - "id"?: string; + "id": string; /** * Degradations resource type. */ @@ -41,10 +41,12 @@ export class PatchDegradationRequestData { attributes: { baseName: "attributes", type: "PatchDegradationRequestDataAttributes", + required: true, }, id: { baseName: "id", type: "string", + required: true, format: "uuid", }, type: { diff --git a/packages/datadog-api-client-v2/models/PatchStatusPageRequestData.ts b/packages/datadog-api-client-v2/models/PatchStatusPageRequestData.ts index c331d00971a2..1821c6d24286 100644 --- a/packages/datadog-api-client-v2/models/PatchStatusPageRequestData.ts +++ b/packages/datadog-api-client-v2/models/PatchStatusPageRequestData.ts @@ -12,11 +12,11 @@ export class PatchStatusPageRequestData { /** * The supported attributes for updating a status page. */ - "attributes"?: PatchStatusPageRequestDataAttributes; + "attributes": PatchStatusPageRequestDataAttributes; /** * The ID of the status page. */ - "id"?: string; + "id": string; /** * Status pages resource type. */ @@ -41,10 +41,12 @@ export class PatchStatusPageRequestData { attributes: { baseName: "attributes", type: "PatchStatusPageRequestDataAttributes", + required: true, }, id: { baseName: "id", type: "string", + required: true, format: "uuid", }, type: {