diff --git a/.swagger-codegen/config.json b/.swagger-codegen/config.json index 5106359..315a1d4 100644 --- a/.swagger-codegen/config.json +++ b/.swagger-codegen/config.json @@ -3,5 +3,5 @@ "gitUserId": "wavefrontHQ", "packageName": "wavefront_api_client", "packageUrl": "https://github.com/wavefrontHQ/python-client", - "packageVersion": "2.91.2" + "packageVersion": "2.95.1" } diff --git a/.swagger-codegen/config.jsone b/.swagger-codegen/config.jsone index a3b89b6..5106359 100644 --- a/.swagger-codegen/config.jsone +++ b/.swagger-codegen/config.jsone @@ -3,5 +3,5 @@ "gitUserId": "wavefrontHQ", "packageName": "wavefront_api_client", "packageUrl": "https://github.com/wavefrontHQ/python-client", - "packageVersion": "2.88.5" + "packageVersion": "2.91.2" } diff --git a/README.md b/README.md index 7cd3b43..c3ca5db 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ This Python package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project: - API version: v2 -- Package version: 2.91.2 +- Package version: 2.95.1 - Build package: io.swagger.codegen.languages.PythonClientCodegen ## Requirements. diff --git a/docs/NotificantApi.md b/docs/NotificantApi.md index 7583471..44fe217 100644 --- a/docs/NotificantApi.md +++ b/docs/NotificantApi.md @@ -67,7 +67,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_notificant** -> ResponseContainerNotificant delete_notificant(id) +> ResponseContainerNotificant delete_notificant(id, unlink=unlink) Delete a specific notification target @@ -90,10 +90,11 @@ configuration.api_key['X-AUTH-TOKEN'] = 'YOUR_API_KEY' # create an instance of the API class api_instance = wavefront_api_client.NotificantApi(wavefront_api_client.ApiClient(configuration)) id = 'id_example' # str | +unlink = false # bool | (optional) (default to false) try: # Delete a specific notification target - api_response = api_instance.delete_notificant(id) + api_response = api_instance.delete_notificant(id, unlink=unlink) pprint(api_response) except ApiException as e: print("Exception when calling NotificantApi->delete_notificant: %s\n" % e) @@ -104,6 +105,7 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **id** | **str**| | + **unlink** | **bool**| | [optional] [default to false] ### Return type diff --git a/docs/WebhookApi.md b/docs/WebhookApi.md index b86d3df..42476ca 100644 --- a/docs/WebhookApi.md +++ b/docs/WebhookApi.md @@ -66,7 +66,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_webhook** -> ResponseContainerNotificant delete_webhook(id) +> ResponseContainerNotificant delete_webhook(id, unlink=unlink) Delete a specific webhook @@ -89,10 +89,11 @@ configuration.api_key['X-AUTH-TOKEN'] = 'YOUR_API_KEY' # create an instance of the API class api_instance = wavefront_api_client.WebhookApi(wavefront_api_client.ApiClient(configuration)) id = 'id_example' # str | +unlink = false # bool | (optional) (default to false) try: # Delete a specific webhook - api_response = api_instance.delete_webhook(id) + api_response = api_instance.delete_webhook(id, unlink=unlink) pprint(api_response) except ApiException as e: print("Exception when calling WebhookApi->delete_webhook: %s\n" % e) @@ -103,6 +104,7 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **id** | **str**| | + **unlink** | **bool**| | [optional] [default to false] ### Return type diff --git a/setup.py b/setup.py index e339967..5be07a8 100644 --- a/setup.py +++ b/setup.py @@ -14,7 +14,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "wavefront-api-client" -VERSION = "2.91.2" +VERSION = "2.95.1" # To install the library, run the following # # python setup.py install diff --git a/wavefront_api_client/api/notificant_api.py b/wavefront_api_client/api/notificant_api.py index 3b0c062..17da9d2 100644 --- a/wavefront_api_client/api/notificant_api.py +++ b/wavefront_api_client/api/notificant_api.py @@ -139,6 +139,7 @@ def delete_notificant(self, id, **kwargs): # noqa: E501 :param async_req bool :param str id: (required) + :param bool unlink: :return: ResponseContainerNotificant If the method is called asynchronously, returns the request thread. @@ -161,12 +162,13 @@ def delete_notificant_with_http_info(self, id, **kwargs): # noqa: E501 :param async_req bool :param str id: (required) + :param bool unlink: :return: ResponseContainerNotificant If the method is called asynchronously, returns the request thread. """ - all_params = ['id'] # noqa: E501 + all_params = ['id', 'unlink'] # noqa: E501 all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -193,6 +195,8 @@ def delete_notificant_with_http_info(self, id, **kwargs): # noqa: E501 path_params['id'] = params['id'] # noqa: E501 query_params = [] + if 'unlink' in params: + query_params.append(('unlink', params['unlink'])) # noqa: E501 header_params = {} diff --git a/wavefront_api_client/api/webhook_api.py b/wavefront_api_client/api/webhook_api.py index 9179a5b..da578a5 100644 --- a/wavefront_api_client/api/webhook_api.py +++ b/wavefront_api_client/api/webhook_api.py @@ -139,6 +139,7 @@ def delete_webhook(self, id, **kwargs): # noqa: E501 :param async_req bool :param str id: (required) + :param bool unlink: :return: ResponseContainerNotificant If the method is called asynchronously, returns the request thread. @@ -161,12 +162,13 @@ def delete_webhook_with_http_info(self, id, **kwargs): # noqa: E501 :param async_req bool :param str id: (required) + :param bool unlink: :return: ResponseContainerNotificant If the method is called asynchronously, returns the request thread. """ - all_params = ['id'] # noqa: E501 + all_params = ['id', 'unlink'] # noqa: E501 all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -193,6 +195,8 @@ def delete_webhook_with_http_info(self, id, **kwargs): # noqa: E501 path_params['id'] = params['id'] # noqa: E501 query_params = [] + if 'unlink' in params: + query_params.append(('unlink', params['unlink'])) # noqa: E501 header_params = {} diff --git a/wavefront_api_client/api_client.py b/wavefront_api_client/api_client.py index d615215..445db6d 100644 --- a/wavefront_api_client/api_client.py +++ b/wavefront_api_client/api_client.py @@ -74,7 +74,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None, self.default_headers[header_name] = header_value self.cookie = cookie # Set default User-Agent. - self.user_agent = 'Swagger-Codegen/2.91.2/python' + self.user_agent = 'Swagger-Codegen/2.95.1/python' def __del__(self): if self._pool is not None: diff --git a/wavefront_api_client/configuration.py b/wavefront_api_client/configuration.py index e10f8b8..699e1cb 100644 --- a/wavefront_api_client/configuration.py +++ b/wavefront_api_client/configuration.py @@ -248,5 +248,5 @@ def to_debug_report(self): "OS: {env}\n"\ "Python Version: {pyversion}\n"\ "Version of the API: v2\n"\ - "SDK Package Version: 2.91.2".\ + "SDK Package Version: 2.95.1".\ format(env=sys.platform, pyversion=sys.version)