From bfb9a21734edc149340db0783634283f411c5ecf Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Thu, 13 Jan 2022 11:51:23 +0000 Subject: [PATCH] Regenerate client from commit bb2c57f of spec repo --- .apigentools-info | 8 +++--- .generator/schemas/v1/openapi.yaml | 14 ----------- .../models/EventCreateRequest.ts | 25 ------------------- 3 files changed, 4 insertions(+), 43 deletions(-) diff --git a/.apigentools-info b/.apigentools-info index fe9efa6bd8c..16fc8a3f5dd 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.5.1.dev2", - "regenerated": "2022-01-13 09:33:14.041348", - "spec_repo_commit": "830f39c" + "regenerated": "2022-01-13 11:49:30.037062", + "spec_repo_commit": "bb2c57f" }, "v2": { "apigentools_version": "1.5.1.dev2", - "regenerated": "2022-01-13 09:33:14.071600", - "spec_repo_commit": "830f39c" + "regenerated": "2022-01-13 11:49:30.064653", + "spec_repo_commit": "bb2c57f" } } } \ No newline at end of file diff --git a/.generator/schemas/v1/openapi.yaml b/.generator/schemas/v1/openapi.yaml index da5717153cc..ddd8a09ab66 100644 --- a/.generator/schemas/v1/openapi.yaml +++ b/.generator/schemas/v1/openapi.yaml @@ -1862,16 +1862,6 @@ components: Any tags associated with the host are also applied to this event.' type: string - id: - description: Integer ID of the event. - format: int64 - readOnly: true - type: integer - payload: - description: Payload of the event. - example: '{}' - readOnly: true - type: string priority: $ref: '#/components/schemas/EventPriority' related_event_id: @@ -1908,10 +1898,6 @@ components: description: The event title. example: Did you hear the news today? type: string - url: - description: URL of the event. - readOnly: true - type: string required: - title - text diff --git a/packages/datadog-api-client-v1/models/EventCreateRequest.ts b/packages/datadog-api-client-v1/models/EventCreateRequest.ts index 788435ecb8e..4d06a13abe7 100644 --- a/packages/datadog-api-client-v1/models/EventCreateRequest.ts +++ b/packages/datadog-api-client-v1/models/EventCreateRequest.ts @@ -34,14 +34,6 @@ export class EventCreateRequest { * Host name to associate with the event. Any tags associated with the host are also applied to this event. */ "host"?: string; - /** - * Integer ID of the event. - */ - "id"?: number; - /** - * Payload of the event. - */ - "payload"?: string; "priority"?: EventPriority; /** * ID of the parent event. Must be sent as an integer (that is no quotes). @@ -63,10 +55,6 @@ export class EventCreateRequest { * The event title. */ "title": string; - /** - * URL of the event. - */ - "url"?: string; "unparsedObject"?: any; @@ -92,15 +80,6 @@ export class EventCreateRequest { baseName: "host", type: "string", }, - id: { - baseName: "id", - type: "number", - format: "int64", - }, - payload: { - baseName: "payload", - type: "string", - }, priority: { baseName: "priority", type: "EventPriority", @@ -128,10 +107,6 @@ export class EventCreateRequest { type: "string", required: true, }, - url: { - baseName: "url", - type: "string", - }, }; static getAttributeTypeMap(): AttributeTypeMap {