Skip to content

Commit 8368ffa

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit 92b08fe of spec repo (#163)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent aef283f commit 8368ffa

File tree

4 files changed

+20
-9
lines changed

4 files changed

+20
-9
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.3.0",
7-
"regenerated": "2020-11-19 18:22:25.812062",
8-
"spec_repo_commit": "171775a"
7+
"regenerated": "2020-11-20 17:19:54.331056",
8+
"spec_repo_commit": "92b08fe"
99
},
1010
"v2": {
1111
"apigentools_version": "1.3.0",
12-
"regenerated": "2020-11-19 18:22:36.800055",
13-
"spec_repo_commit": "171775a"
12+
"regenerated": "2020-11-20 17:20:04.502989",
13+
"spec_repo_commit": "92b08fe"
1414
}
1515
}
1616
}

docs/v1/EventAlertType.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# EventAlertType
22

3-
If an alert event is enabled, set its type. For example, `error`, `warning`, `info`, and `success`.
3+
If an alert event is enabled, set its type. For example, `error`, `warning`, `info`, `success`, `user_update`, `recommendation`, and `snapshot`.
44
## Properties
55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
7-
**value** | **str** | If an alert event is enabled, set its type. For example, &#x60;error&#x60;, &#x60;warning&#x60;, &#x60;info&#x60;, and &#x60;success&#x60;. | must be one of ["error", "warning", "info", "success", ]
7+
**value** | **str** | If an alert event is enabled, set its type. For example, &#x60;error&#x60;, &#x60;warning&#x60;, &#x60;info&#x60;, &#x60;success&#x60;, &#x60;user_update&#x60;, &#x60;recommendation&#x60;, and &#x60;snapshot&#x60;. | must be one of ["error", "warning", "info", "success", "user_update", "recommendation", "snapshot", ]
88

99
[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md)
1010

src/datadog_api_client/v1/model/event_alert_type.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@ class EventAlertType(ModelSimple):
5252
'WARNING': "warning",
5353
'INFO': "info",
5454
'SUCCESS': "success",
55+
'USER_UPDATE': "user_update",
56+
'RECOMMENDATION': "recommendation",
57+
'SNAPSHOT': "snapshot",
5558
},
5659
}
5760

@@ -101,10 +104,10 @@ def __init__(self, *args, **kwargs):
101104
Note that value can be passed either in args or in kwargs, but not in both.
102105
103106
Args:
104-
args[0] (str): If an alert event is enabled, set its type. For example, &#x60;error&#x60;, &#x60;warning&#x60;, &#x60;info&#x60;, and &#x60;success&#x60;.., must be one of ["error", "warning", "info", "success", ] # noqa: E501
107+
args[0] (str): If an alert event is enabled, set its type. For example, &#x60;error&#x60;, &#x60;warning&#x60;, &#x60;info&#x60;, &#x60;success&#x60;, &#x60;user_update&#x60;, &#x60;recommendation&#x60;, and &#x60;snapshot&#x60;.., must be one of ["error", "warning", "info", "success", "user_update", "recommendation", "snapshot", ] # noqa: E501
105108
106109
Keyword Args:
107-
value (str): If an alert event is enabled, set its type. For example, &#x60;error&#x60;, &#x60;warning&#x60;, &#x60;info&#x60;, and &#x60;success&#x60;.., must be one of ["error", "warning", "info", "success", ] # noqa: E501
110+
value (str): If an alert event is enabled, set its type. For example, &#x60;error&#x60;, &#x60;warning&#x60;, &#x60;info&#x60;, &#x60;success&#x60;, &#x60;user_update&#x60;, &#x60;recommendation&#x60;, and &#x60;snapshot&#x60;.., must be one of ["error", "warning", "info", "success", "user_update", "recommendation", "snapshot", ] # noqa: E501
108111
_check_type (bool): if True, values for parameters in openapi_types
109112
will be type checked and a TypeError will be
110113
raised if the wrong type is input.

src/datadog_api_client/v1/openapi.yaml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1337,19 +1337,27 @@ components:
13371337
EventAlertType:
13381338
description: 'If an alert event is enabled, set its type.
13391339

1340-
For example, `error`, `warning`, `info`, and `success`.'
1340+
For example, `error`, `warning`, `info`, `success`, `user_update`,
1341+
1342+
`recommendation`, and `snapshot`.'
13411343
enum:
13421344
- error
13431345
- warning
13441346
- info
13451347
- success
1348+
- user_update
1349+
- recommendation
1350+
- snapshot
13461351
example: info
13471352
type: string
13481353
x-enum-varnames:
13491354
- ERROR
13501355
- WARNING
13511356
- INFO
13521357
- SUCCESS
1358+
- USER_UPDATE
1359+
- RECOMMENDATION
1360+
- SNAPSHOT
13531361
EventListResponse:
13541362
description: An event list response.
13551363
properties:

0 commit comments

Comments
 (0)