Skip to content

Commit 88bee52

Browse files
fix: remove middle elements from method name
1 parent e3d3fed commit 88bee52

File tree

5 files changed

+48
-48
lines changed

5 files changed

+48
-48
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ Class | Method | HTTP request | Description
121121
*BookApi* | [**create_book**](docs/BookApi.md#create_book) | **POST** /api/v1/book |
122122
*BookApi* | [**delete_book**](docs/BookApi.md#delete_book) | **DELETE** /api/v1/book/{id} |
123123
*BookApi* | [**get_book_by_id**](docs/BookApi.md#get_book_by_id) | **GET** /api/v1/book/{id} |
124-
*BookApi* | [**get_bookid_overview**](docs/BookApi.md#get_bookid_overview) | **GET** /api/v1/book/{id}/overview |
124+
*BookApi* | [**get_book_overview**](docs/BookApi.md#get_book_overview) | **GET** /api/v1/book/{id}/overview |
125125
*BookApi* | [**list_book**](docs/BookApi.md#list_book) | **GET** /api/v1/book |
126126
*BookApi* | [**put_book_monitor**](docs/BookApi.md#put_book_monitor) | **PUT** /api/v1/book/monitor |
127127
*BookApi* | [**update_book**](docs/BookApi.md#update_book) | **PUT** /api/v1/book/{id} |
@@ -229,8 +229,8 @@ Class | Method | HTTP request | Description
229229
*LogFileApi* | [**list_log_file**](docs/LogFileApi.md#list_log_file) | **GET** /api/v1/log/file |
230230
*ManualImportApi* | [**create_manual_import**](docs/ManualImportApi.md#create_manual_import) | **POST** /api/v1/manualimport |
231231
*ManualImportApi* | [**list_manual_import**](docs/ManualImportApi.md#list_manual_import) | **GET** /api/v1/manualimport |
232-
*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} |
233-
*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} |
232+
*MediaCoverApi* | [**get_media_cover_author_by_filename**](docs/MediaCoverApi.md#get_media_cover_author_by_filename) | **GET** /api/v1/mediacover/author/{authorId}/{filename} |
233+
*MediaCoverApi* | [**get_media_cover_book_by_filename**](docs/MediaCoverApi.md#get_media_cover_book_by_filename) | **GET** /api/v1/mediacover/book/{bookId}/{filename} |
234234
*MediaManagementConfigApi* | [**get_media_management_config**](docs/MediaManagementConfigApi.md#get_media_management_config) | **GET** /api/v1/config/mediamanagement |
235235
*MediaManagementConfigApi* | [**get_media_management_config_by_id**](docs/MediaManagementConfigApi.md#get_media_management_config_by_id) | **GET** /api/v1/config/mediamanagement/{id} |
236236
*MediaManagementConfigApi* | [**update_media_management_config**](docs/MediaManagementConfigApi.md#update_media_management_config) | **PUT** /api/v1/config/mediamanagement/{id} |

docs/BookApi.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Method | HTTP request | Description
77
[**create_book**](BookApi.md#create_book) | **POST** /api/v1/book |
88
[**delete_book**](BookApi.md#delete_book) | **DELETE** /api/v1/book/{id} |
99
[**get_book_by_id**](BookApi.md#get_book_by_id) | **GET** /api/v1/book/{id} |
10-
[**get_bookid_overview**](BookApi.md#get_bookid_overview) | **GET** /api/v1/book/{id}/overview |
10+
[**get_book_overview**](BookApi.md#get_book_overview) | **GET** /api/v1/book/{id}/overview |
1111
[**list_book**](BookApi.md#list_book) | **GET** /api/v1/book |
1212
[**put_book_monitor**](BookApi.md#put_book_monitor) | **PUT** /api/v1/book/monitor |
1313
[**update_book**](BookApi.md#update_book) | **PUT** /api/v1/book/{id} |
@@ -384,8 +384,8 @@ Name | Type | Description | Notes
384384

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

387-
# **get_bookid_overview**
388-
> get_bookid_overview(id)
387+
# **get_book_overview**
388+
> get_book_overview(id)
389389
390390

391391

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

431431
try:
432-
api_instance.get_bookid_overview(id)
432+
api_instance.get_book_overview(id)
433433
except Exception as e:
434-
print("Exception when calling BookApi->get_bookid_overview: %s\n" % e)
434+
print("Exception when calling BookApi->get_book_overview: %s\n" % e)
435435
```
436436

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

474474
try:
475-
api_instance.get_bookid_overview(id)
475+
api_instance.get_book_overview(id)
476476
except Exception as e:
477-
print("Exception when calling BookApi->get_bookid_overview: %s\n" % e)
477+
print("Exception when calling BookApi->get_book_overview: %s\n" % e)
478478
```
479479

480480
### Parameters

docs/MediaCoverApi.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ All URIs are relative to *http://localhost:8787*
44

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

1010

11-
# **get_media_cover_authorauthor_id_by_filename**
12-
> get_media_cover_authorauthor_id_by_filename(author_id, filename)
11+
# **get_media_cover_author_by_filename**
12+
> get_media_cover_author_by_filename(author_id, filename)
1313
1414

1515

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

5656
try:
57-
api_instance.get_media_cover_authorauthor_id_by_filename(author_id, filename)
57+
api_instance.get_media_cover_author_by_filename(author_id, filename)
5858
except Exception as e:
59-
print("Exception when calling MediaCoverApi->get_media_cover_authorauthor_id_by_filename: %s\n" % e)
59+
print("Exception when calling MediaCoverApi->get_media_cover_author_by_filename: %s\n" % e)
6060
```
6161

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

100100
try:
101-
api_instance.get_media_cover_authorauthor_id_by_filename(author_id, filename)
101+
api_instance.get_media_cover_author_by_filename(author_id, filename)
102102
except Exception as e:
103-
print("Exception when calling MediaCoverApi->get_media_cover_authorauthor_id_by_filename: %s\n" % e)
103+
print("Exception when calling MediaCoverApi->get_media_cover_author_by_filename: %s\n" % e)
104104
```
105105

106106
### Parameters
@@ -130,8 +130,8 @@ void (empty response body)
130130

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

133-
# **get_media_cover_bookbook_id_by_filename**
134-
> get_media_cover_bookbook_id_by_filename(book_id, filename)
133+
# **get_media_cover_book_by_filename**
134+
> get_media_cover_book_by_filename(book_id, filename)
135135
136136

137137

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

178178
try:
179-
api_instance.get_media_cover_bookbook_id_by_filename(book_id, filename)
179+
api_instance.get_media_cover_book_by_filename(book_id, filename)
180180
except Exception as e:
181-
print("Exception when calling MediaCoverApi->get_media_cover_bookbook_id_by_filename: %s\n" % e)
181+
print("Exception when calling MediaCoverApi->get_media_cover_book_by_filename: %s\n" % e)
182182
```
183183

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

222222
try:
223-
api_instance.get_media_cover_bookbook_id_by_filename(book_id, filename)
223+
api_instance.get_media_cover_book_by_filename(book_id, filename)
224224
except Exception as e:
225-
print("Exception when calling MediaCoverApi->get_media_cover_bookbook_id_by_filename: %s\n" % e)
225+
print("Exception when calling MediaCoverApi->get_media_cover_book_by_filename: %s\n" % e)
226226
```
227227

228228
### Parameters

readarr/api/book_api.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -482,13 +482,13 @@ def get_book_by_id_with_http_info(self, id : StrictInt, **kwargs): # noqa: E501
482482
_request_auth=_params.get('_request_auth'))
483483

484484
@validate_arguments
485-
def get_bookid_overview(self, id : StrictInt, **kwargs) -> None: # noqa: E501
486-
"""get_bookid_overview # noqa: E501
485+
def get_book_overview(self, id : StrictInt, **kwargs) -> None: # noqa: E501
486+
"""get_book_overview # noqa: E501
487487
488488
This method makes a synchronous HTTP request by default. To make an
489489
asynchronous HTTP request, please pass async_req=True
490490
491-
>>> thread = api.get_bookid_overview(id, async_req=True)
491+
>>> thread = api.get_book_overview(id, async_req=True)
492492
>>> result = thread.get()
493493
494494
:param id: (required)
@@ -509,16 +509,16 @@ def get_bookid_overview(self, id : StrictInt, **kwargs) -> None: # noqa: E501
509509
:rtype: None
510510
"""
511511
kwargs['_return_http_data_only'] = True
512-
return self.get_bookid_overview_with_http_info(id, **kwargs) # noqa: E501
512+
return self.get_book_overview_with_http_info(id, **kwargs) # noqa: E501
513513

514514
@validate_arguments
515-
def get_bookid_overview_with_http_info(self, id : StrictInt, **kwargs): # noqa: E501
516-
"""get_bookid_overview # noqa: E501
515+
def get_book_overview_with_http_info(self, id : StrictInt, **kwargs): # noqa: E501
516+
"""get_book_overview # noqa: E501
517517
518518
This method makes a synchronous HTTP request by default. To make an
519519
asynchronous HTTP request, please pass async_req=True
520520
521-
>>> thread = api.get_bookid_overview_with_http_info(id, async_req=True)
521+
>>> thread = api.get_book_overview_with_http_info(id, async_req=True)
522522
>>> result = thread.get()
523523
524524
:param id: (required)
@@ -569,7 +569,7 @@ def get_bookid_overview_with_http_info(self, id : StrictInt, **kwargs): # noqa:
569569
if _key not in _all_params:
570570
raise ApiTypeError(
571571
"Got an unexpected keyword argument '%s'"
572-
" to method get_bookid_overview" % _key
572+
" to method get_book_overview" % _key
573573
)
574574
_params[_key] = _val
575575
del _params['kwargs']

readarr/api/media_cover_api.py

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,13 @@ def __init__(self, api_client=None):
4040
self.api_client = api_client
4141

4242
@validate_arguments
43-
def get_media_cover_authorauthor_id_by_filename(self, author_id : StrictInt, filename : constr(strict=True), **kwargs) -> None: # noqa: E501
44-
"""get_media_cover_authorauthor_id_by_filename # noqa: E501
43+
def get_media_cover_author_by_filename(self, author_id : StrictInt, filename : constr(strict=True), **kwargs) -> None: # noqa: E501
44+
"""get_media_cover_author_by_filename # noqa: E501
4545
4646
This method makes a synchronous HTTP request by default. To make an
4747
asynchronous HTTP request, please pass async_req=True
4848
49-
>>> thread = api.get_media_cover_authorauthor_id_by_filename(author_id, filename, async_req=True)
49+
>>> thread = api.get_media_cover_author_by_filename(author_id, filename, async_req=True)
5050
>>> result = thread.get()
5151
5252
:param author_id: (required)
@@ -69,16 +69,16 @@ def get_media_cover_authorauthor_id_by_filename(self, author_id : StrictInt, fil
6969
:rtype: None
7070
"""
7171
kwargs['_return_http_data_only'] = True
72-
return self.get_media_cover_authorauthor_id_by_filename_with_http_info(author_id, filename, **kwargs) # noqa: E501
72+
return self.get_media_cover_author_by_filename_with_http_info(author_id, filename, **kwargs) # noqa: E501
7373

7474
@validate_arguments
75-
def get_media_cover_authorauthor_id_by_filename_with_http_info(self, author_id : StrictInt, filename : constr(strict=True), **kwargs): # noqa: E501
76-
"""get_media_cover_authorauthor_id_by_filename # noqa: E501
75+
def get_media_cover_author_by_filename_with_http_info(self, author_id : StrictInt, filename : constr(strict=True), **kwargs): # noqa: E501
76+
"""get_media_cover_author_by_filename # noqa: E501
7777
7878
This method makes a synchronous HTTP request by default. To make an
7979
asynchronous HTTP request, please pass async_req=True
8080
81-
>>> thread = api.get_media_cover_authorauthor_id_by_filename_with_http_info(author_id, filename, async_req=True)
81+
>>> thread = api.get_media_cover_author_by_filename_with_http_info(author_id, filename, async_req=True)
8282
>>> result = thread.get()
8383
8484
:param author_id: (required)
@@ -132,7 +132,7 @@ def get_media_cover_authorauthor_id_by_filename_with_http_info(self, author_id :
132132
if _key not in _all_params:
133133
raise ApiTypeError(
134134
"Got an unexpected keyword argument '%s'"
135-
" to method get_media_cover_authorauthor_id_by_filename" % _key
135+
" to method get_media_cover_author_by_filename" % _key
136136
)
137137
_params[_key] = _val
138138
del _params['kwargs']
@@ -182,13 +182,13 @@ def get_media_cover_authorauthor_id_by_filename_with_http_info(self, author_id :
182182
_request_auth=_params.get('_request_auth'))
183183

184184
@validate_arguments
185-
def get_media_cover_bookbook_id_by_filename(self, book_id : StrictInt, filename : constr(strict=True), **kwargs) -> None: # noqa: E501
186-
"""get_media_cover_bookbook_id_by_filename # noqa: E501
185+
def get_media_cover_book_by_filename(self, book_id : StrictInt, filename : constr(strict=True), **kwargs) -> None: # noqa: E501
186+
"""get_media_cover_book_by_filename # noqa: E501
187187
188188
This method makes a synchronous HTTP request by default. To make an
189189
asynchronous HTTP request, please pass async_req=True
190190
191-
>>> thread = api.get_media_cover_bookbook_id_by_filename(book_id, filename, async_req=True)
191+
>>> thread = api.get_media_cover_book_by_filename(book_id, filename, async_req=True)
192192
>>> result = thread.get()
193193
194194
:param book_id: (required)
@@ -211,16 +211,16 @@ def get_media_cover_bookbook_id_by_filename(self, book_id : StrictInt, filename
211211
:rtype: None
212212
"""
213213
kwargs['_return_http_data_only'] = True
214-
return self.get_media_cover_bookbook_id_by_filename_with_http_info(book_id, filename, **kwargs) # noqa: E501
214+
return self.get_media_cover_book_by_filename_with_http_info(book_id, filename, **kwargs) # noqa: E501
215215

216216
@validate_arguments
217-
def get_media_cover_bookbook_id_by_filename_with_http_info(self, book_id : StrictInt, filename : constr(strict=True), **kwargs): # noqa: E501
218-
"""get_media_cover_bookbook_id_by_filename # noqa: E501
217+
def get_media_cover_book_by_filename_with_http_info(self, book_id : StrictInt, filename : constr(strict=True), **kwargs): # noqa: E501
218+
"""get_media_cover_book_by_filename # noqa: E501
219219
220220
This method makes a synchronous HTTP request by default. To make an
221221
asynchronous HTTP request, please pass async_req=True
222222
223-
>>> thread = api.get_media_cover_bookbook_id_by_filename_with_http_info(book_id, filename, async_req=True)
223+
>>> thread = api.get_media_cover_book_by_filename_with_http_info(book_id, filename, async_req=True)
224224
>>> result = thread.get()
225225
226226
:param book_id: (required)
@@ -274,7 +274,7 @@ def get_media_cover_bookbook_id_by_filename_with_http_info(self, book_id : Stric
274274
if _key not in _all_params:
275275
raise ApiTypeError(
276276
"Got an unexpected keyword argument '%s'"
277-
" to method get_media_cover_bookbook_id_by_filename" % _key
277+
" to method get_media_cover_book_by_filename" % _key
278278
)
279279
_params[_key] = _val
280280
del _params['kwargs']

0 commit comments

Comments
 (0)