Skip to content

Commit 7f7a98a

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit f53311d of spec repo (#127)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 82018bc commit 7f7a98a

File tree

4 files changed

+9
-6
lines changed

4 files changed

+9
-6
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.2.0",
7-
"regenerated": "2020-10-22 07:42:33.365202",
8-
"spec_repo_commit": "f1dd07f"
7+
"regenerated": "2020-10-22 08:08:22.611114",
8+
"spec_repo_commit": "f53311d"
99
},
1010
"v2": {
1111
"apigentools_version": "1.2.0",
12-
"regenerated": "2020-10-22 07:42:42.310000",
13-
"spec_repo_commit": "f1dd07f"
12+
"regenerated": "2020-10-22 08:08:33.538895",
13+
"spec_repo_commit": "f53311d"
1414
}
1515
}
1616
}

docs/v1/Event.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Name | Type | Description | Notes
1313
**priority** | [**EventPriority**](EventPriority.md) | | [optional]
1414
**source_type_name** | **str** | 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]
1515
**tags** | **[str]** | A list of tags to apply to the event. | [optional]
16-
**text** | **str** | The body of the event. Limited to 4000 characters. The text supports markdown. Use &#x60;msg_text&#x60; with the Datadog Ruby library. | [optional]
16+
**text** | **str** | 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 &#x60;%%% \\n&#x60; and end the text block with &#x60;\\n %%%&#x60;. Use &#x60;msg_text&#x60; with the Datadog Ruby library. | [optional]
1717
**title** | **str** | The event title. Limited to 100 characters. Use &#x60;msg_title&#x60; with the Datadog Ruby library. | [optional]
1818
**url** | **str** | URL of the event. | [optional] [readonly]
1919

src/datadog_api_client/v1/model/event.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ def __init__(self, *args, **kwargs): # noqa: E501
173173
priority (EventPriority): [optional] # noqa: E501
174174
source_type_name (str): 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] # noqa: E501
175175
tags ([str]): A list of tags to apply to the event.. [optional] # noqa: E501
176-
text (str): The body of the event. Limited to 4000 characters. The text supports markdown. Use &#x60;msg_text&#x60; with the Datadog Ruby library.. [optional] # noqa: E501
176+
text (str): 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 &#x60;%%% \\n&#x60; and end the text block with &#x60;\\n %%%&#x60;. Use &#x60;msg_text&#x60; with the Datadog Ruby library.. [optional] # noqa: E501
177177
title (str): The event title. Limited to 100 characters. Use &#x60;msg_title&#x60; with the Datadog Ruby library.. [optional] # noqa: E501
178178
url (str): URL of the event.. [optional] # noqa: E501
179179
"""

src/datadog_api_client/v1/openapi.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1316,6 +1316,9 @@ components:
13161316
description: 'The body of the event. Limited to 4000 characters. The text
13171317
supports markdown.
13181318
1319+
To use markdown in the event text, start the text block with `%%% \n`
1320+
and end the text block with `\n %%%`.
1321+
13191322
Use `msg_text` with the Datadog Ruby library.'
13201323
example: Oh boy!
13211324
maxLength: 4000

0 commit comments

Comments
 (0)