From 18fb4c9dea49854d075d019a612be55e76171a13 Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Thu, 18 Nov 2021 10:32:08 +0000 Subject: [PATCH] Regenerate client from commit 4d37111 of spec repo --- .apigentools-info | 8 ++++---- .generator/schemas/v1/openapi.yaml | 4 +--- api/v1/datadog/docs/EventCreateRequest.md | 2 +- api/v1/datadog/model_event_create_request.go | 2 +- 4 files changed, 7 insertions(+), 9 deletions(-) diff --git a/.apigentools-info b/.apigentools-info index f9edeb6b268..4658a983172 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.5.1.dev2", - "regenerated": "2021-11-17 14:42:57.616331", - "spec_repo_commit": "fce8d3b" + "regenerated": "2021-11-18 10:30:58.176780", + "spec_repo_commit": "4d37111" }, "v2": { "apigentools_version": "1.5.1.dev2", - "regenerated": "2021-11-17 14:42:57.643645", - "spec_repo_commit": "fce8d3b" + "regenerated": "2021-11-18 10:30:58.201623", + "spec_repo_commit": "4d37111" } } } \ No newline at end of file diff --git a/.generator/schemas/v1/openapi.yaml b/.generator/schemas/v1/openapi.yaml index 592b6c1cbde..d161240a17e 100644 --- a/.generator/schemas/v1/openapi.yaml +++ b/.generator/schemas/v1/openapi.yaml @@ -1880,10 +1880,8 @@ components: maxLength: 4000 type: string title: - description: The event title. Limited to 100 characters. Use `msg_title` - with the Datadog Ruby library. + description: The event title. example: Did you hear the news today? - maxLength: 100 type: string url: description: URL of the event. diff --git a/api/v1/datadog/docs/EventCreateRequest.md b/api/v1/datadog/docs/EventCreateRequest.md index 789ee7a9fbb..0728220b303 100644 --- a/api/v1/datadog/docs/EventCreateRequest.md +++ b/api/v1/datadog/docs/EventCreateRequest.md @@ -16,7 +16,7 @@ Name | Type | Description | Notes **SourceTypeName** | Pointer to **string** | The type of event being posted. Option examples include nagios, hudson, jenkins, my_apps, chef, puppet, git, bitbucket, etc. A complete list of source attribute values [available here](https://docs.datadoghq.com/integrations/faq/list-of-api-source-attribute-value). | [optional] **Tags** | Pointer to **[]string** | A list of tags to apply to the event. | [optional] **Text** | **string** | The body of the event. Limited to 4000 characters. The text supports markdown. To use markdown in the event text, start the text block with `%%% \\n` and end the text block with `\\n %%%`. Use `msg_text` with the Datadog Ruby library. | -**Title** | **string** | The event title. Limited to 100 characters. Use `msg_title` with the Datadog Ruby library. | +**Title** | **string** | The event title. | **Url** | Pointer to **string** | URL of the event. | [optional] [readonly] ## Methods diff --git a/api/v1/datadog/model_event_create_request.go b/api/v1/datadog/model_event_create_request.go index 56c0c997bae..f1d82cdc974 100644 --- a/api/v1/datadog/model_event_create_request.go +++ b/api/v1/datadog/model_event_create_request.go @@ -37,7 +37,7 @@ type EventCreateRequest struct { Tags *[]string `json:"tags,omitempty"` // The body of the event. Limited to 4000 characters. The text supports markdown. To use markdown in the event text, start the text block with `%%% \\n` and end the text block with `\\n %%%`. Use `msg_text` with the Datadog Ruby library. Text string `json:"text"` - // The event title. Limited to 100 characters. Use `msg_title` with the Datadog Ruby library. + // The event title. Title string `json:"title"` // URL of the event. Url *string `json:"url,omitempty"`