Skip to content

Commit

Permalink
Autogenerated Update v2.95.1.
Browse files Browse the repository at this point in the history
  • Loading branch information
wf-jenkins committed Jul 22, 2021
1 parent 5930610 commit e4d77dd
Show file tree
Hide file tree
Showing 10 changed files with 24 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .swagger-codegen/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
2 changes: 1 addition & 1 deletion .swagger-codegen/config.jsone
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
6 changes: 4 additions & 2 deletions docs/NotificantApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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)
Expand All @@ -104,6 +105,7 @@ except ApiException as e:
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**id** | **str**| |
**unlink** | **bool**| | [optional] [default to false]

### Return type

Expand Down
6 changes: 4 additions & 2 deletions docs/WebhookApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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)
Expand All @@ -103,6 +104,7 @@ except ApiException as e:
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**id** | **str**| |
**unlink** | **bool**| | [optional] [default to false]

### Return type

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 5 additions & 1 deletion wavefront_api_client/api/notificant_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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')
Expand All @@ -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 = {}

Expand Down
6 changes: 5 additions & 1 deletion wavefront_api_client/api/webhook_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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')
Expand All @@ -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 = {}

Expand Down
2 changes: 1 addition & 1 deletion wavefront_api_client/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion wavefront_api_client/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit e4d77dd

Please sign in to comment.