Skip to content

Commit c0e30e2

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit 1014300 of spec repo (#158)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent c7bc366 commit c0e30e2

File tree

4 files changed

+9
-11
lines changed

4 files changed

+9
-11
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-17 18:41:02.930082",
8-
"spec_repo_commit": "bea8b79"
7+
"regenerated": "2020-11-18 15:48:57.027817",
8+
"spec_repo_commit": "1014300"
99
},
1010
"v2": {
1111
"apigentools_version": "1.3.0",
12-
"regenerated": "2020-11-17 18:41:14.208355",
13-
"spec_repo_commit": "bea8b79"
12+
"regenerated": "2020-11-18 15:49:07.165244",
13+
"spec_repo_commit": "1014300"
1414
}
1515
}
1616
}

docs/v1/LogsListRequest.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ Object to send with the request to retrieve a list of logs from your Organizatio
44
## Properties
55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
7-
**query** | **str** | The search query - following the log search syntax. |
87
**time** | [**LogsListRequestTime**](LogsListRequestTime.md) | |
98
**index** | **str** | The log index on which the request is performed. For multi-index organizations, the default is all live indexes. Historical indexes of rehydrated logs must be specified. | [optional]
109
**limit** | **int** | Number of logs return in the response. | [optional]
10+
**query** | **str** | The search query - following the log search syntax. | [optional]
1111
**sort** | [**LogsSort**](LogsSort.md) | | [optional]
1212
**start_at** | **str** | Hash identifier of the first log to return in the list, available in a log &#x60;id&#x60; attribute. This parameter is used for the pagination feature. **Note**: This parameter is ignored if the corresponding log is out of the scope of the specified time window. | [optional]
1313

src/datadog_api_client/v1/model/logs_list_request.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,10 @@ def openapi_types():
8181
"""
8282
lazy_import()
8383
return {
84-
'query': (str,), # noqa: E501
8584
'time': (LogsListRequestTime,), # noqa: E501
8685
'index': (str,), # noqa: E501
8786
'limit': (int,), # noqa: E501
87+
'query': (str,), # noqa: E501
8888
'sort': (LogsSort,), # noqa: E501
8989
'start_at': (str,), # noqa: E501
9090
}
@@ -95,10 +95,10 @@ def discriminator():
9595

9696

9797
attribute_map = {
98-
'query': 'query', # noqa: E501
9998
'time': 'time', # noqa: E501
10099
'index': 'index', # noqa: E501
101100
'limit': 'limit', # noqa: E501
101+
'query': 'query', # noqa: E501
102102
'sort': 'sort', # noqa: E501
103103
'start_at': 'startAt', # noqa: E501
104104
}
@@ -115,11 +115,10 @@ def discriminator():
115115
])
116116

117117
@convert_js_args_to_python_args
118-
def __init__(self, query, time, *args, **kwargs): # noqa: E501
118+
def __init__(self, time, *args, **kwargs): # noqa: E501
119119
"""LogsListRequest - a model defined in OpenAPI
120120
121121
Args:
122-
query (str): The search query - following the log search syntax.
123122
time (LogsListRequestTime):
124123
125124
Keyword Args:
@@ -155,6 +154,7 @@ def __init__(self, query, time, *args, **kwargs): # noqa: E501
155154
_visited_composed_classes = (Animal,)
156155
index (str): The log index on which the request is performed. For multi-index organizations, the default is all live indexes. Historical indexes of rehydrated logs must be specified.. [optional] # noqa: E501
157156
limit (int): Number of logs return in the response.. [optional] # noqa: E501
157+
query (str): The search query - following the log search syntax.. [optional] # noqa: E501
158158
sort (LogsSort): [optional] # noqa: E501
159159
start_at (str): Hash identifier of the first log to return in the list, available in a log &#x60;id&#x60; attribute. This parameter is used for the pagination feature. **Note**: This parameter is ignored if the corresponding log is out of the scope of the specified time window.. [optional] # noqa: E501
160160
"""
@@ -182,7 +182,6 @@ def __init__(self, query, time, *args, **kwargs): # noqa: E501
182182
self._configuration = _configuration
183183
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
184184

185-
self.query = query
186185
self.time = time
187186
for var_name, var_value in kwargs.items():
188187
if var_name not in self.attribute_map and \

src/datadog_api_client/v1/openapi.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3009,7 +3009,6 @@ components:
30093009
- to
30103010
type: object
30113011
required:
3012-
- query
30133012
- time
30143013
type: object
30153014
LogsListResponse:

0 commit comments

Comments
 (0)