Skip to content

Commit

Permalink
Regenerate client from commit 92b08fe of spec repo (#163)
Browse files Browse the repository at this point in the history
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
  • Loading branch information
api-clients-generation-pipeline[bot] and ci.datadog-api-spec committed Nov 20, 2020
1 parent aef283f commit 8368ffa
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 9 deletions.
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.3.0",
"regenerated": "2020-11-19 18:22:25.812062",
"spec_repo_commit": "171775a"
"regenerated": "2020-11-20 17:19:54.331056",
"spec_repo_commit": "92b08fe"
},
"v2": {
"apigentools_version": "1.3.0",
"regenerated": "2020-11-19 18:22:36.800055",
"spec_repo_commit": "171775a"
"regenerated": "2020-11-20 17:20:04.502989",
"spec_repo_commit": "92b08fe"
}
}
}
4 changes: 2 additions & 2 deletions docs/v1/EventAlertType.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# EventAlertType

If an alert event is enabled, set its type. For example, `error`, `warning`, `info`, and `success`.
If an alert event is enabled, set its type. For example, `error`, `warning`, `info`, `success`, `user_update`, `recommendation`, and `snapshot`.
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**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", ]
**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", ]

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

Expand Down
7 changes: 5 additions & 2 deletions src/datadog_api_client/v1/model/event_alert_type.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ class EventAlertType(ModelSimple):
'WARNING': "warning",
'INFO': "info",
'SUCCESS': "success",
'USER_UPDATE': "user_update",
'RECOMMENDATION': "recommendation",
'SNAPSHOT': "snapshot",
},
}

Expand Down Expand Up @@ -101,10 +104,10 @@ def __init__(self, *args, **kwargs):
Note that value can be passed either in args or in kwargs, but not in both.
Args:
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
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
Keyword Args:
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
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
_check_type (bool): if True, values for parameters in openapi_types
will be type checked and a TypeError will be
raised if the wrong type is input.
Expand Down
10 changes: 9 additions & 1 deletion src/datadog_api_client/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1337,19 +1337,27 @@ components:
EventAlertType:
description: 'If an alert event is enabled, set its type.

For example, `error`, `warning`, `info`, and `success`.'
For example, `error`, `warning`, `info`, `success`, `user_update`,

`recommendation`, and `snapshot`.'
enum:
- error
- warning
- info
- success
- user_update
- recommendation
- snapshot
example: info
type: string
x-enum-varnames:
- ERROR
- WARNING
- INFO
- SUCCESS
- USER_UPDATE
- RECOMMENDATION
- SNAPSHOT
EventListResponse:
description: An event list response.
properties:
Expand Down

0 comments on commit 8368ffa

Please sign in to comment.