diff --git a/README.md b/README.md index fdd89b0..c00625d 100644 --- a/README.md +++ b/README.md @@ -3,8 +3,8 @@ This Rest API enables developers to interact with a hoprd node programatically t This Python package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project: -- API version: 3.1.0 -- Package version: 2.1.4 +- API version: 3.1.1 +- Package version: 2.1.5 - Build package: io.swagger.codegen.v3.generators.python.PythonClientCodegen ## Requirements. @@ -110,10 +110,11 @@ Class | Method | HTTP request | Description *AccountApi* | [**addresses**](docs/AccountApi.md#addresses) | **GET** /api/v3/account/addresses | Get node's HOPR and native addresses. *AccountApi* | [**balances**](docs/AccountApi.md#balances) | **GET** /api/v3/account/balances | Get node's and associated Safe's HOPR and native balances as the allowance for HOPR *AccountApi* | [**withdraw**](docs/AccountApi.md#withdraw) | **POST** /api/v3/account/withdraw | Withdraw funds from this node to the ethereum wallet address. -*AliasApi* | [**aliases**](docs/AliasApi.md#aliases) | **GET** /api/v3/aliases | Get each previously set alias and its corresponding PeerId. -*AliasApi* | [**delete_alias**](docs/AliasApi.md#delete_alias) | **DELETE** /api/v3/aliases/{alias} | Delete an alias. -*AliasApi* | [**get_alias**](docs/AliasApi.md#get_alias) | **GET** /api/v3/aliases/{alias} | Get alias for the PeerId (Hopr address) that have this alias assigned to it. -*AliasApi* | [**set_alias**](docs/AliasApi.md#set_alias) | **POST** /api/v3/aliases | Set alias for a peer with a specific PeerId. +*AliasApi* | [**aliases**](docs/AliasApi.md#aliases) | **GET** /api/v3/aliases | (deprecated, will be removed in v3.0) Get each previously set alias and its corresponding PeerId. +*AliasApi* | [**clear_aliases**](docs/AliasApi.md#clear_aliases) | **DELETE** /api/v3/aliases | (deprecated, will be removed in v3.0) Clear all aliases. +*AliasApi* | [**delete_alias**](docs/AliasApi.md#delete_alias) | **DELETE** /api/v3/aliases/{alias} | (deprecated, will be removed in v3.0) Delete an alias. +*AliasApi* | [**get_alias**](docs/AliasApi.md#get_alias) | **GET** /api/v3/aliases/{alias} | (deprecated, will be removed in v3.0) Get alias for the PeerId (Hopr address) that have this alias assigned to it. +*AliasApi* | [**set_alias**](docs/AliasApi.md#set_alias) | **POST** /api/v3/aliases | (deprecated, will be removed in v3.0) Set alias for a peer with a specific PeerId. *ChannelsApi* | [**aggregate_tickets_in_channel**](docs/ChannelsApi.md#aggregate_tickets_in_channel) | **POST** /api/v3/channels/{channelId}/tickets/aggregate | Starts aggregation of tickets in the given channel. *ChannelsApi* | [**close_channel**](docs/ChannelsApi.md#close_channel) | **DELETE** /api/v3/channels/{channelId} | Closes the given channel. *ChannelsApi* | [**fund_channel**](docs/ChannelsApi.md#fund_channel) | **POST** /api/v3/channels/{channelId}/fund | Funds the given channel with the given amount of HOPR tokens. @@ -181,6 +182,7 @@ Class | Method | HTTP request | Description - [TagQueryRequest](docs/TagQueryRequest.md) - [TicketPriceResponse](docs/TicketPriceResponse.md) - [WithdrawBodyRequest](docs/WithdrawBodyRequest.md) + - [WithdrawResponse](docs/WithdrawResponse.md) ## Documentation For Authorization diff --git a/docs/AccountApi.md b/docs/AccountApi.md index 6079d35..e23fa9b 100644 --- a/docs/AccountApi.md +++ b/docs/AccountApi.md @@ -109,7 +109,7 @@ This endpoint does not need any parameter. [[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) # **withdraw** -> AccountBalancesResponse withdraw(body) +> WithdrawResponse withdraw(body) Withdraw funds from this node to the ethereum wallet address. @@ -149,7 +149,7 @@ Name | Type | Description | Notes ### Return type -[**AccountBalancesResponse**](AccountBalancesResponse.md) +[**WithdrawResponse**](WithdrawResponse.md) ### Authorization diff --git a/docs/AliasApi.md b/docs/AliasApi.md index 50cc95f..e620c47 100644 --- a/docs/AliasApi.md +++ b/docs/AliasApi.md @@ -4,17 +4,18 @@ All URIs are relative to */* Method | HTTP request | Description ------------- | ------------- | ------------- -[**aliases**](AliasApi.md#aliases) | **GET** /api/v3/aliases | Get each previously set alias and its corresponding PeerId. -[**delete_alias**](AliasApi.md#delete_alias) | **DELETE** /api/v3/aliases/{alias} | Delete an alias. -[**get_alias**](AliasApi.md#get_alias) | **GET** /api/v3/aliases/{alias} | Get alias for the PeerId (Hopr address) that have this alias assigned to it. -[**set_alias**](AliasApi.md#set_alias) | **POST** /api/v3/aliases | Set alias for a peer with a specific PeerId. +[**aliases**](AliasApi.md#aliases) | **GET** /api/v3/aliases | (deprecated, will be removed in v3.0) Get each previously set alias and its corresponding PeerId. +[**clear_aliases**](AliasApi.md#clear_aliases) | **DELETE** /api/v3/aliases | (deprecated, will be removed in v3.0) Clear all aliases. +[**delete_alias**](AliasApi.md#delete_alias) | **DELETE** /api/v3/aliases/{alias} | (deprecated, will be removed in v3.0) Delete an alias. +[**get_alias**](AliasApi.md#get_alias) | **GET** /api/v3/aliases/{alias} | (deprecated, will be removed in v3.0) Get alias for the PeerId (Hopr address) that have this alias assigned to it. +[**set_alias**](AliasApi.md#set_alias) | **POST** /api/v3/aliases | (deprecated, will be removed in v3.0) Set alias for a peer with a specific PeerId. # **aliases** > dict(str, str) aliases() -Get each previously set alias and its corresponding PeerId. +(deprecated, will be removed in v3.0) Get each previously set alias and its corresponding PeerId. -Get each previously set alias and its corresponding PeerId. +(deprecated, will be removed in v3.0) Get each previously set alias and its corresponding PeerId. ### Example ```python @@ -34,7 +35,7 @@ configuration.api_key['X-Auth-Token'] = 'YOUR_API_KEY' api_instance = hoprd_sdk.AliasApi(hoprd_sdk.ApiClient(configuration)) try: - # Get each previously set alias and its corresponding PeerId. + # (deprecated, will be removed in v3.0) Get each previously set alias and its corresponding PeerId. api_response = api_instance.aliases() pprint(api_response) except ApiException as e: @@ -59,12 +60,61 @@ This endpoint does not need any parameter. [[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) +# **clear_aliases** +> clear_aliases() + +(deprecated, will be removed in v3.0) Clear all aliases. + +(deprecated, will be removed in v3.0) Clear all aliases. + +### Example +```python +from __future__ import print_function +import time +import hoprd_sdk +from hoprd_sdk.rest import ApiException +from pprint import pprint + +# Configure API key authorization: api_token +configuration = hoprd_sdk.Configuration() +configuration.api_key['X-Auth-Token'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['X-Auth-Token'] = 'Bearer' + +# create an instance of the API class +api_instance = hoprd_sdk.AliasApi(hoprd_sdk.ApiClient(configuration)) + +try: + # (deprecated, will be removed in v3.0) Clear all aliases. + api_instance.clear_aliases() +except ApiException as e: + print("Exception when calling AliasApi->clear_aliases: %s\n" % e) +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +void (empty response body) + +### Authorization + +[api_token](../README.md#api_token), [bearer_token](../README.md#bearer_token) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[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_alias** > delete_alias(alias) -Delete an alias. +(deprecated, will be removed in v3.0) Delete an alias. -Delete an alias. +(deprecated, will be removed in v3.0) Delete an alias. ### Example ```python @@ -85,7 +135,7 @@ api_instance = hoprd_sdk.AliasApi(hoprd_sdk.ApiClient(configuration)) alias = 'alias_example' # str | Alias to be shown try: - # Delete an alias. + # (deprecated, will be removed in v3.0) Delete an alias. api_instance.delete_alias(alias) except ApiException as e: print("Exception when calling AliasApi->delete_alias: %s\n" % e) @@ -115,9 +165,9 @@ void (empty response body) # **get_alias** > PeerIdResponse get_alias(alias) -Get alias for the PeerId (Hopr address) that have this alias assigned to it. +(deprecated, will be removed in v3.0) Get alias for the PeerId (Hopr address) that have this alias assigned to it. -Get alias for the PeerId (Hopr address) that have this alias assigned to it. +(deprecated, will be removed in v3.0) Get alias for the PeerId (Hopr address) that have this alias assigned to it. ### Example ```python @@ -138,7 +188,7 @@ api_instance = hoprd_sdk.AliasApi(hoprd_sdk.ApiClient(configuration)) alias = 'alias_example' # str | Alias to be shown try: - # Get alias for the PeerId (Hopr address) that have this alias assigned to it. + # (deprecated, will be removed in v3.0) Get alias for the PeerId (Hopr address) that have this alias assigned to it. api_response = api_instance.get_alias(alias) pprint(api_response) except ApiException as e: @@ -169,9 +219,9 @@ Name | Type | Description | Notes # **set_alias** > PeerIdResponse set_alias(body) -Set alias for a peer with a specific PeerId. +(deprecated, will be removed in v3.0) Set alias for a peer with a specific PeerId. -Set alias for a peer with a specific PeerId. +(deprecated, will be removed in v3.0) Set alias for a peer with a specific PeerId. ### Example ```python @@ -192,7 +242,7 @@ api_instance = hoprd_sdk.AliasApi(hoprd_sdk.ApiClient(configuration)) body = hoprd_sdk.AliasPeerIdBodyRequest() # AliasPeerIdBodyRequest | Alias name along with the PeerId to be aliased try: - # Set alias for a peer with a specific PeerId. + # (deprecated, will be removed in v3.0) Set alias for a peer with a specific PeerId. api_response = api_instance.set_alias(body) pprint(api_response) except ApiException as e: diff --git a/docs/SendMessageBodyRequest.md b/docs/SendMessageBodyRequest.md index 2d119cb..6e2e035 100644 --- a/docs/SendMessageBodyRequest.md +++ b/docs/SendMessageBodyRequest.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **hops** | **int** | | [optional] **path** | **list[str]** | | [optional] **peer_id** | **str** | The recipient HOPR PeerId | -**tag** | **int** | The message tag used to filter messages based on application | +**tag** | **int** | The message tag used to filter messages based on application, must be from range <1024,65535> | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/WithdrawResponse.md b/docs/WithdrawResponse.md new file mode 100644 index 0000000..2036546 --- /dev/null +++ b/docs/WithdrawResponse.md @@ -0,0 +1,9 @@ +# WithdrawResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**receipt** | **str** | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/hoprd_sdk/__init__.py b/hoprd_sdk/__init__.py index 1863246..0a81a23 100644 --- a/hoprd_sdk/__init__.py +++ b/hoprd_sdk/__init__.py @@ -7,7 +7,7 @@ This Rest API enables developers to interact with a hoprd node programatically through HTTP. # noqa: E501 - OpenAPI spec version: 3.1.0 + OpenAPI spec version: 3.1.1 Contact: tech@hoprnet.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -63,3 +63,4 @@ from hoprd_sdk.models.tag_query_request import TagQueryRequest from hoprd_sdk.models.ticket_price_response import TicketPriceResponse from hoprd_sdk.models.withdraw_body_request import WithdrawBodyRequest +from hoprd_sdk.models.withdraw_response import WithdrawResponse diff --git a/hoprd_sdk/api/account_api.py b/hoprd_sdk/api/account_api.py index 5e798a3..19a4c34 100644 --- a/hoprd_sdk/api/account_api.py +++ b/hoprd_sdk/api/account_api.py @@ -5,7 +5,7 @@ This Rest API enables developers to interact with a hoprd node programatically through HTTP. # noqa: E501 - OpenAPI spec version: 3.1.0 + OpenAPI spec version: 3.1.1 Contact: tech@hoprnet.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -217,7 +217,7 @@ def withdraw(self, body, **kwargs): # noqa: E501 :param async_req bool :param WithdrawBodyRequest body: (required) - :return: AccountBalancesResponse + :return: WithdrawResponse If the method is called asynchronously, returns the request thread. """ @@ -239,7 +239,7 @@ def withdraw_with_http_info(self, body, **kwargs): # noqa: E501 :param async_req bool :param WithdrawBodyRequest body: (required) - :return: AccountBalancesResponse + :return: WithdrawResponse If the method is called asynchronously, returns the request thread. """ @@ -297,7 +297,7 @@ def withdraw_with_http_info(self, body, **kwargs): # noqa: E501 body=body_params, post_params=form_params, files=local_var_files, - response_type='AccountBalancesResponse', # noqa: E501 + response_type='WithdrawResponse', # noqa: E501 auth_settings=auth_settings, async_req=params.get('async_req'), _return_http_data_only=params.get('_return_http_data_only'), diff --git a/hoprd_sdk/api/alias_api.py b/hoprd_sdk/api/alias_api.py index 8cccccc..4408dd8 100644 --- a/hoprd_sdk/api/alias_api.py +++ b/hoprd_sdk/api/alias_api.py @@ -5,7 +5,7 @@ This Rest API enables developers to interact with a hoprd node programatically through HTTP. # noqa: E501 - OpenAPI spec version: 3.1.0 + OpenAPI spec version: 3.1.1 Contact: tech@hoprnet.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -33,9 +33,9 @@ def __init__(self, api_client=None): self.api_client = api_client def aliases(self, **kwargs): # noqa: E501 - """Get each previously set alias and its corresponding PeerId. # noqa: E501 + """(deprecated, will be removed in v3.0) Get each previously set alias and its corresponding PeerId. # noqa: E501 - Get each previously set alias and its corresponding PeerId. # noqa: E501 + (deprecated, will be removed in v3.0) Get each previously set alias and its corresponding PeerId. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.aliases(async_req=True) @@ -54,9 +54,9 @@ def aliases(self, **kwargs): # noqa: E501 return data def aliases_with_http_info(self, **kwargs): # noqa: E501 - """Get each previously set alias and its corresponding PeerId. # noqa: E501 + """(deprecated, will be removed in v3.0) Get each previously set alias and its corresponding PeerId. # noqa: E501 - Get each previously set alias and its corresponding PeerId. # noqa: E501 + (deprecated, will be removed in v3.0) Get each previously set alias and its corresponding PeerId. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.aliases_with_http_info(async_req=True) @@ -119,10 +119,97 @@ def aliases_with_http_info(self, **kwargs): # noqa: E501 _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) + def clear_aliases(self, **kwargs): # noqa: E501 + """(deprecated, will be removed in v3.0) Clear all aliases. # noqa: E501 + + (deprecated, will be removed in v3.0) Clear all aliases. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.clear_aliases(async_req=True) + >>> result = thread.get() + + :param async_req bool + :return: None + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.clear_aliases_with_http_info(**kwargs) # noqa: E501 + else: + (data) = self.clear_aliases_with_http_info(**kwargs) # noqa: E501 + return data + + def clear_aliases_with_http_info(self, **kwargs): # noqa: E501 + """(deprecated, will be removed in v3.0) Clear all aliases. # noqa: E501 + + (deprecated, will be removed in v3.0) Clear all aliases. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.clear_aliases_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req bool + :return: None + If the method is called asynchronously, + returns the request thread. + """ + + all_params = [] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method clear_aliases" % key + ) + params[key] = val + del params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['api_token', 'bearer_token'] # noqa: E501 + + return self.api_client.call_api( + '/api/v3/aliases', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type=None, # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + def delete_alias(self, alias, **kwargs): # noqa: E501 - """Delete an alias. # noqa: E501 + """(deprecated, will be removed in v3.0) Delete an alias. # noqa: E501 - Delete an alias. # noqa: E501 + (deprecated, will be removed in v3.0) Delete an alias. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.delete_alias(alias, async_req=True) @@ -142,9 +229,9 @@ def delete_alias(self, alias, **kwargs): # noqa: E501 return data def delete_alias_with_http_info(self, alias, **kwargs): # noqa: E501 - """Delete an alias. # noqa: E501 + """(deprecated, will be removed in v3.0) Delete an alias. # noqa: E501 - Delete an alias. # noqa: E501 + (deprecated, will be removed in v3.0) Delete an alias. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.delete_alias_with_http_info(alias, async_req=True) @@ -215,9 +302,9 @@ def delete_alias_with_http_info(self, alias, **kwargs): # noqa: E501 collection_formats=collection_formats) def get_alias(self, alias, **kwargs): # noqa: E501 - """Get alias for the PeerId (Hopr address) that have this alias assigned to it. # noqa: E501 + """(deprecated, will be removed in v3.0) Get alias for the PeerId (Hopr address) that have this alias assigned to it. # noqa: E501 - Get alias for the PeerId (Hopr address) that have this alias assigned to it. # noqa: E501 + (deprecated, will be removed in v3.0) Get alias for the PeerId (Hopr address) that have this alias assigned to it. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.get_alias(alias, async_req=True) @@ -237,9 +324,9 @@ def get_alias(self, alias, **kwargs): # noqa: E501 return data def get_alias_with_http_info(self, alias, **kwargs): # noqa: E501 - """Get alias for the PeerId (Hopr address) that have this alias assigned to it. # noqa: E501 + """(deprecated, will be removed in v3.0) Get alias for the PeerId (Hopr address) that have this alias assigned to it. # noqa: E501 - Get alias for the PeerId (Hopr address) that have this alias assigned to it. # noqa: E501 + (deprecated, will be removed in v3.0) Get alias for the PeerId (Hopr address) that have this alias assigned to it. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.get_alias_with_http_info(alias, async_req=True) @@ -310,9 +397,9 @@ def get_alias_with_http_info(self, alias, **kwargs): # noqa: E501 collection_formats=collection_formats) def set_alias(self, body, **kwargs): # noqa: E501 - """Set alias for a peer with a specific PeerId. # noqa: E501 + """(deprecated, will be removed in v3.0) Set alias for a peer with a specific PeerId. # noqa: E501 - Set alias for a peer with a specific PeerId. # noqa: E501 + (deprecated, will be removed in v3.0) Set alias for a peer with a specific PeerId. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.set_alias(body, async_req=True) @@ -332,9 +419,9 @@ def set_alias(self, body, **kwargs): # noqa: E501 return data def set_alias_with_http_info(self, body, **kwargs): # noqa: E501 - """Set alias for a peer with a specific PeerId. # noqa: E501 + """(deprecated, will be removed in v3.0) Set alias for a peer with a specific PeerId. # noqa: E501 - Set alias for a peer with a specific PeerId. # noqa: E501 + (deprecated, will be removed in v3.0) Set alias for a peer with a specific PeerId. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.set_alias_with_http_info(body, async_req=True) diff --git a/hoprd_sdk/api/channels_api.py b/hoprd_sdk/api/channels_api.py index d988236..aba16af 100644 --- a/hoprd_sdk/api/channels_api.py +++ b/hoprd_sdk/api/channels_api.py @@ -5,7 +5,7 @@ This Rest API enables developers to interact with a hoprd node programatically through HTTP. # noqa: E501 - OpenAPI spec version: 3.1.0 + OpenAPI spec version: 3.1.1 Contact: tech@hoprnet.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/hoprd_sdk/api/checks_api.py b/hoprd_sdk/api/checks_api.py index 37cfbc0..ed34a58 100644 --- a/hoprd_sdk/api/checks_api.py +++ b/hoprd_sdk/api/checks_api.py @@ -5,7 +5,7 @@ This Rest API enables developers to interact with a hoprd node programatically through HTTP. # noqa: E501 - OpenAPI spec version: 3.1.0 + OpenAPI spec version: 3.1.1 Contact: tech@hoprnet.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/hoprd_sdk/api/configuration_api.py b/hoprd_sdk/api/configuration_api.py index a2f1671..bcd8769 100644 --- a/hoprd_sdk/api/configuration_api.py +++ b/hoprd_sdk/api/configuration_api.py @@ -5,7 +5,7 @@ This Rest API enables developers to interact with a hoprd node programatically through HTTP. # noqa: E501 - OpenAPI spec version: 3.1.0 + OpenAPI spec version: 3.1.1 Contact: tech@hoprnet.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/hoprd_sdk/api/messages_api.py b/hoprd_sdk/api/messages_api.py index ddadf84..78d56a3 100644 --- a/hoprd_sdk/api/messages_api.py +++ b/hoprd_sdk/api/messages_api.py @@ -5,7 +5,7 @@ This Rest API enables developers to interact with a hoprd node programatically through HTTP. # noqa: E501 - OpenAPI spec version: 3.1.0 + OpenAPI spec version: 3.1.1 Contact: tech@hoprnet.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/hoprd_sdk/api/network_api.py b/hoprd_sdk/api/network_api.py index a1f683f..2ee9d5a 100644 --- a/hoprd_sdk/api/network_api.py +++ b/hoprd_sdk/api/network_api.py @@ -5,7 +5,7 @@ This Rest API enables developers to interact with a hoprd node programatically through HTTP. # noqa: E501 - OpenAPI spec version: 3.1.0 + OpenAPI spec version: 3.1.1 Contact: tech@hoprnet.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/hoprd_sdk/api/node_api.py b/hoprd_sdk/api/node_api.py index 2c77cce..7a9196c 100644 --- a/hoprd_sdk/api/node_api.py +++ b/hoprd_sdk/api/node_api.py @@ -5,7 +5,7 @@ This Rest API enables developers to interact with a hoprd node programatically through HTTP. # noqa: E501 - OpenAPI spec version: 3.1.0 + OpenAPI spec version: 3.1.1 Contact: tech@hoprnet.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/hoprd_sdk/api/peers_api.py b/hoprd_sdk/api/peers_api.py index a772f84..e7b14c6 100644 --- a/hoprd_sdk/api/peers_api.py +++ b/hoprd_sdk/api/peers_api.py @@ -5,7 +5,7 @@ This Rest API enables developers to interact with a hoprd node programatically through HTTP. # noqa: E501 - OpenAPI spec version: 3.1.0 + OpenAPI spec version: 3.1.1 Contact: tech@hoprnet.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/hoprd_sdk/api/tickets_api.py b/hoprd_sdk/api/tickets_api.py index 3b76845..5187a23 100644 --- a/hoprd_sdk/api/tickets_api.py +++ b/hoprd_sdk/api/tickets_api.py @@ -5,7 +5,7 @@ This Rest API enables developers to interact with a hoprd node programatically through HTTP. # noqa: E501 - OpenAPI spec version: 3.1.0 + OpenAPI spec version: 3.1.1 Contact: tech@hoprnet.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/hoprd_sdk/api_client.py b/hoprd_sdk/api_client.py index 0f5fefb..c82c697 100644 --- a/hoprd_sdk/api_client.py +++ b/hoprd_sdk/api_client.py @@ -4,7 +4,7 @@ This Rest API enables developers to interact with a hoprd node programatically through HTTP. # noqa: E501 - OpenAPI spec version: 3.1.0 + OpenAPI spec version: 3.1.1 Contact: tech@hoprnet.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -73,7 +73,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.1.4/python' + self.user_agent = 'Swagger-Codegen/2.1.5/python' def __enter__(self): return self diff --git a/hoprd_sdk/api_client.py.orig b/hoprd_sdk/api_client.py.orig index a643721..7daa7cd 100644 --- a/hoprd_sdk/api_client.py.orig +++ b/hoprd_sdk/api_client.py.orig @@ -4,7 +4,7 @@ This Rest API enables developers to interact with a hoprd node programatically through HTTP. # noqa: E501 - OpenAPI spec version: 3.1.0 + OpenAPI spec version: 3.1.1 Contact: tech@hoprnet.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -72,7 +72,7 @@ class ApiClient(object): self.default_headers[header_name] = header_value self.cookie = cookie # Set default User-Agent. - self.user_agent = 'Swagger-Codegen/2.1.4/python' + self.user_agent = 'Swagger-Codegen/2.1.5/python' def __del__(self): self.pool.close() diff --git a/hoprd_sdk/configuration.py b/hoprd_sdk/configuration.py index b8fd667..3cc54c9 100644 --- a/hoprd_sdk/configuration.py +++ b/hoprd_sdk/configuration.py @@ -5,7 +5,7 @@ This Rest API enables developers to interact with a hoprd node programatically through HTTP. # noqa: E501 - OpenAPI spec version: 3.1.0 + OpenAPI spec version: 3.1.1 Contact: tech@hoprnet.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -249,6 +249,6 @@ def to_debug_report(self): return "Python SDK Debug Report:\n"\ "OS: {env}\n"\ "Python Version: {pyversion}\n"\ - "Version of the API: 3.1.0\n"\ - "SDK Package Version: 2.1.4".\ + "Version of the API: 3.1.1\n"\ + "SDK Package Version: 2.1.5".\ format(env=sys.platform, pyversion=sys.version) diff --git a/hoprd_sdk/models/__init__.py b/hoprd_sdk/models/__init__.py index 1c6c3fb..1289776 100644 --- a/hoprd_sdk/models/__init__.py +++ b/hoprd_sdk/models/__init__.py @@ -6,7 +6,7 @@ This Rest API enables developers to interact with a hoprd node programatically through HTTP. # noqa: E501 - OpenAPI spec version: 3.1.0 + OpenAPI spec version: 3.1.1 Contact: tech@hoprnet.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -48,3 +48,4 @@ from hoprd_sdk.models.tag_query_request import TagQueryRequest from hoprd_sdk.models.ticket_price_response import TicketPriceResponse from hoprd_sdk.models.withdraw_body_request import WithdrawBodyRequest +from hoprd_sdk.models.withdraw_response import WithdrawResponse diff --git a/hoprd_sdk/models/account_addresses_response.py b/hoprd_sdk/models/account_addresses_response.py index a442a33..4814f81 100644 --- a/hoprd_sdk/models/account_addresses_response.py +++ b/hoprd_sdk/models/account_addresses_response.py @@ -5,7 +5,7 @@ This Rest API enables developers to interact with a hoprd node programatically through HTTP. # noqa: E501 - OpenAPI spec version: 3.1.0 + OpenAPI spec version: 3.1.1 Contact: tech@hoprnet.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/hoprd_sdk/models/account_balances_response.py b/hoprd_sdk/models/account_balances_response.py index 360d16c..fdc65dc 100644 --- a/hoprd_sdk/models/account_balances_response.py +++ b/hoprd_sdk/models/account_balances_response.py @@ -5,7 +5,7 @@ This Rest API enables developers to interact with a hoprd node programatically through HTTP. # noqa: E501 - OpenAPI spec version: 3.1.0 + OpenAPI spec version: 3.1.1 Contact: tech@hoprnet.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/hoprd_sdk/models/alias_peer_id_body_request.py b/hoprd_sdk/models/alias_peer_id_body_request.py index 717a945..f059c43 100644 --- a/hoprd_sdk/models/alias_peer_id_body_request.py +++ b/hoprd_sdk/models/alias_peer_id_body_request.py @@ -5,7 +5,7 @@ This Rest API enables developers to interact with a hoprd node programatically through HTTP. # noqa: E501 - OpenAPI spec version: 3.1.0 + OpenAPI spec version: 3.1.1 Contact: tech@hoprnet.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/hoprd_sdk/models/announced_peer.py b/hoprd_sdk/models/announced_peer.py index de0f284..109ff65 100644 --- a/hoprd_sdk/models/announced_peer.py +++ b/hoprd_sdk/models/announced_peer.py @@ -5,7 +5,7 @@ This Rest API enables developers to interact with a hoprd node programatically through HTTP. # noqa: E501 - OpenAPI spec version: 3.1.0 + OpenAPI spec version: 3.1.1 Contact: tech@hoprnet.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/hoprd_sdk/models/api_error.py b/hoprd_sdk/models/api_error.py index 3fa19ec..0da5fab 100644 --- a/hoprd_sdk/models/api_error.py +++ b/hoprd_sdk/models/api_error.py @@ -5,7 +5,7 @@ This Rest API enables developers to interact with a hoprd node programatically through HTTP. # noqa: E501 - OpenAPI spec version: 3.1.0 + OpenAPI spec version: 3.1.1 Contact: tech@hoprnet.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/hoprd_sdk/models/channel_info_response.py b/hoprd_sdk/models/channel_info_response.py index 81ff831..f8dc0c8 100644 --- a/hoprd_sdk/models/channel_info_response.py +++ b/hoprd_sdk/models/channel_info_response.py @@ -5,7 +5,7 @@ This Rest API enables developers to interact with a hoprd node programatically through HTTP. # noqa: E501 - OpenAPI spec version: 3.1.0 + OpenAPI spec version: 3.1.1 Contact: tech@hoprnet.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/hoprd_sdk/models/channel_ticket.py b/hoprd_sdk/models/channel_ticket.py index 6b13942..612a113 100644 --- a/hoprd_sdk/models/channel_ticket.py +++ b/hoprd_sdk/models/channel_ticket.py @@ -5,7 +5,7 @@ This Rest API enables developers to interact with a hoprd node programatically through HTTP. # noqa: E501 - OpenAPI spec version: 3.1.0 + OpenAPI spec version: 3.1.1 Contact: tech@hoprnet.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/hoprd_sdk/models/channels_query_request.py b/hoprd_sdk/models/channels_query_request.py index 4d0fb97..9c9a5e3 100644 --- a/hoprd_sdk/models/channels_query_request.py +++ b/hoprd_sdk/models/channels_query_request.py @@ -5,7 +5,7 @@ This Rest API enables developers to interact with a hoprd node programatically through HTTP. # noqa: E501 - OpenAPI spec version: 3.1.0 + OpenAPI spec version: 3.1.1 Contact: tech@hoprnet.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/hoprd_sdk/models/close_channel_response.py b/hoprd_sdk/models/close_channel_response.py index 7e3c9ad..2cfd646 100644 --- a/hoprd_sdk/models/close_channel_response.py +++ b/hoprd_sdk/models/close_channel_response.py @@ -5,7 +5,7 @@ This Rest API enables developers to interact with a hoprd node programatically through HTTP. # noqa: E501 - OpenAPI spec version: 3.1.0 + OpenAPI spec version: 3.1.1 Contact: tech@hoprnet.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/hoprd_sdk/models/entry_node.py b/hoprd_sdk/models/entry_node.py index 26d8cf1..f55a5cd 100644 --- a/hoprd_sdk/models/entry_node.py +++ b/hoprd_sdk/models/entry_node.py @@ -5,7 +5,7 @@ This Rest API enables developers to interact with a hoprd node programatically through HTTP. # noqa: E501 - OpenAPI spec version: 3.1.0 + OpenAPI spec version: 3.1.1 Contact: tech@hoprnet.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/hoprd_sdk/models/fund_body_request.py b/hoprd_sdk/models/fund_body_request.py index f775447..cf6e708 100644 --- a/hoprd_sdk/models/fund_body_request.py +++ b/hoprd_sdk/models/fund_body_request.py @@ -5,7 +5,7 @@ This Rest API enables developers to interact with a hoprd node programatically through HTTP. # noqa: E501 - OpenAPI spec version: 3.1.0 + OpenAPI spec version: 3.1.1 Contact: tech@hoprnet.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/hoprd_sdk/models/get_message_body_request.py b/hoprd_sdk/models/get_message_body_request.py index f1359e2..fa533ff 100644 --- a/hoprd_sdk/models/get_message_body_request.py +++ b/hoprd_sdk/models/get_message_body_request.py @@ -5,7 +5,7 @@ This Rest API enables developers to interact with a hoprd node programatically through HTTP. # noqa: E501 - OpenAPI spec version: 3.1.0 + OpenAPI spec version: 3.1.1 Contact: tech@hoprnet.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/hoprd_sdk/models/heartbeat_info.py b/hoprd_sdk/models/heartbeat_info.py index 4f3f2e5..0bbd836 100644 --- a/hoprd_sdk/models/heartbeat_info.py +++ b/hoprd_sdk/models/heartbeat_info.py @@ -5,7 +5,7 @@ This Rest API enables developers to interact with a hoprd node programatically through HTTP. # noqa: E501 - OpenAPI spec version: 3.1.0 + OpenAPI spec version: 3.1.1 Contact: tech@hoprnet.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/hoprd_sdk/models/message_pop_all_response.py b/hoprd_sdk/models/message_pop_all_response.py index f87171b..5170d22 100644 --- a/hoprd_sdk/models/message_pop_all_response.py +++ b/hoprd_sdk/models/message_pop_all_response.py @@ -5,7 +5,7 @@ This Rest API enables developers to interact with a hoprd node programatically through HTTP. # noqa: E501 - OpenAPI spec version: 3.1.0 + OpenAPI spec version: 3.1.1 Contact: tech@hoprnet.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/hoprd_sdk/models/message_pop_response.py b/hoprd_sdk/models/message_pop_response.py index e5c237d..3221a8e 100644 --- a/hoprd_sdk/models/message_pop_response.py +++ b/hoprd_sdk/models/message_pop_response.py @@ -5,7 +5,7 @@ This Rest API enables developers to interact with a hoprd node programatically through HTTP. # noqa: E501 - OpenAPI spec version: 3.1.0 + OpenAPI spec version: 3.1.1 Contact: tech@hoprnet.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/hoprd_sdk/models/node_channel.py b/hoprd_sdk/models/node_channel.py index 1563487..6fb15c5 100644 --- a/hoprd_sdk/models/node_channel.py +++ b/hoprd_sdk/models/node_channel.py @@ -5,7 +5,7 @@ This Rest API enables developers to interact with a hoprd node programatically through HTTP. # noqa: E501 - OpenAPI spec version: 3.1.0 + OpenAPI spec version: 3.1.1 Contact: tech@hoprnet.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/hoprd_sdk/models/node_channels_response.py b/hoprd_sdk/models/node_channels_response.py index da2021b..519b603 100644 --- a/hoprd_sdk/models/node_channels_response.py +++ b/hoprd_sdk/models/node_channels_response.py @@ -5,7 +5,7 @@ This Rest API enables developers to interact with a hoprd node programatically through HTTP. # noqa: E501 - OpenAPI spec version: 3.1.0 + OpenAPI spec version: 3.1.1 Contact: tech@hoprnet.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/hoprd_sdk/models/node_info_response.py b/hoprd_sdk/models/node_info_response.py index ba4bd42..4cedd0b 100644 --- a/hoprd_sdk/models/node_info_response.py +++ b/hoprd_sdk/models/node_info_response.py @@ -5,7 +5,7 @@ This Rest API enables developers to interact with a hoprd node programatically through HTTP. # noqa: E501 - OpenAPI spec version: 3.1.0 + OpenAPI spec version: 3.1.1 Contact: tech@hoprnet.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/hoprd_sdk/models/node_peer_info_response.py b/hoprd_sdk/models/node_peer_info_response.py index e4674eb..1a31810 100644 --- a/hoprd_sdk/models/node_peer_info_response.py +++ b/hoprd_sdk/models/node_peer_info_response.py @@ -5,7 +5,7 @@ This Rest API enables developers to interact with a hoprd node programatically through HTTP. # noqa: E501 - OpenAPI spec version: 3.1.0 + OpenAPI spec version: 3.1.1 Contact: tech@hoprnet.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/hoprd_sdk/models/node_peers_query_request.py b/hoprd_sdk/models/node_peers_query_request.py index 7423cf3..256c621 100644 --- a/hoprd_sdk/models/node_peers_query_request.py +++ b/hoprd_sdk/models/node_peers_query_request.py @@ -5,7 +5,7 @@ This Rest API enables developers to interact with a hoprd node programatically through HTTP. # noqa: E501 - OpenAPI spec version: 3.1.0 + OpenAPI spec version: 3.1.1 Contact: tech@hoprnet.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/hoprd_sdk/models/node_peers_response.py b/hoprd_sdk/models/node_peers_response.py index 70f5c7b..fe6899e 100644 --- a/hoprd_sdk/models/node_peers_response.py +++ b/hoprd_sdk/models/node_peers_response.py @@ -5,7 +5,7 @@ This Rest API enables developers to interact with a hoprd node programatically through HTTP. # noqa: E501 - OpenAPI spec version: 3.1.0 + OpenAPI spec version: 3.1.1 Contact: tech@hoprnet.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/hoprd_sdk/models/node_ticket_statistics_response.py b/hoprd_sdk/models/node_ticket_statistics_response.py index d1941d5..6bbf3a3 100644 --- a/hoprd_sdk/models/node_ticket_statistics_response.py +++ b/hoprd_sdk/models/node_ticket_statistics_response.py @@ -5,7 +5,7 @@ This Rest API enables developers to interact with a hoprd node programatically through HTTP. # noqa: E501 - OpenAPI spec version: 3.1.0 + OpenAPI spec version: 3.1.1 Contact: tech@hoprnet.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/hoprd_sdk/models/node_version_response.py b/hoprd_sdk/models/node_version_response.py index 7961169..98af327 100644 --- a/hoprd_sdk/models/node_version_response.py +++ b/hoprd_sdk/models/node_version_response.py @@ -5,7 +5,7 @@ This Rest API enables developers to interact with a hoprd node programatically through HTTP. # noqa: E501 - OpenAPI spec version: 3.1.0 + OpenAPI spec version: 3.1.1 Contact: tech@hoprnet.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/hoprd_sdk/models/open_channel_body_request.py b/hoprd_sdk/models/open_channel_body_request.py index 2a0a4f8..f71d60f 100644 --- a/hoprd_sdk/models/open_channel_body_request.py +++ b/hoprd_sdk/models/open_channel_body_request.py @@ -5,7 +5,7 @@ This Rest API enables developers to interact with a hoprd node programatically through HTTP. # noqa: E501 - OpenAPI spec version: 3.1.0 + OpenAPI spec version: 3.1.1 Contact: tech@hoprnet.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/hoprd_sdk/models/open_channel_response.py b/hoprd_sdk/models/open_channel_response.py index bfd06e8..b67ff2b 100644 --- a/hoprd_sdk/models/open_channel_response.py +++ b/hoprd_sdk/models/open_channel_response.py @@ -5,7 +5,7 @@ This Rest API enables developers to interact with a hoprd node programatically through HTTP. # noqa: E501 - OpenAPI spec version: 3.1.0 + OpenAPI spec version: 3.1.1 Contact: tech@hoprnet.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/hoprd_sdk/models/peer_id_response.py b/hoprd_sdk/models/peer_id_response.py index f9a5194..3895aa3 100644 --- a/hoprd_sdk/models/peer_id_response.py +++ b/hoprd_sdk/models/peer_id_response.py @@ -5,7 +5,7 @@ This Rest API enables developers to interact with a hoprd node programatically through HTTP. # noqa: E501 - OpenAPI spec version: 3.1.0 + OpenAPI spec version: 3.1.1 Contact: tech@hoprnet.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/hoprd_sdk/models/peer_info.py b/hoprd_sdk/models/peer_info.py index 133cc48..e2a4e60 100644 --- a/hoprd_sdk/models/peer_info.py +++ b/hoprd_sdk/models/peer_info.py @@ -5,7 +5,7 @@ This Rest API enables developers to interact with a hoprd node programatically through HTTP. # noqa: E501 - OpenAPI spec version: 3.1.0 + OpenAPI spec version: 3.1.1 Contact: tech@hoprnet.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/hoprd_sdk/models/ping_response.py b/hoprd_sdk/models/ping_response.py index 14729a3..c670a7f 100644 --- a/hoprd_sdk/models/ping_response.py +++ b/hoprd_sdk/models/ping_response.py @@ -5,7 +5,7 @@ This Rest API enables developers to interact with a hoprd node programatically through HTTP. # noqa: E501 - OpenAPI spec version: 3.1.0 + OpenAPI spec version: 3.1.1 Contact: tech@hoprnet.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/hoprd_sdk/models/send_message_body_request.py b/hoprd_sdk/models/send_message_body_request.py index 50284c9..9203242 100644 --- a/hoprd_sdk/models/send_message_body_request.py +++ b/hoprd_sdk/models/send_message_body_request.py @@ -5,7 +5,7 @@ This Rest API enables developers to interact with a hoprd node programatically through HTTP. # noqa: E501 - OpenAPI spec version: 3.1.0 + OpenAPI spec version: 3.1.1 Contact: tech@hoprnet.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -155,7 +155,7 @@ def peer_id(self, peer_id): def tag(self): """Gets the tag of this SendMessageBodyRequest. # noqa: E501 - The message tag used to filter messages based on application # noqa: E501 + The message tag used to filter messages based on application, must be from range <1024,65535> # noqa: E501 :return: The tag of this SendMessageBodyRequest. # noqa: E501 :rtype: int @@ -166,7 +166,7 @@ def tag(self): def tag(self, tag): """Sets the tag of this SendMessageBodyRequest. - The message tag used to filter messages based on application # noqa: E501 + The message tag used to filter messages based on application, must be from range <1024,65535> # noqa: E501 :param tag: The tag of this SendMessageBodyRequest. # noqa: E501 :type: int diff --git a/hoprd_sdk/models/send_message_response.py b/hoprd_sdk/models/send_message_response.py index a66c5db..6e90df6 100644 --- a/hoprd_sdk/models/send_message_response.py +++ b/hoprd_sdk/models/send_message_response.py @@ -5,7 +5,7 @@ This Rest API enables developers to interact with a hoprd node programatically through HTTP. # noqa: E501 - OpenAPI spec version: 3.1.0 + OpenAPI spec version: 3.1.1 Contact: tech@hoprnet.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/hoprd_sdk/models/size_response.py b/hoprd_sdk/models/size_response.py index 6ddfd0c..fe4d3cc 100644 --- a/hoprd_sdk/models/size_response.py +++ b/hoprd_sdk/models/size_response.py @@ -5,7 +5,7 @@ This Rest API enables developers to interact with a hoprd node programatically through HTTP. # noqa: E501 - OpenAPI spec version: 3.1.0 + OpenAPI spec version: 3.1.1 Contact: tech@hoprnet.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/hoprd_sdk/models/tag_query_request.py b/hoprd_sdk/models/tag_query_request.py index dfc2bed..b1fe678 100644 --- a/hoprd_sdk/models/tag_query_request.py +++ b/hoprd_sdk/models/tag_query_request.py @@ -5,7 +5,7 @@ This Rest API enables developers to interact with a hoprd node programatically through HTTP. # noqa: E501 - OpenAPI spec version: 3.1.0 + OpenAPI spec version: 3.1.1 Contact: tech@hoprnet.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/hoprd_sdk/models/ticket_price_response.py b/hoprd_sdk/models/ticket_price_response.py index 6605e4f..c25ad50 100644 --- a/hoprd_sdk/models/ticket_price_response.py +++ b/hoprd_sdk/models/ticket_price_response.py @@ -5,7 +5,7 @@ This Rest API enables developers to interact with a hoprd node programatically through HTTP. # noqa: E501 - OpenAPI spec version: 3.1.0 + OpenAPI spec version: 3.1.1 Contact: tech@hoprnet.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/hoprd_sdk/models/withdraw_body_request.py b/hoprd_sdk/models/withdraw_body_request.py index 704e726..af4cc5a 100644 --- a/hoprd_sdk/models/withdraw_body_request.py +++ b/hoprd_sdk/models/withdraw_body_request.py @@ -5,7 +5,7 @@ This Rest API enables developers to interact with a hoprd node programatically through HTTP. # noqa: E501 - OpenAPI spec version: 3.1.0 + OpenAPI spec version: 3.1.1 Contact: tech@hoprnet.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/hoprd_sdk/models/withdraw_response.py b/hoprd_sdk/models/withdraw_response.py new file mode 100644 index 0000000..4187580 --- /dev/null +++ b/hoprd_sdk/models/withdraw_response.py @@ -0,0 +1,111 @@ +# coding: utf-8 + +""" + hoprd-api + + This Rest API enables developers to interact with a hoprd node programatically through HTTP. # noqa: E501 + + OpenAPI spec version: 3.1.1 + Contact: tech@hoprnet.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class WithdrawResponse(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'receipt': 'str' + } + + attribute_map = { + 'receipt': 'receipt' + } + + def __init__(self, receipt=None): # noqa: E501 + """WithdrawResponse - a model defined in Swagger""" # noqa: E501 + self._receipt = None + self.discriminator = None + self.receipt = receipt + + @property + def receipt(self): + """Gets the receipt of this WithdrawResponse. # noqa: E501 + + + :return: The receipt of this WithdrawResponse. # noqa: E501 + :rtype: str + """ + return self._receipt + + @receipt.setter + def receipt(self, receipt): + """Sets the receipt of this WithdrawResponse. + + + :param receipt: The receipt of this WithdrawResponse. # noqa: E501 + :type: str + """ + if receipt is None: + raise ValueError("Invalid value for `receipt`, must not be `None`") # noqa: E501 + + self._receipt = receipt + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(WithdrawResponse, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, WithdrawResponse): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/hoprd_sdk/rest.py b/hoprd_sdk/rest.py index d30b968..25516ca 100644 --- a/hoprd_sdk/rest.py +++ b/hoprd_sdk/rest.py @@ -5,7 +5,7 @@ This Rest API enables developers to interact with a hoprd node programatically through HTTP. # noqa: E501 - OpenAPI spec version: 3.1.0 + OpenAPI spec version: 3.1.1 Contact: tech@hoprnet.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/setup.py b/setup.py index d130c30..65a807b 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ This Rest API enables developers to interact with a hoprd node programatically through HTTP. # noqa: E501 - OpenAPI spec version: 3.1.0 + OpenAPI spec version: 3.1.1 Contact: tech@hoprnet.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -13,7 +13,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "hoprd-sdk" -VERSION = "2.1.4" +VERSION = "2.1.5" # To install the library, run the following # # python setup.py install diff --git a/test/test_account_addresses_response.py b/test/test_account_addresses_response.py index 8ca9e35..dca5740 100644 --- a/test/test_account_addresses_response.py +++ b/test/test_account_addresses_response.py @@ -5,7 +5,7 @@ This Rest API enables developers to interact with a hoprd node programatically through HTTP. # noqa: E501 - OpenAPI spec version: 3.1.0 + OpenAPI spec version: 3.1.1 Contact: tech@hoprnet.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_account_api.py b/test/test_account_api.py index bcf73dd..5831a47 100644 --- a/test/test_account_api.py +++ b/test/test_account_api.py @@ -5,7 +5,7 @@ This Rest API enables developers to interact with a hoprd node programatically through HTTP. # noqa: E501 - OpenAPI spec version: 3.1.0 + OpenAPI spec version: 3.1.1 Contact: tech@hoprnet.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_account_balances_response.py b/test/test_account_balances_response.py index a03636d..a27f117 100644 --- a/test/test_account_balances_response.py +++ b/test/test_account_balances_response.py @@ -5,7 +5,7 @@ This Rest API enables developers to interact with a hoprd node programatically through HTTP. # noqa: E501 - OpenAPI spec version: 3.1.0 + OpenAPI spec version: 3.1.1 Contact: tech@hoprnet.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_alias_api.py b/test/test_alias_api.py index c3c5e2b..ace3c74 100644 --- a/test/test_alias_api.py +++ b/test/test_alias_api.py @@ -5,7 +5,7 @@ This Rest API enables developers to interact with a hoprd node programatically through HTTP. # noqa: E501 - OpenAPI spec version: 3.1.0 + OpenAPI spec version: 3.1.1 Contact: tech@hoprnet.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -31,28 +31,35 @@ def tearDown(self): def test_aliases(self): """Test case for aliases - Get each previously set alias and its corresponding PeerId. # noqa: E501 + (deprecated, will be removed in v3.0) Get each previously set alias and its corresponding PeerId. # noqa: E501 + """ + pass + + def test_clear_aliases(self): + """Test case for clear_aliases + + (deprecated, will be removed in v3.0) Clear all aliases. # noqa: E501 """ pass def test_delete_alias(self): """Test case for delete_alias - Delete an alias. # noqa: E501 + (deprecated, will be removed in v3.0) Delete an alias. # noqa: E501 """ pass def test_get_alias(self): """Test case for get_alias - Get alias for the PeerId (Hopr address) that have this alias assigned to it. # noqa: E501 + (deprecated, will be removed in v3.0) Get alias for the PeerId (Hopr address) that have this alias assigned to it. # noqa: E501 """ pass def test_set_alias(self): """Test case for set_alias - Set alias for a peer with a specific PeerId. # noqa: E501 + (deprecated, will be removed in v3.0) Set alias for a peer with a specific PeerId. # noqa: E501 """ pass diff --git a/test/test_alias_peer_id_body_request.py b/test/test_alias_peer_id_body_request.py index ebf4a3f..e04921d 100644 --- a/test/test_alias_peer_id_body_request.py +++ b/test/test_alias_peer_id_body_request.py @@ -5,7 +5,7 @@ This Rest API enables developers to interact with a hoprd node programatically through HTTP. # noqa: E501 - OpenAPI spec version: 3.1.0 + OpenAPI spec version: 3.1.1 Contact: tech@hoprnet.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_announced_peer.py b/test/test_announced_peer.py index 3212a82..095c017 100644 --- a/test/test_announced_peer.py +++ b/test/test_announced_peer.py @@ -5,7 +5,7 @@ This Rest API enables developers to interact with a hoprd node programatically through HTTP. # noqa: E501 - OpenAPI spec version: 3.1.0 + OpenAPI spec version: 3.1.1 Contact: tech@hoprnet.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_api_error.py b/test/test_api_error.py index d31e64d..ac4661b 100644 --- a/test/test_api_error.py +++ b/test/test_api_error.py @@ -5,7 +5,7 @@ This Rest API enables developers to interact with a hoprd node programatically through HTTP. # noqa: E501 - OpenAPI spec version: 3.1.0 + OpenAPI spec version: 3.1.1 Contact: tech@hoprnet.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_channel_info_response.py b/test/test_channel_info_response.py index a6f3b83..a8c5ed9 100644 --- a/test/test_channel_info_response.py +++ b/test/test_channel_info_response.py @@ -5,7 +5,7 @@ This Rest API enables developers to interact with a hoprd node programatically through HTTP. # noqa: E501 - OpenAPI spec version: 3.1.0 + OpenAPI spec version: 3.1.1 Contact: tech@hoprnet.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_channel_ticket.py b/test/test_channel_ticket.py index 23dae84..37e4be7 100644 --- a/test/test_channel_ticket.py +++ b/test/test_channel_ticket.py @@ -5,7 +5,7 @@ This Rest API enables developers to interact with a hoprd node programatically through HTTP. # noqa: E501 - OpenAPI spec version: 3.1.0 + OpenAPI spec version: 3.1.1 Contact: tech@hoprnet.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_channels_api.py b/test/test_channels_api.py index 2eaac8e..33ac964 100644 --- a/test/test_channels_api.py +++ b/test/test_channels_api.py @@ -5,7 +5,7 @@ This Rest API enables developers to interact with a hoprd node programatically through HTTP. # noqa: E501 - OpenAPI spec version: 3.1.0 + OpenAPI spec version: 3.1.1 Contact: tech@hoprnet.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_channels_query_request.py b/test/test_channels_query_request.py index 40a5b3a..ccfa86e 100644 --- a/test/test_channels_query_request.py +++ b/test/test_channels_query_request.py @@ -5,7 +5,7 @@ This Rest API enables developers to interact with a hoprd node programatically through HTTP. # noqa: E501 - OpenAPI spec version: 3.1.0 + OpenAPI spec version: 3.1.1 Contact: tech@hoprnet.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_checks_api.py b/test/test_checks_api.py index d9013e6..a107190 100644 --- a/test/test_checks_api.py +++ b/test/test_checks_api.py @@ -5,7 +5,7 @@ This Rest API enables developers to interact with a hoprd node programatically through HTTP. # noqa: E501 - OpenAPI spec version: 3.1.0 + OpenAPI spec version: 3.1.1 Contact: tech@hoprnet.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_close_channel_response.py b/test/test_close_channel_response.py index 766e1a7..cdfe9d4 100644 --- a/test/test_close_channel_response.py +++ b/test/test_close_channel_response.py @@ -5,7 +5,7 @@ This Rest API enables developers to interact with a hoprd node programatically through HTTP. # noqa: E501 - OpenAPI spec version: 3.1.0 + OpenAPI spec version: 3.1.1 Contact: tech@hoprnet.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_configuration_api.py b/test/test_configuration_api.py index 770f84a..64a46cf 100644 --- a/test/test_configuration_api.py +++ b/test/test_configuration_api.py @@ -5,7 +5,7 @@ This Rest API enables developers to interact with a hoprd node programatically through HTTP. # noqa: E501 - OpenAPI spec version: 3.1.0 + OpenAPI spec version: 3.1.1 Contact: tech@hoprnet.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_entry_node.py b/test/test_entry_node.py index ead146a..4af34dc 100644 --- a/test/test_entry_node.py +++ b/test/test_entry_node.py @@ -5,7 +5,7 @@ This Rest API enables developers to interact with a hoprd node programatically through HTTP. # noqa: E501 - OpenAPI spec version: 3.1.0 + OpenAPI spec version: 3.1.1 Contact: tech@hoprnet.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_fund_body_request.py b/test/test_fund_body_request.py index 43b4311..97f4888 100644 --- a/test/test_fund_body_request.py +++ b/test/test_fund_body_request.py @@ -5,7 +5,7 @@ This Rest API enables developers to interact with a hoprd node programatically through HTTP. # noqa: E501 - OpenAPI spec version: 3.1.0 + OpenAPI spec version: 3.1.1 Contact: tech@hoprnet.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_get_message_body_request.py b/test/test_get_message_body_request.py index 6b02614..4a679bf 100644 --- a/test/test_get_message_body_request.py +++ b/test/test_get_message_body_request.py @@ -5,7 +5,7 @@ This Rest API enables developers to interact with a hoprd node programatically through HTTP. # noqa: E501 - OpenAPI spec version: 3.1.0 + OpenAPI spec version: 3.1.1 Contact: tech@hoprnet.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_heartbeat_info.py b/test/test_heartbeat_info.py index 8c7f2d0..39258a2 100644 --- a/test/test_heartbeat_info.py +++ b/test/test_heartbeat_info.py @@ -5,7 +5,7 @@ This Rest API enables developers to interact with a hoprd node programatically through HTTP. # noqa: E501 - OpenAPI spec version: 3.1.0 + OpenAPI spec version: 3.1.1 Contact: tech@hoprnet.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_message_pop_all_response.py b/test/test_message_pop_all_response.py index 122db45..38bd0a4 100644 --- a/test/test_message_pop_all_response.py +++ b/test/test_message_pop_all_response.py @@ -5,7 +5,7 @@ This Rest API enables developers to interact with a hoprd node programatically through HTTP. # noqa: E501 - OpenAPI spec version: 3.1.0 + OpenAPI spec version: 3.1.1 Contact: tech@hoprnet.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_message_pop_response.py b/test/test_message_pop_response.py index b1e0df6..361683f 100644 --- a/test/test_message_pop_response.py +++ b/test/test_message_pop_response.py @@ -5,7 +5,7 @@ This Rest API enables developers to interact with a hoprd node programatically through HTTP. # noqa: E501 - OpenAPI spec version: 3.1.0 + OpenAPI spec version: 3.1.1 Contact: tech@hoprnet.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_messages_api.py b/test/test_messages_api.py index c25d962..4ed57db 100644 --- a/test/test_messages_api.py +++ b/test/test_messages_api.py @@ -5,7 +5,7 @@ This Rest API enables developers to interact with a hoprd node programatically through HTTP. # noqa: E501 - OpenAPI spec version: 3.1.0 + OpenAPI spec version: 3.1.1 Contact: tech@hoprnet.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_network_api.py b/test/test_network_api.py index fafdad5..cd90e6f 100644 --- a/test/test_network_api.py +++ b/test/test_network_api.py @@ -5,7 +5,7 @@ This Rest API enables developers to interact with a hoprd node programatically through HTTP. # noqa: E501 - OpenAPI spec version: 3.1.0 + OpenAPI spec version: 3.1.1 Contact: tech@hoprnet.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_node_api.py b/test/test_node_api.py index 19621a8..c5b5426 100644 --- a/test/test_node_api.py +++ b/test/test_node_api.py @@ -5,7 +5,7 @@ This Rest API enables developers to interact with a hoprd node programatically through HTTP. # noqa: E501 - OpenAPI spec version: 3.1.0 + OpenAPI spec version: 3.1.1 Contact: tech@hoprnet.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_node_channel.py b/test/test_node_channel.py index 1424153..692d50c 100644 --- a/test/test_node_channel.py +++ b/test/test_node_channel.py @@ -5,7 +5,7 @@ This Rest API enables developers to interact with a hoprd node programatically through HTTP. # noqa: E501 - OpenAPI spec version: 3.1.0 + OpenAPI spec version: 3.1.1 Contact: tech@hoprnet.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_node_channels_response.py b/test/test_node_channels_response.py index f10121e..45701ce 100644 --- a/test/test_node_channels_response.py +++ b/test/test_node_channels_response.py @@ -5,7 +5,7 @@ This Rest API enables developers to interact with a hoprd node programatically through HTTP. # noqa: E501 - OpenAPI spec version: 3.1.0 + OpenAPI spec version: 3.1.1 Contact: tech@hoprnet.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_node_info_response.py b/test/test_node_info_response.py index 210c283..e685e0a 100644 --- a/test/test_node_info_response.py +++ b/test/test_node_info_response.py @@ -5,7 +5,7 @@ This Rest API enables developers to interact with a hoprd node programatically through HTTP. # noqa: E501 - OpenAPI spec version: 3.1.0 + OpenAPI spec version: 3.1.1 Contact: tech@hoprnet.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_node_peer_info_response.py b/test/test_node_peer_info_response.py index fb0e8cf..cbc6e41 100644 --- a/test/test_node_peer_info_response.py +++ b/test/test_node_peer_info_response.py @@ -5,7 +5,7 @@ This Rest API enables developers to interact with a hoprd node programatically through HTTP. # noqa: E501 - OpenAPI spec version: 3.1.0 + OpenAPI spec version: 3.1.1 Contact: tech@hoprnet.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_node_peers_query_request.py b/test/test_node_peers_query_request.py index dd53c5f..b079002 100644 --- a/test/test_node_peers_query_request.py +++ b/test/test_node_peers_query_request.py @@ -5,7 +5,7 @@ This Rest API enables developers to interact with a hoprd node programatically through HTTP. # noqa: E501 - OpenAPI spec version: 3.1.0 + OpenAPI spec version: 3.1.1 Contact: tech@hoprnet.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_node_peers_response.py b/test/test_node_peers_response.py index 133b794..2ab6bf4 100644 --- a/test/test_node_peers_response.py +++ b/test/test_node_peers_response.py @@ -5,7 +5,7 @@ This Rest API enables developers to interact with a hoprd node programatically through HTTP. # noqa: E501 - OpenAPI spec version: 3.1.0 + OpenAPI spec version: 3.1.1 Contact: tech@hoprnet.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_node_ticket_statistics_response.py b/test/test_node_ticket_statistics_response.py index 2cf3ab8..6b6d088 100644 --- a/test/test_node_ticket_statistics_response.py +++ b/test/test_node_ticket_statistics_response.py @@ -5,7 +5,7 @@ This Rest API enables developers to interact with a hoprd node programatically through HTTP. # noqa: E501 - OpenAPI spec version: 3.1.0 + OpenAPI spec version: 3.1.1 Contact: tech@hoprnet.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_node_version_response.py b/test/test_node_version_response.py index 7f42609..f6961c7 100644 --- a/test/test_node_version_response.py +++ b/test/test_node_version_response.py @@ -5,7 +5,7 @@ This Rest API enables developers to interact with a hoprd node programatically through HTTP. # noqa: E501 - OpenAPI spec version: 3.1.0 + OpenAPI spec version: 3.1.1 Contact: tech@hoprnet.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_open_channel_body_request.py b/test/test_open_channel_body_request.py index 7959491..0f6c33e 100644 --- a/test/test_open_channel_body_request.py +++ b/test/test_open_channel_body_request.py @@ -5,7 +5,7 @@ This Rest API enables developers to interact with a hoprd node programatically through HTTP. # noqa: E501 - OpenAPI spec version: 3.1.0 + OpenAPI spec version: 3.1.1 Contact: tech@hoprnet.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_open_channel_response.py b/test/test_open_channel_response.py index c218e8c..9d32c60 100644 --- a/test/test_open_channel_response.py +++ b/test/test_open_channel_response.py @@ -5,7 +5,7 @@ This Rest API enables developers to interact with a hoprd node programatically through HTTP. # noqa: E501 - OpenAPI spec version: 3.1.0 + OpenAPI spec version: 3.1.1 Contact: tech@hoprnet.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_peer_id_response.py b/test/test_peer_id_response.py index 032861b..35e2870 100644 --- a/test/test_peer_id_response.py +++ b/test/test_peer_id_response.py @@ -5,7 +5,7 @@ This Rest API enables developers to interact with a hoprd node programatically through HTTP. # noqa: E501 - OpenAPI spec version: 3.1.0 + OpenAPI spec version: 3.1.1 Contact: tech@hoprnet.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_peer_info.py b/test/test_peer_info.py index b127c50..431877c 100644 --- a/test/test_peer_info.py +++ b/test/test_peer_info.py @@ -5,7 +5,7 @@ This Rest API enables developers to interact with a hoprd node programatically through HTTP. # noqa: E501 - OpenAPI spec version: 3.1.0 + OpenAPI spec version: 3.1.1 Contact: tech@hoprnet.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_peers_api.py b/test/test_peers_api.py index c241445..1ec043f 100644 --- a/test/test_peers_api.py +++ b/test/test_peers_api.py @@ -5,7 +5,7 @@ This Rest API enables developers to interact with a hoprd node programatically through HTTP. # noqa: E501 - OpenAPI spec version: 3.1.0 + OpenAPI spec version: 3.1.1 Contact: tech@hoprnet.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_ping_response.py b/test/test_ping_response.py index 94d8491..e0fc685 100644 --- a/test/test_ping_response.py +++ b/test/test_ping_response.py @@ -5,7 +5,7 @@ This Rest API enables developers to interact with a hoprd node programatically through HTTP. # noqa: E501 - OpenAPI spec version: 3.1.0 + OpenAPI spec version: 3.1.1 Contact: tech@hoprnet.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_send_message_body_request.py b/test/test_send_message_body_request.py index 6647e49..0608e75 100644 --- a/test/test_send_message_body_request.py +++ b/test/test_send_message_body_request.py @@ -5,7 +5,7 @@ This Rest API enables developers to interact with a hoprd node programatically through HTTP. # noqa: E501 - OpenAPI spec version: 3.1.0 + OpenAPI spec version: 3.1.1 Contact: tech@hoprnet.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_send_message_response.py b/test/test_send_message_response.py index bbf7052..9a1c215 100644 --- a/test/test_send_message_response.py +++ b/test/test_send_message_response.py @@ -5,7 +5,7 @@ This Rest API enables developers to interact with a hoprd node programatically through HTTP. # noqa: E501 - OpenAPI spec version: 3.1.0 + OpenAPI spec version: 3.1.1 Contact: tech@hoprnet.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_size_response.py b/test/test_size_response.py index 1f351ea..aceaa15 100644 --- a/test/test_size_response.py +++ b/test/test_size_response.py @@ -5,7 +5,7 @@ This Rest API enables developers to interact with a hoprd node programatically through HTTP. # noqa: E501 - OpenAPI spec version: 3.1.0 + OpenAPI spec version: 3.1.1 Contact: tech@hoprnet.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_tag_query_request.py b/test/test_tag_query_request.py index 24b2b2d..d425bfe 100644 --- a/test/test_tag_query_request.py +++ b/test/test_tag_query_request.py @@ -5,7 +5,7 @@ This Rest API enables developers to interact with a hoprd node programatically through HTTP. # noqa: E501 - OpenAPI spec version: 3.1.0 + OpenAPI spec version: 3.1.1 Contact: tech@hoprnet.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_ticket_price_response.py b/test/test_ticket_price_response.py index 0c4e65c..8c43d22 100644 --- a/test/test_ticket_price_response.py +++ b/test/test_ticket_price_response.py @@ -5,7 +5,7 @@ This Rest API enables developers to interact with a hoprd node programatically through HTTP. # noqa: E501 - OpenAPI spec version: 3.1.0 + OpenAPI spec version: 3.1.1 Contact: tech@hoprnet.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_tickets_api.py b/test/test_tickets_api.py index 4f90a93..90aafac 100644 --- a/test/test_tickets_api.py +++ b/test/test_tickets_api.py @@ -5,7 +5,7 @@ This Rest API enables developers to interact with a hoprd node programatically through HTTP. # noqa: E501 - OpenAPI spec version: 3.1.0 + OpenAPI spec version: 3.1.1 Contact: tech@hoprnet.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_withdraw_body_request.py b/test/test_withdraw_body_request.py index a94a846..e6d9864 100644 --- a/test/test_withdraw_body_request.py +++ b/test/test_withdraw_body_request.py @@ -5,7 +5,7 @@ This Rest API enables developers to interact with a hoprd node programatically through HTTP. # noqa: E501 - OpenAPI spec version: 3.1.0 + OpenAPI spec version: 3.1.1 Contact: tech@hoprnet.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_withdraw_response.py b/test/test_withdraw_response.py new file mode 100644 index 0000000..15b17e1 --- /dev/null +++ b/test/test_withdraw_response.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + hoprd-api + + This Rest API enables developers to interact with a hoprd node programatically through HTTP. # noqa: E501 + + OpenAPI spec version: 3.1.1 + Contact: tech@hoprnet.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import hoprd_sdk +from hoprd_sdk.models.withdraw_response import WithdrawResponse # noqa: E501 +from hoprd_sdk.rest import ApiException + + +class TestWithdrawResponse(unittest.TestCase): + """WithdrawResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testWithdrawResponse(self): + """Test WithdrawResponse""" + # FIXME: construct object with mandatory attributes with example values + # model = hoprd_sdk.models.withdraw_response.WithdrawResponse() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main()