Skip to content

Commit b1ce7ba

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit efde263a of spec repo
1 parent c2cd491 commit b1ce7ba

File tree

4 files changed

+27
-4
lines changed

4 files changed

+27
-4
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.6.5",
7-
"regenerated": "2023-07-13 19:35:43.377556",
8-
"spec_repo_commit": "b37fc521"
7+
"regenerated": "2023-07-13 20:37:02.004842",
8+
"spec_repo_commit": "efde263a"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.5",
12-
"regenerated": "2023-07-13 19:35:43.395282",
13-
"spec_repo_commit": "b37fc521"
12+
"regenerated": "2023-07-13 20:37:02.018065",
13+
"spec_repo_commit": "efde263a"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4443,6 +4443,9 @@ components:
44434443
properties:
44444444
attributes:
44454445
$ref: '#/components/schemas/EventAttributes'
4446+
message:
4447+
description: The message of the event.
4448+
type: string
44464449
tags:
44474450
description: An array of tags associated with the event.
44484451
example:
@@ -4693,6 +4696,10 @@ components:
46934696
description: The identifier of the request.
46944697
example: MWlFUjVaWGZTTTZPYzM0VXp1OXU2d3xLSVpEMjZKQ0VKUTI0dEYtM3RSOFVR
46954698
type: string
4699+
status:
4700+
description: The request status.
4701+
example: done
4702+
type: string
46964703
warnings:
46974704
description: 'A list of warnings (non-fatal errors) encountered. Partial
46984705
results might be returned if

src/datadog_api_client/v2/model/event_response_attributes.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,19 +25,22 @@ def openapi_types(_):
2525

2626
return {
2727
"attributes": (EventAttributes,),
28+
"message": (str,),
2829
"tags": ([str],),
2930
"timestamp": (datetime,),
3031
}
3132

3233
attribute_map = {
3334
"attributes": "attributes",
35+
"message": "message",
3436
"tags": "tags",
3537
"timestamp": "timestamp",
3638
}
3739

3840
def __init__(
3941
self_,
4042
attributes: Union[EventAttributes, UnsetType] = unset,
43+
message: Union[str, UnsetType] = unset,
4144
tags: Union[List[str], UnsetType] = unset,
4245
timestamp: Union[datetime, UnsetType] = unset,
4346
**kwargs,
@@ -48,6 +51,9 @@ def __init__(
4851
:param attributes: Object description of attributes from your event.
4952
:type attributes: EventAttributes, optional
5053
54+
:param message: The message of the event.
55+
:type message: str, optional
56+
5157
:param tags: An array of tags associated with the event.
5258
:type tags: [str], optional
5359
@@ -56,6 +62,8 @@ def __init__(
5662
"""
5763
if attributes is not unset:
5864
kwargs["attributes"] = attributes
65+
if message is not unset:
66+
kwargs["message"] = message
5967
if tags is not unset:
6068
kwargs["tags"] = tags
6169
if timestamp is not unset:

src/datadog_api_client/v2/model/events_response_metadata.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,15 @@ def openapi_types(_):
2828
"elapsed": (int,),
2929
"page": (EventsResponseMetadataPage,),
3030
"request_id": (str,),
31+
"status": (str,),
3132
"warnings": ([EventsWarning],),
3233
}
3334

3435
attribute_map = {
3536
"elapsed": "elapsed",
3637
"page": "page",
3738
"request_id": "request_id",
39+
"status": "status",
3840
"warnings": "warnings",
3941
}
4042

@@ -43,6 +45,7 @@ def __init__(
4345
elapsed: Union[int, UnsetType] = unset,
4446
page: Union[EventsResponseMetadataPage, UnsetType] = unset,
4547
request_id: Union[str, UnsetType] = unset,
48+
status: Union[str, UnsetType] = unset,
4649
warnings: Union[List[EventsWarning], UnsetType] = unset,
4750
**kwargs,
4851
):
@@ -58,6 +61,9 @@ def __init__(
5861
:param request_id: The identifier of the request.
5962
:type request_id: str, optional
6063
64+
:param status: The request status.
65+
:type status: str, optional
66+
6167
:param warnings: A list of warnings (non-fatal errors) encountered. Partial results might be returned if
6268
warnings are present in the response.
6369
:type warnings: [EventsWarning], optional
@@ -68,6 +74,8 @@ def __init__(
6874
kwargs["page"] = page
6975
if request_id is not unset:
7076
kwargs["request_id"] = request_id
77+
if status is not unset:
78+
kwargs["status"] = status
7179
if warnings is not unset:
7280
kwargs["warnings"] = warnings
7381
super().__init__(kwargs)

0 commit comments

Comments
 (0)