Skip to content

Commit 750e8f9

Browse files
Merge pull request #79 from devopsarr/feature/code-generation
fix(deps): update dependency sonarr/sonarr to v4.0.12.2823
2 parents df297cb + 93ff710 commit 750e8f9

File tree

219 files changed

+655
-242
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

219 files changed

+655
-242
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Sonarr API docs - The v3 API docs apply to both v3 and v4 versions of Sonarr. So
33

44
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
55

6-
- API version: v4.0.11.2680
6+
- API version: v4.0.12.2823
77
- Package version: 1.0.2 <!--- x-release-please-version -->
88
- Generator version: 7.10.0
99
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
@@ -305,6 +305,7 @@ Class | Method | HTTP request | Description
305305
*SeriesApi* | [**update_series**](docs/SeriesApi.md#update_series) | **PUT** /api/v3/series/{id} |
306306
*SeriesEditorApi* | [**delete_series_editor**](docs/SeriesEditorApi.md#delete_series_editor) | **DELETE** /api/v3/series/editor |
307307
*SeriesEditorApi* | [**put_series_editor**](docs/SeriesEditorApi.md#put_series_editor) | **PUT** /api/v3/series/editor |
308+
*SeriesFolderApi* | [**get_series_folder**](docs/SeriesFolderApi.md#get_series_folder) | **GET** /api/v3/series/{id}/folder |
308309
*SeriesImportApi* | [**create_series_import**](docs/SeriesImportApi.md#create_series_import) | **POST** /api/v3/series/import |
309310
*SeriesLookupApi* | [**list_series_lookup**](docs/SeriesLookupApi.md#list_series_lookup) | **GET** /api/v3/series/lookup |
310311
*StaticResourceApi* | [**get**](docs/StaticResourceApi.md#get) | **GET** / |
@@ -386,6 +387,7 @@ Class | Method | HTTP request | Description
386387
- [ImportListExclusionResourcePagingResource](docs/ImportListExclusionResourcePagingResource.md)
387388
- [ImportListResource](docs/ImportListResource.md)
388389
- [ImportListType](docs/ImportListType.md)
390+
- [ImportRejectionResource](docs/ImportRejectionResource.md)
389391
- [IndexerBulkResource](docs/IndexerBulkResource.md)
390392
- [IndexerConfigResource](docs/IndexerConfigResource.md)
391393
- [IndexerFlagResource](docs/IndexerFlagResource.md)
@@ -434,7 +436,6 @@ Class | Method | HTTP request | Description
434436
- [QueueStatus](docs/QueueStatus.md)
435437
- [QueueStatusResource](docs/QueueStatusResource.md)
436438
- [Ratings](docs/Ratings.md)
437-
- [Rejection](docs/Rejection.md)
438439
- [RejectionType](docs/RejectionType.md)
439440
- [ReleaseEpisodeResource](docs/ReleaseEpisodeResource.md)
440441
- [ReleaseProfileResource](docs/ReleaseProfileResource.md)

docs/HostConfigResource.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ Name | Type | Description | Notes
4242
**backup_folder** | **str** | | [optional]
4343
**backup_interval** | **int** | | [optional]
4444
**backup_retention** | **int** | | [optional]
45+
**trust_cgnat_ip_addresses** | **bool** | | [optional]
4546

4647
## Example
4748

docs/ImportRejectionResource.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# ImportRejectionResource
2+
3+
4+
## Properties
5+
6+
Name | Type | Description | Notes
7+
------------ | ------------- | ------------- | -------------
8+
**reason** | **str** | | [optional]
9+
**type** | [**RejectionType**](RejectionType.md) | | [optional]
10+
11+
## Example
12+
13+
```python
14+
from sonarr.models.import_rejection_resource import ImportRejectionResource
15+
16+
# TODO update the JSON string below
17+
json = "{}"
18+
# create an instance of ImportRejectionResource from a JSON string
19+
import_rejection_resource_instance = ImportRejectionResource.from_json(json)
20+
# print the JSON string representation of the object
21+
print(ImportRejectionResource.to_json())
22+
23+
# convert the object into a dict
24+
import_rejection_resource_dict = import_rejection_resource_instance.to_dict()
25+
# create an instance of ImportRejectionResource from a dict
26+
import_rejection_resource_from_dict = ImportRejectionResource.from_dict(import_rejection_resource_dict)
27+
```
28+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
29+
30+

docs/ManualImportReprocessResource.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Name | Type | Description | Notes
1919
**custom_format_score** | **int** | | [optional]
2020
**indexer_flags** | **int** | | [optional]
2121
**release_type** | [**ReleaseType**](ReleaseType.md) | | [optional]
22-
**rejections** | [**List[Rejection]**](Rejection.md) | | [optional]
22+
**rejections** | [**List[ImportRejectionResource]**](ImportRejectionResource.md) | | [optional]
2323

2424
## Example
2525

docs/ManualImportResource.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Name | Type | Description | Notes
2424
**custom_format_score** | **int** | | [optional]
2525
**indexer_flags** | **int** | | [optional]
2626
**release_type** | [**ReleaseType**](ReleaseType.md) | | [optional]
27-
**rejections** | [**List[Rejection]**](Rejection.md) | | [optional]
27+
**rejections** | [**List[ImportRejectionResource]**](ImportRejectionResource.md) | | [optional]
2828

2929
## Example
3030

docs/QueueResource.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ Name | Type | Description | Notes
1717
**custom_format_score** | **int** | | [optional]
1818
**size** | **float** | | [optional]
1919
**title** | **str** | | [optional]
20-
**sizeleft** | **float** | | [optional]
21-
**timeleft** | **str** | | [optional]
2220
**estimated_completion_time** | **datetime** | | [optional]
2321
**added** | **datetime** | | [optional]
2422
**status** | [**QueueStatus**](QueueStatus.md) | | [optional]
@@ -33,6 +31,8 @@ Name | Type | Description | Notes
3331
**indexer** | **str** | | [optional]
3432
**output_path** | **str** | | [optional]
3533
**episode_has_file** | **bool** | | [optional]
34+
**sizeleft** | **float** | | [optional]
35+
**timeleft** | **str** | | [optional]
3636

3737
## Example
3838

docs/SeriesFolderApi.md

Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
# sonarr.SeriesFolderApi
2+
3+
All URIs are relative to *http://localhost:8989*
4+
5+
Method | HTTP request | Description
6+
------------- | ------------- | -------------
7+
[**get_series_folder**](SeriesFolderApi.md#get_series_folder) | **GET** /api/v3/series/{id}/folder |
8+
9+
10+
# **get_series_folder**
11+
> get_series_folder(id)
12+
13+
14+
15+
### Example
16+
17+
* Api Key Authentication (apikey):
18+
* Api Key Authentication (X-Api-Key):
19+
20+
```python
21+
import sonarr
22+
from sonarr.rest import ApiException
23+
from pprint import pprint
24+
25+
# Defining the host is optional and defaults to http://localhost:8989
26+
# See configuration.py for a list of all supported configuration parameters.
27+
configuration = sonarr.Configuration(
28+
host = "http://localhost:8989"
29+
)
30+
31+
# The client must configure the authentication and authorization parameters
32+
# in accordance with the API server security policy.
33+
# Examples for each auth method are provided below, use the example that
34+
# satisfies your auth use case.
35+
36+
# Configure API key authorization: apikey
37+
configuration.api_key['apikey'] = os.environ["API_KEY"]
38+
39+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
40+
# configuration.api_key_prefix['apikey'] = 'Bearer'
41+
42+
# Configure API key authorization: X-Api-Key
43+
configuration.api_key['X-Api-Key'] = os.environ["API_KEY"]
44+
45+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
46+
# configuration.api_key_prefix['X-Api-Key'] = 'Bearer'
47+
48+
# Enter a context with an instance of the API client
49+
with sonarr.ApiClient(configuration) as api_client:
50+
# Create an instance of the API class
51+
api_instance = sonarr.SeriesFolderApi(api_client)
52+
id = 56 # int |
53+
54+
try:
55+
api_instance.get_series_folder(id)
56+
except Exception as e:
57+
print("Exception when calling SeriesFolderApi->get_series_folder: %s\n" % e)
58+
```
59+
60+
61+
62+
### Parameters
63+
64+
65+
Name | Type | Description | Notes
66+
------------- | ------------- | ------------- | -------------
67+
**id** | **int**| |
68+
69+
### Return type
70+
71+
void (empty response body)
72+
73+
### Authorization
74+
75+
[apikey](../README.md#apikey), [X-Api-Key](../README.md#X-Api-Key)
76+
77+
### HTTP request headers
78+
79+
- **Content-Type**: Not defined
80+
- **Accept**: Not defined
81+
82+
### HTTP response details
83+
84+
| Status code | Description | Response headers |
85+
|-------------|-------------|------------------|
86+
**2XX** | OK | - |
87+
88+
[[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)
89+

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Sonarr API docs - The v3 API docs apply to both v3 and v4 versions of Sonarr. Some functionality may only be available in v4 of the Sonarr application.
77
8-
The version of the OpenAPI document: v4.0.11.2680
8+
The version of the OpenAPI document: v4.0.12.2823
99
Generated by OpenAPI Generator (https://openapi-generator.tech)
1010
1111
Do not edit the class manually.

sonarr/__init__.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
88
Sonarr API docs - The v3 API docs apply to both v3 and v4 versions of Sonarr. Some functionality may only be available in v4 of the Sonarr application.
99
10-
The version of the OpenAPI document: v4.0.11.2680
10+
The version of the OpenAPI document: v4.0.12.2823
1111
Generated by OpenAPI Generator (https://openapi-generator.tech)
1212
1313
Do not edit the class manually.
@@ -75,6 +75,7 @@
7575
from sonarr.api.season_pass_api import SeasonPassApi
7676
from sonarr.api.series_api import SeriesApi
7777
from sonarr.api.series_editor_api import SeriesEditorApi
78+
from sonarr.api.series_folder_api import SeriesFolderApi
7879
from sonarr.api.series_import_api import SeriesImportApi
7980
from sonarr.api.series_lookup_api import SeriesLookupApi
8081
from sonarr.api.static_resource_api import StaticResourceApi
@@ -149,6 +150,7 @@
149150
from sonarr.models.import_list_exclusion_resource_paging_resource import ImportListExclusionResourcePagingResource
150151
from sonarr.models.import_list_resource import ImportListResource
151152
from sonarr.models.import_list_type import ImportListType
153+
from sonarr.models.import_rejection_resource import ImportRejectionResource
152154
from sonarr.models.indexer_bulk_resource import IndexerBulkResource
153155
from sonarr.models.indexer_config_resource import IndexerConfigResource
154156
from sonarr.models.indexer_flag_resource import IndexerFlagResource
@@ -197,7 +199,6 @@
197199
from sonarr.models.queue_status import QueueStatus
198200
from sonarr.models.queue_status_resource import QueueStatusResource
199201
from sonarr.models.ratings import Ratings
200-
from sonarr.models.rejection import Rejection
201202
from sonarr.models.rejection_type import RejectionType
202203
from sonarr.models.release_episode_resource import ReleaseEpisodeResource
203204
from sonarr.models.release_profile_resource import ReleaseProfileResource

sonarr/api/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@
5959
from sonarr.api.season_pass_api import SeasonPassApi
6060
from sonarr.api.series_api import SeriesApi
6161
from sonarr.api.series_editor_api import SeriesEditorApi
62+
from sonarr.api.series_folder_api import SeriesFolderApi
6263
from sonarr.api.series_import_api import SeriesImportApi
6364
from sonarr.api.series_lookup_api import SeriesLookupApi
6465
from sonarr.api.static_resource_api import StaticResourceApi

0 commit comments

Comments
 (0)