Skip to content

Commit c55b731

Browse files
dd-octo-sts[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit ff62a9f of spec repo (#4166)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent 6e1dc3c commit c55b731

2 files changed

Lines changed: 13 additions & 0 deletions

File tree

‎.generator/schemas/v1/openapi.yaml‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7949,6 +7949,10 @@ components:
79497949
This parameter is used for the pagination feature.
79507950
nullable: true
79517951
type: string
7952+
requestId:
7953+
description: Unique identifier of the request.
7954+
example: example-request-id
7955+
type: string
79527956
status:
79537957
description: Status of the response.
79547958
type: string
@@ -35231,6 +35235,7 @@ paths:
3523135235
- team:A
3523235236
timestamp: "2020-05-26T13:36:14Z"
3523335237
id: AAAAAWgN8Xwgr1vKDQAAAABBV2dOOFh3ZzZobm1mWXJFYTR0OA
35238+
requestId: example-request-id
3523435239
status: done
3523535240
schema:
3523635241
$ref: "#/components/schemas/LogsListResponse"

‎src/datadog_api_client/v1/model/logs_list_response.py‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,19 +26,22 @@ def openapi_types(_):
2626
return {
2727
"logs": ([Log],),
2828
"next_log_id": (str, none_type),
29+
"request_id": (str,),
2930
"status": (str,),
3031
}
3132

3233
attribute_map = {
3334
"logs": "logs",
3435
"next_log_id": "nextLogId",
36+
"request_id": "requestId",
3537
"status": "status",
3638
}
3739

3840
def __init__(
3941
self_,
4042
logs: Union[List[Log], UnsetType] = unset,
4143
next_log_id: Union[str, none_type, UnsetType] = unset,
44+
request_id: Union[str, UnsetType] = unset,
4245
status: Union[str, UnsetType] = unset,
4346
**kwargs,
4447
):
@@ -52,13 +55,18 @@ def __init__(
5255
This parameter is used for the pagination feature.
5356
:type next_log_id: str, none_type, optional
5457
58+
:param request_id: Unique identifier of the request.
59+
:type request_id: str, optional
60+
5561
:param status: Status of the response.
5662
:type status: str, optional
5763
"""
5864
if logs is not unset:
5965
kwargs["logs"] = logs
6066
if next_log_id is not unset:
6167
kwargs["next_log_id"] = next_log_id
68+
if request_id is not unset:
69+
kwargs["request_id"] = request_id
6270
if status is not unset:
6371
kwargs["status"] = status
6472
super().__init__(kwargs)

0 commit comments

Comments
 (0)