Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7949,6 +7949,10 @@ components:
This parameter is used for the pagination feature.
nullable: true
type: string
requestId:
description: Unique identifier of the request.
example: example-request-id
type: string
status:
description: Status of the response.
type: string
Expand Down Expand Up @@ -35231,6 +35235,7 @@ paths:
- team:A
timestamp: "2020-05-26T13:36:14Z"
id: AAAAAWgN8Xwgr1vKDQAAAABBV2dOOFh3ZzZobm1mWXJFYTR0OA
requestId: example-request-id
status: done
schema:
$ref: "#/components/schemas/LogsListResponse"
Expand Down
8 changes: 8 additions & 0 deletions src/datadog_api_client/v1/model/logs_list_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,19 +26,22 @@ def openapi_types(_):
return {
"logs": ([Log],),
"next_log_id": (str, none_type),
"request_id": (str,),
"status": (str,),
}

attribute_map = {
"logs": "logs",
"next_log_id": "nextLogId",
"request_id": "requestId",
"status": "status",
}

def __init__(
self_,
logs: Union[List[Log], UnsetType] = unset,
next_log_id: Union[str, none_type, UnsetType] = unset,
request_id: Union[str, UnsetType] = unset,
status: Union[str, UnsetType] = unset,
**kwargs,
):
Expand All @@ -52,13 +55,18 @@ def __init__(
This parameter is used for the pagination feature.
:type next_log_id: str, none_type, optional

:param request_id: Unique identifier of the request.
:type request_id: str, optional

:param status: Status of the response.
:type status: str, optional
"""
if logs is not unset:
kwargs["logs"] = logs
if next_log_id is not unset:
kwargs["next_log_id"] = next_log_id
if request_id is not unset:
kwargs["request_id"] = request_id
if status is not unset:
kwargs["status"] = status
super().__init__(kwargs)
Loading