Skip to content

Commit df68bbd

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 385ce7f of spec repo
1 parent cfd31a4 commit df68bbd

File tree

4 files changed

+33
-5
lines changed

4 files changed

+33
-5
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.4.1.dev8",
7-
"regenerated": "2021-06-10 11:38:39.754263",
8-
"spec_repo_commit": "dfe65f1"
7+
"regenerated": "2021-06-11 20:15:25.637681",
8+
"spec_repo_commit": "385ce7f"
99
},
1010
"v2": {
1111
"apigentools_version": "1.4.1.dev8",
12-
"regenerated": "2021-06-10 11:39:01.898656",
13-
"spec_repo_commit": "dfe65f1"
12+
"regenerated": "2021-06-11 20:15:53.531313",
13+
"spec_repo_commit": "385ce7f"
1414
}
1515
}
1616
}

docs/v1/ServiceLevelObjectivesApi.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -506,12 +506,14 @@ with ApiClient(configuration) as api_client:
506506
query = "monitor" # str | The query string to filter results based on SLO names. (optional)
507507
tags_query = "env:prod" # str | The query string to filter results based on a single SLO tag. (optional)
508508
metrics_query = "aws.elb.request_count" # str | The query string to filter results based on SLO numerator and denominator. (optional)
509+
limit = 1 # int | The number of SLOs to return in the response. (optional)
510+
offset = 1 # int | The specific offset to use as the beginning of the returned response (optional)
509511

510512
# example passing only required values which don't have defaults set
511513
# and optional values
512514
try:
513515
# Get all SLOs
514-
api_response = api_instance.list_slos(ids=ids, query=query, tags_query=tags_query, metrics_query=metrics_query)
516+
api_response = api_instance.list_slos(ids=ids, query=query, tags_query=tags_query, metrics_query=metrics_query, limit=limit, offset=offset)
515517
pprint(api_response)
516518
except ApiException as e:
517519
print("Exception when calling ServiceLevelObjectivesApi->list_slos: %s\n" % e)
@@ -526,6 +528,8 @@ Name | Type | Description | Notes
526528
**query** | **str**| The query string to filter results based on SLO names. | [optional]
527529
**tags_query** | **str**| The query string to filter results based on a single SLO tag. | [optional]
528530
**metrics_query** | **str**| The query string to filter results based on SLO numerator and denominator. | [optional]
531+
**limit** | **int**| The number of SLOs to return in the response. | [optional]
532+
**offset** | **int**| The specific offset to use as the beginning of the returned response | [optional]
529533

530534
### Return type
531535

src/datadog_api_client/v1/api/service_level_objectives_api.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -320,6 +320,8 @@ def __init__(self, api_client=None):
320320
"query",
321321
"tags_query",
322322
"metrics_query",
323+
"limit",
324+
"offset",
323325
],
324326
"required": [],
325327
"nullable": [],
@@ -334,18 +336,24 @@ def __init__(self, api_client=None):
334336
"query": (str,),
335337
"tags_query": (str,),
336338
"metrics_query": (str,),
339+
"limit": (int,),
340+
"offset": (int,),
337341
},
338342
"attribute_map": {
339343
"ids": "ids",
340344
"query": "query",
341345
"tags_query": "tags_query",
342346
"metrics_query": "metrics_query",
347+
"limit": "limit",
348+
"offset": "offset",
343349
},
344350
"location_map": {
345351
"ids": "query",
346352
"query": "query",
347353
"tags_query": "query",
348354
"metrics_query": "query",
355+
"limit": "query",
356+
"offset": "query",
349357
},
350358
"collection_format_map": {},
351359
},
@@ -679,6 +687,8 @@ def list_slos(self, **kwargs):
679687
query (str): The query string to filter results based on SLO names.. [optional]
680688
tags_query (str): The query string to filter results based on a single SLO tag.. [optional]
681689
metrics_query (str): The query string to filter results based on SLO numerator and denominator.. [optional]
690+
limit (int): The number of SLOs to return in the response.. [optional]
691+
offset (int): The specific offset to use as the beginning of the returned response. [optional]
682692
_return_http_data_only (bool): response data without head status
683693
code and headers. Default is True.
684694
_preload_content (bool): if False, the urllib3.HTTPResponse object

src/datadog_api_client/v1/openapi.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18954,6 +18954,20 @@ paths:
1895418954
required: false
1895518955
schema:
1895618956
type: string
18957+
- description: The number of SLOs to return in the response.
18958+
in: query
18959+
name: limit
18960+
required: false
18961+
schema:
18962+
format: int64
18963+
type: integer
18964+
- description: The specific offset to use as the beginning of the returned response
18965+
in: query
18966+
name: offset
18967+
required: false
18968+
schema:
18969+
format: int64
18970+
type: integer
1895718971
responses:
1895818972
'200':
1895918973
content:

0 commit comments

Comments
 (0)