diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index 280bad1..06c7ad6 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -62,7 +62,6 @@ docs/HistoryResource.md docs/HistoryResourcePagingResource.md docs/HostConfigApi.md docs/HostConfigResource.md -docs/HttpUri.md docs/ImportListApi.md docs/ImportListExclusionApi.md docs/ImportListExclusionResource.md @@ -178,7 +177,6 @@ docs/TagDetailsResource.md docs/TagResource.md docs/TaskApi.md docs/TaskResource.md -docs/TimeSpan.md docs/TrackedDownloadState.md docs/TrackedDownloadStatus.md docs/TrackedDownloadStatusMessage.md @@ -306,7 +304,6 @@ sonarr/models/health_resource.py sonarr/models/history_resource.py sonarr/models/history_resource_paging_resource.py sonarr/models/host_config_resource.py -sonarr/models/http_uri.py sonarr/models/import_list_exclusion_resource.py sonarr/models/import_list_resource.py sonarr/models/import_list_type.py @@ -379,7 +376,6 @@ sonarr/models/system_resource.py sonarr/models/tag_details_resource.py sonarr/models/tag_resource.py sonarr/models/task_resource.py -sonarr/models/time_span.py sonarr/models/tracked_download_state.py sonarr/models/tracked_download_status.py sonarr/models/tracked_download_status_message.py diff --git a/docs/SeriesLookupApi.md b/docs/SeriesLookupApi.md index 36763da..ab19404 100644 --- a/docs/SeriesLookupApi.md +++ b/docs/SeriesLookupApi.md @@ -4,11 +4,11 @@ All URIs are relative to *http://localhost:8989* Method | HTTP request | Description ------------- | ------------- | ------------- -[**get_series_lookup**](SeriesLookupApi.md#get_series_lookup) | **GET** /api/v3/series/lookup | +[**list_series_lookup**](SeriesLookupApi.md#list_series_lookup) | **GET** /api/v3/series/lookup | -# **get_series_lookup** -> List[SeriesResource] get_series_lookup(term=term) +# **list_series_lookup** +> List[SeriesResource] list_series_lookup(term=term) @@ -52,11 +52,11 @@ with sonarr.ApiClient(configuration) as api_client: term = 'term_example' # str | (optional) try: - api_response = api_instance.get_series_lookup(term=term) - print("The response of SeriesLookupApi->get_series_lookup:\n") + api_response = api_instance.list_series_lookup(term=term) + print("The response of SeriesLookupApi->list_series_lookup:\n") pprint(api_response) except Exception as e: - print("Exception when calling SeriesLookupApi->get_series_lookup: %s\n" % e) + print("Exception when calling SeriesLookupApi->list_series_lookup: %s\n" % e) ``` * Api Key Authentication (apikey): @@ -97,11 +97,11 @@ with sonarr.ApiClient(configuration) as api_client: term = 'term_example' # str | (optional) try: - api_response = api_instance.get_series_lookup(term=term) - print("The response of SeriesLookupApi->get_series_lookup:\n") + api_response = api_instance.list_series_lookup(term=term) + print("The response of SeriesLookupApi->list_series_lookup:\n") pprint(api_response) except Exception as e: - print("Exception when calling SeriesLookupApi->get_series_lookup: %s\n" % e) + print("Exception when calling SeriesLookupApi->list_series_lookup: %s\n" % e) ``` ### Parameters diff --git a/sonarr/api/series_lookup_api.py b/sonarr/api/series_lookup_api.py index 3995767..824e22c 100644 --- a/sonarr/api/series_lookup_api.py +++ b/sonarr/api/series_lookup_api.py @@ -43,13 +43,13 @@ def __init__(self, api_client=None): self.api_client = api_client @validate_arguments - def get_series_lookup(self, term : Optional[StrictStr] = None, **kwargs) -> List[SeriesResource]: # noqa: E501 - """get_series_lookup # noqa: E501 + def list_series_lookup(self, term : Optional[StrictStr] = None, **kwargs) -> List[SeriesResource]: # noqa: E501 + """list_series_lookup # 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_series_lookup(term, async_req=True) + >>> thread = api.list_series_lookup(term, async_req=True) >>> result = thread.get() :param term: @@ -70,16 +70,16 @@ def get_series_lookup(self, term : Optional[StrictStr] = None, **kwargs) -> List :rtype: List[SeriesResource] """ kwargs['_return_http_data_only'] = True - return self.get_series_lookup_with_http_info(term, **kwargs) # noqa: E501 + return self.list_series_lookup_with_http_info(term, **kwargs) # noqa: E501 @validate_arguments - def get_series_lookup_with_http_info(self, term : Optional[StrictStr] = None, **kwargs): # noqa: E501 - """get_series_lookup # noqa: E501 + def list_series_lookup_with_http_info(self, term : Optional[StrictStr] = None, **kwargs): # noqa: E501 + """list_series_lookup # 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_series_lookup_with_http_info(term, async_req=True) + >>> thread = api.list_series_lookup_with_http_info(term, async_req=True) >>> result = thread.get() :param term: @@ -130,7 +130,7 @@ def get_series_lookup_with_http_info(self, term : Optional[StrictStr] = None, ** if _key not in _all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method get_series_lookup" % _key + " to method list_series_lookup" % _key ) _params[_key] = _val del _params['kwargs'] diff --git a/sonarr/configuration.py b/sonarr/configuration.py index e9cd392..9440916 100644 --- a/sonarr/configuration.py +++ b/sonarr/configuration.py @@ -428,7 +428,7 @@ def to_debug_report(self): "OS: {env}\n"\ "Python Version: {pyversion}\n"\ "Version of the API: 3.0.0\n"\ - "SDK Package Version: 0.0.1".\ + "SDK Package Version: 0.5.1".\ format(env=sys.platform, pyversion=sys.version) def get_host_settings(self):