Skip to content

Commit

Permalink
fix: remove middle elements from method name
Browse files Browse the repository at this point in the history
  • Loading branch information
devopsarr[bot] committed Oct 13, 2023
1 parent e3d3fed commit 88bee52
Show file tree
Hide file tree
Showing 5 changed files with 48 additions and 48 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ Class | Method | HTTP request | Description
*BookApi* | [**create_book**](docs/BookApi.md#create_book) | **POST** /api/v1/book |
*BookApi* | [**delete_book**](docs/BookApi.md#delete_book) | **DELETE** /api/v1/book/{id} |
*BookApi* | [**get_book_by_id**](docs/BookApi.md#get_book_by_id) | **GET** /api/v1/book/{id} |
*BookApi* | [**get_bookid_overview**](docs/BookApi.md#get_bookid_overview) | **GET** /api/v1/book/{id}/overview |
*BookApi* | [**get_book_overview**](docs/BookApi.md#get_book_overview) | **GET** /api/v1/book/{id}/overview |
*BookApi* | [**list_book**](docs/BookApi.md#list_book) | **GET** /api/v1/book |
*BookApi* | [**put_book_monitor**](docs/BookApi.md#put_book_monitor) | **PUT** /api/v1/book/monitor |
*BookApi* | [**update_book**](docs/BookApi.md#update_book) | **PUT** /api/v1/book/{id} |
Expand Down Expand Up @@ -229,8 +229,8 @@ Class | Method | HTTP request | Description
*LogFileApi* | [**list_log_file**](docs/LogFileApi.md#list_log_file) | **GET** /api/v1/log/file |
*ManualImportApi* | [**create_manual_import**](docs/ManualImportApi.md#create_manual_import) | **POST** /api/v1/manualimport |
*ManualImportApi* | [**list_manual_import**](docs/ManualImportApi.md#list_manual_import) | **GET** /api/v1/manualimport |
*MediaCoverApi* | [**get_media_cover_authorauthor_id_by_filename**](docs/MediaCoverApi.md#get_media_cover_authorauthor_id_by_filename) | **GET** /api/v1/mediacover/author/{authorId}/{filename} |
*MediaCoverApi* | [**get_media_cover_bookbook_id_by_filename**](docs/MediaCoverApi.md#get_media_cover_bookbook_id_by_filename) | **GET** /api/v1/mediacover/book/{bookId}/{filename} |
*MediaCoverApi* | [**get_media_cover_author_by_filename**](docs/MediaCoverApi.md#get_media_cover_author_by_filename) | **GET** /api/v1/mediacover/author/{authorId}/{filename} |
*MediaCoverApi* | [**get_media_cover_book_by_filename**](docs/MediaCoverApi.md#get_media_cover_book_by_filename) | **GET** /api/v1/mediacover/book/{bookId}/{filename} |
*MediaManagementConfigApi* | [**get_media_management_config**](docs/MediaManagementConfigApi.md#get_media_management_config) | **GET** /api/v1/config/mediamanagement |
*MediaManagementConfigApi* | [**get_media_management_config_by_id**](docs/MediaManagementConfigApi.md#get_media_management_config_by_id) | **GET** /api/v1/config/mediamanagement/{id} |
*MediaManagementConfigApi* | [**update_media_management_config**](docs/MediaManagementConfigApi.md#update_media_management_config) | **PUT** /api/v1/config/mediamanagement/{id} |
Expand Down
14 changes: 7 additions & 7 deletions docs/BookApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Method | HTTP request | Description
[**create_book**](BookApi.md#create_book) | **POST** /api/v1/book |
[**delete_book**](BookApi.md#delete_book) | **DELETE** /api/v1/book/{id} |
[**get_book_by_id**](BookApi.md#get_book_by_id) | **GET** /api/v1/book/{id} |
[**get_bookid_overview**](BookApi.md#get_bookid_overview) | **GET** /api/v1/book/{id}/overview |
[**get_book_overview**](BookApi.md#get_book_overview) | **GET** /api/v1/book/{id}/overview |
[**list_book**](BookApi.md#list_book) | **GET** /api/v1/book |
[**put_book_monitor**](BookApi.md#put_book_monitor) | **PUT** /api/v1/book/monitor |
[**update_book**](BookApi.md#update_book) | **PUT** /api/v1/book/{id} |
Expand Down Expand Up @@ -384,8 +384,8 @@ 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)

# **get_bookid_overview**
> get_bookid_overview(id)
# **get_book_overview**
> get_book_overview(id)


Expand Down Expand Up @@ -429,9 +429,9 @@ with readarr.ApiClient(configuration) as api_client:
id = 56 # int |

try:
api_instance.get_bookid_overview(id)
api_instance.get_book_overview(id)
except Exception as e:
print("Exception when calling BookApi->get_bookid_overview: %s\n" % e)
print("Exception when calling BookApi->get_book_overview: %s\n" % e)
```

* Api Key Authentication (X-Api-Key):
Expand Down Expand Up @@ -472,9 +472,9 @@ with readarr.ApiClient(configuration) as api_client:
id = 56 # int |

try:
api_instance.get_bookid_overview(id)
api_instance.get_book_overview(id)
except Exception as e:
print("Exception when calling BookApi->get_bookid_overview: %s\n" % e)
print("Exception when calling BookApi->get_book_overview: %s\n" % e)
```

### Parameters
Expand Down
28 changes: 14 additions & 14 deletions docs/MediaCoverApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ All URIs are relative to *http://localhost:8787*

Method | HTTP request | Description
------------- | ------------- | -------------
[**get_media_cover_authorauthor_id_by_filename**](MediaCoverApi.md#get_media_cover_authorauthor_id_by_filename) | **GET** /api/v1/mediacover/author/{authorId}/{filename} |
[**get_media_cover_bookbook_id_by_filename**](MediaCoverApi.md#get_media_cover_bookbook_id_by_filename) | **GET** /api/v1/mediacover/book/{bookId}/{filename} |
[**get_media_cover_author_by_filename**](MediaCoverApi.md#get_media_cover_author_by_filename) | **GET** /api/v1/mediacover/author/{authorId}/{filename} |
[**get_media_cover_book_by_filename**](MediaCoverApi.md#get_media_cover_book_by_filename) | **GET** /api/v1/mediacover/book/{bookId}/{filename} |


# **get_media_cover_authorauthor_id_by_filename**
> get_media_cover_authorauthor_id_by_filename(author_id, filename)
# **get_media_cover_author_by_filename**
> get_media_cover_author_by_filename(author_id, filename)


Expand Down Expand Up @@ -54,9 +54,9 @@ with readarr.ApiClient(configuration) as api_client:
filename = 'filename_example' # str |

try:
api_instance.get_media_cover_authorauthor_id_by_filename(author_id, filename)
api_instance.get_media_cover_author_by_filename(author_id, filename)
except Exception as e:
print("Exception when calling MediaCoverApi->get_media_cover_authorauthor_id_by_filename: %s\n" % e)
print("Exception when calling MediaCoverApi->get_media_cover_author_by_filename: %s\n" % e)
```

* Api Key Authentication (X-Api-Key):
Expand Down Expand Up @@ -98,9 +98,9 @@ with readarr.ApiClient(configuration) as api_client:
filename = 'filename_example' # str |

try:
api_instance.get_media_cover_authorauthor_id_by_filename(author_id, filename)
api_instance.get_media_cover_author_by_filename(author_id, filename)
except Exception as e:
print("Exception when calling MediaCoverApi->get_media_cover_authorauthor_id_by_filename: %s\n" % e)
print("Exception when calling MediaCoverApi->get_media_cover_author_by_filename: %s\n" % e)
```

### Parameters
Expand Down Expand Up @@ -130,8 +130,8 @@ void (empty response body)

[[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)

# **get_media_cover_bookbook_id_by_filename**
> get_media_cover_bookbook_id_by_filename(book_id, filename)
# **get_media_cover_book_by_filename**
> get_media_cover_book_by_filename(book_id, filename)


Expand Down Expand Up @@ -176,9 +176,9 @@ with readarr.ApiClient(configuration) as api_client:
filename = 'filename_example' # str |

try:
api_instance.get_media_cover_bookbook_id_by_filename(book_id, filename)
api_instance.get_media_cover_book_by_filename(book_id, filename)
except Exception as e:
print("Exception when calling MediaCoverApi->get_media_cover_bookbook_id_by_filename: %s\n" % e)
print("Exception when calling MediaCoverApi->get_media_cover_book_by_filename: %s\n" % e)
```

* Api Key Authentication (X-Api-Key):
Expand Down Expand Up @@ -220,9 +220,9 @@ with readarr.ApiClient(configuration) as api_client:
filename = 'filename_example' # str |

try:
api_instance.get_media_cover_bookbook_id_by_filename(book_id, filename)
api_instance.get_media_cover_book_by_filename(book_id, filename)
except Exception as e:
print("Exception when calling MediaCoverApi->get_media_cover_bookbook_id_by_filename: %s\n" % e)
print("Exception when calling MediaCoverApi->get_media_cover_book_by_filename: %s\n" % e)
```

### Parameters
Expand Down
16 changes: 8 additions & 8 deletions readarr/api/book_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -482,13 +482,13 @@ def get_book_by_id_with_http_info(self, id : StrictInt, **kwargs): # noqa: E501
_request_auth=_params.get('_request_auth'))

@validate_arguments
def get_bookid_overview(self, id : StrictInt, **kwargs) -> None: # noqa: E501
"""get_bookid_overview # noqa: E501
def get_book_overview(self, id : StrictInt, **kwargs) -> None: # noqa: E501
"""get_book_overview # 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_bookid_overview(id, async_req=True)
>>> thread = api.get_book_overview(id, async_req=True)
>>> result = thread.get()
:param id: (required)
Expand All @@ -509,16 +509,16 @@ def get_bookid_overview(self, id : StrictInt, **kwargs) -> None: # noqa: E501
:rtype: None
"""
kwargs['_return_http_data_only'] = True
return self.get_bookid_overview_with_http_info(id, **kwargs) # noqa: E501
return self.get_book_overview_with_http_info(id, **kwargs) # noqa: E501

@validate_arguments
def get_bookid_overview_with_http_info(self, id : StrictInt, **kwargs): # noqa: E501
"""get_bookid_overview # noqa: E501
def get_book_overview_with_http_info(self, id : StrictInt, **kwargs): # noqa: E501
"""get_book_overview # 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_bookid_overview_with_http_info(id, async_req=True)
>>> thread = api.get_book_overview_with_http_info(id, async_req=True)
>>> result = thread.get()
:param id: (required)
Expand Down Expand Up @@ -569,7 +569,7 @@ def get_bookid_overview_with_http_info(self, id : StrictInt, **kwargs): # noqa:
if _key not in _all_params:
raise ApiTypeError(
"Got an unexpected keyword argument '%s'"
" to method get_bookid_overview" % _key
" to method get_book_overview" % _key
)
_params[_key] = _val
del _params['kwargs']
Expand Down
32 changes: 16 additions & 16 deletions readarr/api/media_cover_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,13 @@ def __init__(self, api_client=None):
self.api_client = api_client

@validate_arguments
def get_media_cover_authorauthor_id_by_filename(self, author_id : StrictInt, filename : constr(strict=True), **kwargs) -> None: # noqa: E501
"""get_media_cover_authorauthor_id_by_filename # noqa: E501
def get_media_cover_author_by_filename(self, author_id : StrictInt, filename : constr(strict=True), **kwargs) -> None: # noqa: E501
"""get_media_cover_author_by_filename # 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_media_cover_authorauthor_id_by_filename(author_id, filename, async_req=True)
>>> thread = api.get_media_cover_author_by_filename(author_id, filename, async_req=True)
>>> result = thread.get()
:param author_id: (required)
Expand All @@ -69,16 +69,16 @@ def get_media_cover_authorauthor_id_by_filename(self, author_id : StrictInt, fil
:rtype: None
"""
kwargs['_return_http_data_only'] = True
return self.get_media_cover_authorauthor_id_by_filename_with_http_info(author_id, filename, **kwargs) # noqa: E501
return self.get_media_cover_author_by_filename_with_http_info(author_id, filename, **kwargs) # noqa: E501

@validate_arguments
def get_media_cover_authorauthor_id_by_filename_with_http_info(self, author_id : StrictInt, filename : constr(strict=True), **kwargs): # noqa: E501
"""get_media_cover_authorauthor_id_by_filename # noqa: E501
def get_media_cover_author_by_filename_with_http_info(self, author_id : StrictInt, filename : constr(strict=True), **kwargs): # noqa: E501
"""get_media_cover_author_by_filename # 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_media_cover_authorauthor_id_by_filename_with_http_info(author_id, filename, async_req=True)
>>> thread = api.get_media_cover_author_by_filename_with_http_info(author_id, filename, async_req=True)
>>> result = thread.get()
:param author_id: (required)
Expand Down Expand Up @@ -132,7 +132,7 @@ def get_media_cover_authorauthor_id_by_filename_with_http_info(self, author_id :
if _key not in _all_params:
raise ApiTypeError(
"Got an unexpected keyword argument '%s'"
" to method get_media_cover_authorauthor_id_by_filename" % _key
" to method get_media_cover_author_by_filename" % _key
)
_params[_key] = _val
del _params['kwargs']
Expand Down Expand Up @@ -182,13 +182,13 @@ def get_media_cover_authorauthor_id_by_filename_with_http_info(self, author_id :
_request_auth=_params.get('_request_auth'))

@validate_arguments
def get_media_cover_bookbook_id_by_filename(self, book_id : StrictInt, filename : constr(strict=True), **kwargs) -> None: # noqa: E501
"""get_media_cover_bookbook_id_by_filename # noqa: E501
def get_media_cover_book_by_filename(self, book_id : StrictInt, filename : constr(strict=True), **kwargs) -> None: # noqa: E501
"""get_media_cover_book_by_filename # 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_media_cover_bookbook_id_by_filename(book_id, filename, async_req=True)
>>> thread = api.get_media_cover_book_by_filename(book_id, filename, async_req=True)
>>> result = thread.get()
:param book_id: (required)
Expand All @@ -211,16 +211,16 @@ def get_media_cover_bookbook_id_by_filename(self, book_id : StrictInt, filename
:rtype: None
"""
kwargs['_return_http_data_only'] = True
return self.get_media_cover_bookbook_id_by_filename_with_http_info(book_id, filename, **kwargs) # noqa: E501
return self.get_media_cover_book_by_filename_with_http_info(book_id, filename, **kwargs) # noqa: E501

@validate_arguments
def get_media_cover_bookbook_id_by_filename_with_http_info(self, book_id : StrictInt, filename : constr(strict=True), **kwargs): # noqa: E501
"""get_media_cover_bookbook_id_by_filename # noqa: E501
def get_media_cover_book_by_filename_with_http_info(self, book_id : StrictInt, filename : constr(strict=True), **kwargs): # noqa: E501
"""get_media_cover_book_by_filename # 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_media_cover_bookbook_id_by_filename_with_http_info(book_id, filename, async_req=True)
>>> thread = api.get_media_cover_book_by_filename_with_http_info(book_id, filename, async_req=True)
>>> result = thread.get()
:param book_id: (required)
Expand Down Expand Up @@ -274,7 +274,7 @@ def get_media_cover_bookbook_id_by_filename_with_http_info(self, book_id : Stric
if _key not in _all_params:
raise ApiTypeError(
"Got an unexpected keyword argument '%s'"
" to method get_media_cover_bookbook_id_by_filename" % _key
" to method get_media_cover_book_by_filename" % _key
)
_params[_key] = _val
del _params['kwargs']
Expand Down

0 comments on commit 88bee52

Please sign in to comment.