Skip to content

Commit

Permalink
Merge pull request #65 from devopsarr/feature/code-generation
Browse files Browse the repository at this point in the history
chore(deps): update dependency sonarr/sonarr to v4.0.9.2244
  • Loading branch information
devopsarr[bot] authored Aug 26, 2024
2 parents 461a8d0 + 60737b7 commit 07d3bbe
Show file tree
Hide file tree
Showing 209 changed files with 729 additions and 205 deletions.
4 changes: 3 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.8.1874
- API version: v4.0.9.2244
- Package version: 1.0.0 <!--- x-release-please-version -->
- Generator version: 7.8.0
- Build package: org.openapitools.codegen.languages.GoClientCodegen
Expand Down Expand Up @@ -173,6 +173,7 @@ Class | Method | HTTP request | Description
*ImportListConfigAPI* | [**UpdateImportListConfig**](docs/ImportListConfigAPI.md#updateimportlistconfig) | **Put** /api/v3/config/importlist/{id} |
*ImportListExclusionAPI* | [**CreateImportListExclusion**](docs/ImportListExclusionAPI.md#createimportlistexclusion) | **Post** /api/v3/importlistexclusion |
*ImportListExclusionAPI* | [**DeleteImportListExclusion**](docs/ImportListExclusionAPI.md#deleteimportlistexclusion) | **Delete** /api/v3/importlistexclusion/{id} |
*ImportListExclusionAPI* | [**DeleteImportListExclusionBulk**](docs/ImportListExclusionAPI.md#deleteimportlistexclusionbulk) | **Delete** /api/v3/importlistexclusion/bulk |
*ImportListExclusionAPI* | [**GetImportListExclusionById**](docs/ImportListExclusionAPI.md#getimportlistexclusionbyid) | **Get** /api/v3/importlistexclusion/{id} |
*ImportListExclusionAPI* | [**GetImportListExclusionPaged**](docs/ImportListExclusionAPI.md#getimportlistexclusionpaged) | **Get** /api/v3/importlistexclusion/paged |
*ImportListExclusionAPI* | [**ListImportListExclusion**](docs/ImportListExclusionAPI.md#listimportlistexclusion) | **Get** /api/v3/importlistexclusion |
Expand Down Expand Up @@ -357,6 +358,7 @@ Class | Method | HTTP request | Description
- [HostConfigResource](docs/HostConfigResource.md)
- [ImportListBulkResource](docs/ImportListBulkResource.md)
- [ImportListConfigResource](docs/ImportListConfigResource.md)
- [ImportListExclusionBulkResource](docs/ImportListExclusionBulkResource.md)
- [ImportListExclusionResource](docs/ImportListExclusionResource.md)
- [ImportListExclusionResourcePagingResource](docs/ImportListExclusionResourcePagingResource.md)
- [ImportListResource](docs/ImportListResource.md)
Expand Down
26 changes: 26 additions & 0 deletions docs/HostConfigResource.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ Name | Type | Description | Notes
**Password** | Pointer to **NullableString** | | [optional]
**PasswordConfirmation** | Pointer to **NullableString** | | [optional]
**LogLevel** | Pointer to **NullableString** | | [optional]
**LogSizeLimit** | Pointer to **int32** | | [optional]
**ConsoleLogLevel** | Pointer to **NullableString** | | [optional]
**Branch** | Pointer to **NullableString** | | [optional]
**ApiKey** | Pointer to **NullableString** | | [optional]
Expand Down Expand Up @@ -435,6 +436,31 @@ HasLogLevel returns a boolean if a field has been set.
`func (o *HostConfigResource) UnsetLogLevel()`

UnsetLogLevel ensures that no value is present for LogLevel, not even an explicit nil
### GetLogSizeLimit

`func (o *HostConfigResource) GetLogSizeLimit() int32`

GetLogSizeLimit returns the LogSizeLimit field if non-nil, zero value otherwise.

### GetLogSizeLimitOk

`func (o *HostConfigResource) GetLogSizeLimitOk() (*int32, bool)`

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

### SetLogSizeLimit

`func (o *HostConfigResource) SetLogSizeLimit(v int32)`

SetLogSizeLimit sets LogSizeLimit field to given value.

### HasLogSizeLimit

`func (o *HostConfigResource) HasLogSizeLimit() bool`

HasLogSizeLimit returns a boolean if a field has been set.

### GetConsoleLogLevel

`func (o *HostConfigResource) GetConsoleLogLevel() string`
Expand Down
63 changes: 63 additions & 0 deletions docs/ImportListExclusionAPI.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Method | HTTP request | Description
------------- | ------------- | -------------
[**CreateImportListExclusion**](ImportListExclusionAPI.md#CreateImportListExclusion) | **Post** /api/v3/importlistexclusion |
[**DeleteImportListExclusion**](ImportListExclusionAPI.md#DeleteImportListExclusion) | **Delete** /api/v3/importlistexclusion/{id} |
[**DeleteImportListExclusionBulk**](ImportListExclusionAPI.md#DeleteImportListExclusionBulk) | **Delete** /api/v3/importlistexclusion/bulk |
[**GetImportListExclusionById**](ImportListExclusionAPI.md#GetImportListExclusionById) | **Get** /api/v3/importlistexclusion/{id} |
[**GetImportListExclusionPaged**](ImportListExclusionAPI.md#GetImportListExclusionPaged) | **Get** /api/v3/importlistexclusion/paged |
[**ListImportListExclusion**](ImportListExclusionAPI.md#ListImportListExclusion) | **Get** /api/v3/importlistexclusion |
Expand Down Expand Up @@ -143,6 +144,68 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)


## DeleteImportListExclusionBulk

> DeleteImportListExclusionBulk(ctx).ImportListExclusionBulkResource(importListExclusionBulkResource).Execute()


### Example

```go
package main

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

func main() {
importListExclusionBulkResource := *sonarrClient.NewImportListExclusionBulkResource() // ImportListExclusionBulkResource | (optional)

configuration := sonarrClient.NewConfiguration()
apiClient := sonarrClient.NewAPIClient(configuration)
r, err := apiClient.ImportListExclusionAPI.DeleteImportListExclusionBulk(context.Background()).ImportListExclusionBulkResource(importListExclusionBulkResource).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ImportListExclusionAPI.DeleteImportListExclusionBulk``: %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 apiDeleteImportListExclusionBulkRequest struct via the builder pattern


Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**importListExclusionBulkResource** | [**ImportListExclusionBulkResource**](ImportListExclusionBulkResource.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, text/json, 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)


## GetImportListExclusionById

> ImportListExclusionResource GetImportListExclusionById(ctx, id).Execute()
Expand Down
66 changes: 66 additions & 0 deletions docs/ImportListExclusionBulkResource.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
# ImportListExclusionBulkResource

## Properties

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

## Methods

### NewImportListExclusionBulkResource

`func NewImportListExclusionBulkResource() *ImportListExclusionBulkResource`

NewImportListExclusionBulkResource instantiates a new ImportListExclusionBulkResource 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

### NewImportListExclusionBulkResourceWithDefaults

`func NewImportListExclusionBulkResourceWithDefaults() *ImportListExclusionBulkResource`

NewImportListExclusionBulkResourceWithDefaults instantiates a new ImportListExclusionBulkResource 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 *ImportListExclusionBulkResource) GetIds() []int32`

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

### GetIdsOk

`func (o *ImportListExclusionBulkResource) 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 *ImportListExclusionBulkResource) SetIds(v []int32)`

SetIds sets Ids field to given value.

### HasIds

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

HasIds returns a boolean if a field has been set.

### SetIdsNil

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

SetIdsNil sets the value for Ids to be an explicit nil

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

UnsetIds ensures that no value is present for Ids, 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)


36 changes: 36 additions & 0 deletions docs/ReleaseResource.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ Name | Type | Description | Notes
**Rejected** | Pointer to **bool** | | [optional]
**TvdbId** | Pointer to **int32** | | [optional]
**TvRageId** | Pointer to **int32** | | [optional]
**ImdbId** | Pointer to **NullableString** | | [optional]
**Rejections** | Pointer to **[]string** | | [optional]
**PublishDate** | Pointer to **time.Time** | | [optional]
**CommentUrl** | Pointer to **NullableString** | | [optional]
Expand Down Expand Up @@ -1069,6 +1070,41 @@ SetTvRageId sets TvRageId field to given value.

HasTvRageId returns a boolean if a field has been set.

### GetImdbId

`func (o *ReleaseResource) GetImdbId() string`

GetImdbId returns the ImdbId field if non-nil, zero value otherwise.

### GetImdbIdOk

`func (o *ReleaseResource) GetImdbIdOk() (*string, bool)`

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

### SetImdbId

`func (o *ReleaseResource) SetImdbId(v string)`

SetImdbId sets ImdbId field to given value.

### HasImdbId

`func (o *ReleaseResource) HasImdbId() bool`

HasImdbId returns a boolean if a field has been set.

### SetImdbIdNil

`func (o *ReleaseResource) SetImdbIdNil(b bool)`

SetImdbIdNil sets the value for ImdbId to be an explicit nil

### UnsetImdbId
`func (o *ReleaseResource) UnsetImdbId()`

UnsetImdbId ensures that no value is present for ImdbId, not even an explicit nil
### GetRejections

`func (o *ReleaseResource) GetRejections() []string`
Expand Down
2 changes: 1 addition & 1 deletion sonarr/api_api_info.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion sonarr/api_authentication.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion sonarr/api_auto_tagging.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion sonarr/api_backup.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion sonarr/api_blocklist.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion sonarr/api_calendar.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion sonarr/api_calendar_feed.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion sonarr/api_command.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion sonarr/api_custom_filter.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion sonarr/api_custom_format.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion sonarr/api_cutoff.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion sonarr/api_delay_profile.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion sonarr/api_disk_space.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion sonarr/api_download_client.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion sonarr/api_download_client_config.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 07d3bbe

Please sign in to comment.