Skip to content

Commit

Permalink
fix(deps): update dependency sonarr/sonarr to v4.0.11.2680
Browse files Browse the repository at this point in the history
  • Loading branch information
devopsarr[bot] committed Dec 10, 2024
1 parent 17bbc56 commit 6818a0b
Show file tree
Hide file tree
Showing 224 changed files with 1,706 additions and 278 deletions.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Sonarr API docs - The v3 API docs apply to both v3 and v4 versions of Sonarr. So
## Overview
This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client.

- API version: v4.0.9.2244
- API version: v4.0.11.2680
- Package version: 1.0.1 <!--- x-release-please-version -->
- Generator version: 7.9.0
- Build package: org.openapitools.codegen.languages.GoClientCodegen
Expand Down Expand Up @@ -108,9 +108,11 @@ Class | Method | HTTP request | Description
*CustomFilterAPI* | [**UpdateCustomFilter**](docs/CustomFilterAPI.md#updatecustomfilter) | **Put** /api/v3/customfilter/{id} |
*CustomFormatAPI* | [**CreateCustomFormat**](docs/CustomFormatAPI.md#createcustomformat) | **Post** /api/v3/customformat |
*CustomFormatAPI* | [**DeleteCustomFormat**](docs/CustomFormatAPI.md#deletecustomformat) | **Delete** /api/v3/customformat/{id} |
*CustomFormatAPI* | [**DeleteCustomFormatBulk**](docs/CustomFormatAPI.md#deletecustomformatbulk) | **Delete** /api/v3/customformat/bulk |
*CustomFormatAPI* | [**GetCustomFormatById**](docs/CustomFormatAPI.md#getcustomformatbyid) | **Get** /api/v3/customformat/{id} |
*CustomFormatAPI* | [**ListCustomFormat**](docs/CustomFormatAPI.md#listcustomformat) | **Get** /api/v3/customformat |
*CustomFormatAPI* | [**ListCustomFormatSchema**](docs/CustomFormatAPI.md#listcustomformatschema) | **Get** /api/v3/customformat/schema |
*CustomFormatAPI* | [**PutCustomFormatBulk**](docs/CustomFormatAPI.md#putcustomformatbulk) | **Put** /api/v3/customformat/bulk |
*CustomFormatAPI* | [**UpdateCustomFormat**](docs/CustomFormatAPI.md#updatecustomformat) | **Put** /api/v3/customformat/{id} |
*CutoffAPI* | [**GetWantedCutoff**](docs/CutoffAPI.md#getwantedcutoff) | **Get** /api/v3/wanted/cutoff |
*CutoffAPI* | [**GetWantedCutoffById**](docs/CutoffAPI.md#getwantedcutoffbyid) | **Get** /api/v3/wanted/cutoff/{id} |
Expand Down Expand Up @@ -241,6 +243,7 @@ Class | Method | HTTP request | Description
*PingAPI* | [**GetPing**](docs/PingAPI.md#getping) | **Get** /ping |
*PingAPI* | [**HeadPing**](docs/PingAPI.md#headping) | **Head** /ping |
*QualityDefinitionAPI* | [**GetQualityDefinitionById**](docs/QualityDefinitionAPI.md#getqualitydefinitionbyid) | **Get** /api/v3/qualitydefinition/{id} |
*QualityDefinitionAPI* | [**GetQualityDefinitionLimits**](docs/QualityDefinitionAPI.md#getqualitydefinitionlimits) | **Get** /api/v3/qualitydefinition/limits |
*QualityDefinitionAPI* | [**ListQualityDefinition**](docs/QualityDefinitionAPI.md#listqualitydefinition) | **Get** /api/v3/qualitydefinition |
*QualityDefinitionAPI* | [**PutQualityDefinitionUpdate**](docs/QualityDefinitionAPI.md#putqualitydefinitionupdate) | **Put** /api/v3/qualitydefinition/update |
*QualityDefinitionAPI* | [**UpdateQualityDefinition**](docs/QualityDefinitionAPI.md#updatequalitydefinition) | **Put** /api/v3/qualitydefinition/{id} |
Expand Down Expand Up @@ -333,6 +336,7 @@ Class | Method | HTTP request | Description
- [CommandStatus](docs/CommandStatus.md)
- [CommandTrigger](docs/CommandTrigger.md)
- [CustomFilterResource](docs/CustomFilterResource.md)
- [CustomFormatBulkResource](docs/CustomFormatBulkResource.md)
- [CustomFormatResource](docs/CustomFormatResource.md)
- [CustomFormatSpecificationSchema](docs/CustomFormatSpecificationSchema.md)
- [DatabaseType](docs/DatabaseType.md)
Expand Down Expand Up @@ -399,6 +403,7 @@ Class | Method | HTTP request | Description
- [ProviderMessageType](docs/ProviderMessageType.md)
- [ProxyType](docs/ProxyType.md)
- [Quality](docs/Quality.md)
- [QualityDefinitionLimitsResource](docs/QualityDefinitionLimitsResource.md)
- [QualityDefinitionResource](docs/QualityDefinitionResource.md)
- [QualityModel](docs/QualityModel.md)
- [QualityProfileQualityItemResource](docs/QualityProfileQualityItemResource.md)
Expand All @@ -407,6 +412,7 @@ Class | Method | HTTP request | Description
- [QueueBulkResource](docs/QueueBulkResource.md)
- [QueueResource](docs/QueueResource.md)
- [QueueResourcePagingResource](docs/QueueResourcePagingResource.md)
- [QueueStatus](docs/QueueStatus.md)
- [QueueStatusResource](docs/QueueStatusResource.md)
- [Ratings](docs/Ratings.md)
- [Rejection](docs/Rejection.md)
Expand Down
128 changes: 128 additions & 0 deletions docs/CustomFormatAPI.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@ Method | HTTP request | Description
------------- | ------------- | -------------
[**CreateCustomFormat**](CustomFormatAPI.md#CreateCustomFormat) | **Post** /api/v3/customformat |
[**DeleteCustomFormat**](CustomFormatAPI.md#DeleteCustomFormat) | **Delete** /api/v3/customformat/{id} |
[**DeleteCustomFormatBulk**](CustomFormatAPI.md#DeleteCustomFormatBulk) | **Delete** /api/v3/customformat/bulk |
[**GetCustomFormatById**](CustomFormatAPI.md#GetCustomFormatById) | **Get** /api/v3/customformat/{id} |
[**ListCustomFormat**](CustomFormatAPI.md#ListCustomFormat) | **Get** /api/v3/customformat |
[**ListCustomFormatSchema**](CustomFormatAPI.md#ListCustomFormatSchema) | **Get** /api/v3/customformat/schema |
[**PutCustomFormatBulk**](CustomFormatAPI.md#PutCustomFormatBulk) | **Put** /api/v3/customformat/bulk |
[**UpdateCustomFormat**](CustomFormatAPI.md#UpdateCustomFormat) | **Put** /api/v3/customformat/{id} |


Expand Down Expand Up @@ -143,6 +145,68 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)


## DeleteCustomFormatBulk

> DeleteCustomFormatBulk(ctx).CustomFormatBulkResource(customFormatBulkResource).Execute()


### Example

```go
package main

import (
"context"
"fmt"
"os"
sonarrClient "github.com/devopsarr/sonarr-go/sonarr"
)

func main() {
customFormatBulkResource := *sonarrClient.NewCustomFormatBulkResource() // CustomFormatBulkResource | (optional)

configuration := sonarrClient.NewConfiguration()
apiClient := sonarrClient.NewAPIClient(configuration)
r, err := apiClient.CustomFormatAPI.DeleteCustomFormatBulk(context.Background()).CustomFormatBulkResource(customFormatBulkResource).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `CustomFormatAPI.DeleteCustomFormatBulk``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
```

### Path Parameters



### Other Parameters

Other parameters are passed through a pointer to a apiDeleteCustomFormatBulkRequest struct via the builder pattern


Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**customFormatBulkResource** | [**CustomFormatBulkResource**](CustomFormatBulkResource.md) | |

### Return type

(empty response body)

### Authorization

[apikey](../README.md#apikey), [X-Api-Key](../README.md#X-Api-Key)

### HTTP request headers

- **Content-Type**: application/json
- **Accept**: Not defined

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


## GetCustomFormatById

> CustomFormatResource GetCustomFormatById(ctx, id).Execute()
Expand Down Expand Up @@ -329,6 +393,70 @@ Other parameters are passed through a pointer to a apiListCustomFormatSchemaRequ
[[Back to README]](../README.md)


## PutCustomFormatBulk

> CustomFormatResource PutCustomFormatBulk(ctx).CustomFormatBulkResource(customFormatBulkResource).Execute()


### Example

```go
package main

import (
"context"
"fmt"
"os"
sonarrClient "github.com/devopsarr/sonarr-go/sonarr"
)

func main() {
customFormatBulkResource := *sonarrClient.NewCustomFormatBulkResource() // CustomFormatBulkResource | (optional)

configuration := sonarrClient.NewConfiguration()
apiClient := sonarrClient.NewAPIClient(configuration)
resp, r, err := apiClient.CustomFormatAPI.PutCustomFormatBulk(context.Background()).CustomFormatBulkResource(customFormatBulkResource).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `CustomFormatAPI.PutCustomFormatBulk``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `PutCustomFormatBulk`: CustomFormatResource
fmt.Fprintf(os.Stdout, "Response from `CustomFormatAPI.PutCustomFormatBulk`: %v\n", resp)
}
```

### Path Parameters



### Other Parameters

Other parameters are passed through a pointer to a apiPutCustomFormatBulkRequest struct via the builder pattern


Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**customFormatBulkResource** | [**CustomFormatBulkResource**](CustomFormatBulkResource.md) | |

### Return type

[**CustomFormatResource**](CustomFormatResource.md)

### Authorization

[apikey](../README.md#apikey), [X-Api-Key](../README.md#X-Api-Key)

### HTTP request headers

- **Content-Type**: application/json
- **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)


## UpdateCustomFormat

> CustomFormatResource UpdateCustomFormat(ctx, id).CustomFormatResource(customFormatResource).Execute()
Expand Down
102 changes: 102 additions & 0 deletions docs/CustomFormatBulkResource.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
# CustomFormatBulkResource

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Ids** | Pointer to **[]int32** | | [optional]
**IncludeCustomFormatWhenRenaming** | Pointer to **NullableBool** | | [optional]

## Methods

### NewCustomFormatBulkResource

`func NewCustomFormatBulkResource() *CustomFormatBulkResource`

NewCustomFormatBulkResource instantiates a new CustomFormatBulkResource object
This constructor will assign default values to properties that have it defined,
and makes sure properties required by API are set, but the set of arguments
will change when the set of required properties is changed

### NewCustomFormatBulkResourceWithDefaults

`func NewCustomFormatBulkResourceWithDefaults() *CustomFormatBulkResource`

NewCustomFormatBulkResourceWithDefaults instantiates a new CustomFormatBulkResource object
This constructor will only assign default values to properties that have it defined,
but it doesn't guarantee that properties required by API are set

### GetIds

`func (o *CustomFormatBulkResource) GetIds() []int32`

GetIds returns the Ids field if non-nil, zero value otherwise.

### GetIdsOk

`func (o *CustomFormatBulkResource) GetIdsOk() (*[]int32, bool)`

GetIdsOk returns a tuple with the Ids field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetIds

`func (o *CustomFormatBulkResource) SetIds(v []int32)`

SetIds sets Ids field to given value.

### HasIds

`func (o *CustomFormatBulkResource) HasIds() bool`

HasIds returns a boolean if a field has been set.

### SetIdsNil

`func (o *CustomFormatBulkResource) SetIdsNil(b bool)`

SetIdsNil sets the value for Ids to be an explicit nil

### UnsetIds
`func (o *CustomFormatBulkResource) UnsetIds()`

UnsetIds ensures that no value is present for Ids, not even an explicit nil
### GetIncludeCustomFormatWhenRenaming

`func (o *CustomFormatBulkResource) GetIncludeCustomFormatWhenRenaming() bool`

GetIncludeCustomFormatWhenRenaming returns the IncludeCustomFormatWhenRenaming field if non-nil, zero value otherwise.

### GetIncludeCustomFormatWhenRenamingOk

`func (o *CustomFormatBulkResource) GetIncludeCustomFormatWhenRenamingOk() (*bool, bool)`

GetIncludeCustomFormatWhenRenamingOk returns a tuple with the IncludeCustomFormatWhenRenaming field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetIncludeCustomFormatWhenRenaming

`func (o *CustomFormatBulkResource) SetIncludeCustomFormatWhenRenaming(v bool)`

SetIncludeCustomFormatWhenRenaming sets IncludeCustomFormatWhenRenaming field to given value.

### HasIncludeCustomFormatWhenRenaming

`func (o *CustomFormatBulkResource) HasIncludeCustomFormatWhenRenaming() bool`

HasIncludeCustomFormatWhenRenaming returns a boolean if a field has been set.

### SetIncludeCustomFormatWhenRenamingNil

`func (o *CustomFormatBulkResource) SetIncludeCustomFormatWhenRenamingNil(b bool)`

SetIncludeCustomFormatWhenRenamingNil sets the value for IncludeCustomFormatWhenRenaming to be an explicit nil

### UnsetIncludeCustomFormatWhenRenaming
`func (o *CustomFormatBulkResource) UnsetIncludeCustomFormatWhenRenaming()`

UnsetIncludeCustomFormatWhenRenaming ensures that no value is present for IncludeCustomFormatWhenRenaming, not even an explicit nil

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


4 changes: 2 additions & 2 deletions docs/DownloadClientAPI.md
Original file line number Diff line number Diff line change
Expand Up @@ -670,7 +670,7 @@ import (
)

func main() {
id := "id_example" // string |
id := int32(56) // int32 |
forceSave := true // bool | (optional) (default to false)
downloadClientResource := *sonarrClient.NewDownloadClientResource() // DownloadClientResource | (optional)

Expand All @@ -692,7 +692,7 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
**id** | **string** | |
**id** | **int32** | |

### Other Parameters

Expand Down
8 changes: 6 additions & 2 deletions docs/EpisodeAPI.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ Name | Type | Description | Notes

## ListEpisode

> []EpisodeResource ListEpisode(ctx).SeriesId(seriesId).SeasonNumber(seasonNumber).EpisodeIds(episodeIds).EpisodeFileId(episodeFileId).IncludeImages(includeImages).Execute()
> []EpisodeResource ListEpisode(ctx).SeriesId(seriesId).SeasonNumber(seasonNumber).EpisodeIds(episodeIds).EpisodeFileId(episodeFileId).IncludeSeries(includeSeries).IncludeEpisodeFile(includeEpisodeFile).IncludeImages(includeImages).Execute()


Expand All @@ -102,11 +102,13 @@ func main() {
seasonNumber := int32(56) // int32 | (optional)
episodeIds := []int32{int32(123)} // []int32 | (optional)
episodeFileId := int32(56) // int32 | (optional)
includeSeries := true // bool | (optional) (default to false)
includeEpisodeFile := true // bool | (optional) (default to false)
includeImages := true // bool | (optional) (default to false)

configuration := sonarrClient.NewConfiguration()
apiClient := sonarrClient.NewAPIClient(configuration)
resp, r, err := apiClient.EpisodeAPI.ListEpisode(context.Background()).SeriesId(seriesId).SeasonNumber(seasonNumber).EpisodeIds(episodeIds).EpisodeFileId(episodeFileId).IncludeImages(includeImages).Execute()
resp, r, err := apiClient.EpisodeAPI.ListEpisode(context.Background()).SeriesId(seriesId).SeasonNumber(seasonNumber).EpisodeIds(episodeIds).EpisodeFileId(episodeFileId).IncludeSeries(includeSeries).IncludeEpisodeFile(includeEpisodeFile).IncludeImages(includeImages).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `EpisodeAPI.ListEpisode``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
Expand All @@ -131,6 +133,8 @@ Name | Type | Description | Notes
**seasonNumber** | **int32** | |
**episodeIds** | **[]int32** | |
**episodeFileId** | **int32** | |
**includeSeries** | **bool** | | [default to false]
**includeEpisodeFile** | **bool** | | [default to false]
**includeImages** | **bool** | | [default to false]

### Return type
Expand Down
Loading

0 comments on commit 6818a0b

Please sign in to comment.