From 56beed381efa030b153d0a751c63248e63f23c88 Mon Sep 17 00:00:00 2001 From: "api-clients-generation-pipeline[bot]" <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com> Date: Sat, 18 Dec 2021 17:48:57 +0000 Subject: [PATCH] Regenerate client from commit eb96eba of spec repo (#723) Co-authored-by: ci.datadog-api-spec Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com> --- .apigentools-info | 8 ++++---- .generator/schemas/v1/openapi.yaml | 4 +++- docs/v1/MonitorsApi.md | 4 ++-- src/datadog_api_client/v1/api/monitors_api.py | 2 +- 4 files changed, 10 insertions(+), 8 deletions(-) diff --git a/.apigentools-info b/.apigentools-info index a86933c325..32480c687d 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.5.1.dev2", - "regenerated": "2021-12-17 22:33:06.473560", - "spec_repo_commit": "4c16b82" + "regenerated": "2021-12-18 14:42:33.885366", + "spec_repo_commit": "eb96eba" }, "v2": { "apigentools_version": "1.5.1.dev2", - "regenerated": "2021-12-17 22:33:06.988975", - "spec_repo_commit": "4c16b82" + "regenerated": "2021-12-18 14:42:34.311418", + "spec_repo_commit": "eb96eba" } } } \ No newline at end of file diff --git a/.generator/schemas/v1/openapi.yaml b/.generator/schemas/v1/openapi.yaml index 7b06be4ad3..f5868c1239 100644 --- a/.generator/schemas/v1/openapi.yaml +++ b/.generator/schemas/v1/openapi.yaml @@ -19708,7 +19708,9 @@ paths: required: false schema: type: boolean - - description: Monitor ID offset. + - description: Use this parameter for paginating through large sets of monitors. + Start with a value of zero, make a request, set the value to the last ID + of result set, and then repeat until the response is empty. in: query name: id_offset required: false diff --git a/docs/v1/MonitorsApi.md b/docs/v1/MonitorsApi.md index e59e280fb1..4b7949af72 100644 --- a/docs/v1/MonitorsApi.md +++ b/docs/v1/MonitorsApi.md @@ -535,7 +535,7 @@ with ApiClient(configuration) as api_client: tags = "host:host0" # str | A comma separated list indicating what tags, if any, should be used to filter the list of monitors by scope. For example, `host:host0`. (optional) monitor_tags = "service:my-app" # str | A comma separated list indicating what service and/or custom tags, if any, should be used to filter the list of monitors. Tags created in the Datadog UI automatically have the service key prepended. For example, `service:my-app`. (optional) with_downtimes = True # bool | If this argument is set to true, then the returned data includes all current active downtimes for each monitor. (optional) - id_offset = 1 # int | Monitor ID offset. (optional) + id_offset = 1 # int | Use this parameter for paginating through large sets of monitors. Start with a value of zero, make a request, set the value to the last ID of result set, and then repeat until the response is empty. (optional) page = 0 # int | The page to start paginating from. If this argument is not specified, the request returns all monitors without pagination. (optional) page_size = 20 # int | The number of monitors to return per page. If the page argument is not specified, the default behavior returns all monitors without a `page_size` limit. However, if page is specified and `page_size` is not, the argument defaults to 100. (optional) @@ -558,7 +558,7 @@ with ApiClient(configuration) as api_client: | **tags** | **str** | A comma separated list indicating what tags, if any, should be used to filter the list of monitors by scope. For example, `host:host0`. | [optional] | | **monitor_tags** | **str** | A comma separated list indicating what service and/or custom tags, if any, should be used to filter the list of monitors. Tags created in the Datadog UI automatically have the service key prepended. For example, `service:my-app`. | [optional] | | **with_downtimes** | **bool** | If this argument is set to true, then the returned data includes all current active downtimes for each monitor. | [optional] | -| **id_offset** | **int** | Monitor ID offset. | [optional] | +| **id_offset** | **int** | Use this parameter for paginating through large sets of monitors. Start with a value of zero, make a request, set the value to the last ID of result set, and then repeat until the response is empty. | [optional] | | **page** | **int** | The page to start paginating from. If this argument is not specified, the request returns all monitors without pagination. | [optional] | | **page_size** | **int** | The number of monitors to return per page. If the page argument is not specified, the default behavior returns all monitors without a `page_size` limit. However, if page is specified and `page_size` is not, the argument defaults to 100. | [optional] | diff --git a/src/datadog_api_client/v1/api/monitors_api.py b/src/datadog_api_client/v1/api/monitors_api.py index 50d0c7ff9a..4ff76236af 100644 --- a/src/datadog_api_client/v1/api/monitors_api.py +++ b/src/datadog_api_client/v1/api/monitors_api.py @@ -509,7 +509,7 @@ def list_monitors(self, **kwargs): tags (str): [optional] A comma separated list indicating what tags, if any, should be used to filter the list of monitors by scope. For example, `host:host0`. monitor_tags (str): [optional] A comma separated list indicating what service and/or custom tags, if any, should be used to filter the list of monitors. Tags created in the Datadog UI automatically have the service key prepended. For example, `service:my-app`. with_downtimes (bool): [optional] If this argument is set to true, then the returned data includes all current active downtimes for each monitor. - id_offset (int): [optional] Monitor ID offset. + id_offset (int): [optional] Use this parameter for paginating through large sets of monitors. Start with a value of zero, make a request, set the value to the last ID of result set, and then repeat until the response is empty. page (int): [optional] The page to start paginating from. If this argument is not specified, the request returns all monitors without pagination. page_size (int): [optional] The number of monitors to return per page. If the page argument is not specified, the default behavior returns all monitors without a `page_size` limit. However, if page is specified and `page_size` is not, the argument defaults to 100. _return_http_data_only (bool): response data without head status