Skip to content

Commit

Permalink
Merge pull request #64 from devopsarr/feature/code-generation
Browse files Browse the repository at this point in the history
chore(deps): update dependency radarr/radarr to v5.6.0.8846
  • Loading branch information
devopsarr[bot] authored Jul 26, 2024
2 parents 6d81e1e + 35b70be commit 80daa5d
Show file tree
Hide file tree
Showing 244 changed files with 2,138 additions and 2,219 deletions.
15 changes: 5 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Radarr API docs
## 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: v5.4.6.8723
- API version: v5.8.3.8933
- Package version: 1.0.1 <!--- x-release-please-version -->
- Generator version: 7.6.0
- Build package: org.openapitools.codegen.languages.GoClientCodegen
Expand Down Expand Up @@ -97,7 +97,6 @@ Class | Method | HTTP request | Description
*BlocklistAPI* | [**DeleteBlocklistBulk**](docs/BlocklistAPI.md#deleteblocklistbulk) | **Delete** /api/v3/blocklist/bulk |
*BlocklistAPI* | [**GetBlocklist**](docs/BlocklistAPI.md#getblocklist) | **Get** /api/v3/blocklist |
*BlocklistAPI* | [**ListBlocklistMovie**](docs/BlocklistAPI.md#listblocklistmovie) | **Get** /api/v3/blocklist/movie |
*CalendarAPI* | [**GetCalendarById**](docs/CalendarAPI.md#getcalendarbyid) | **Get** /api/v3/calendar/{id} |
*CalendarAPI* | [**ListCalendar**](docs/CalendarAPI.md#listcalendar) | **Get** /api/v3/calendar |
*CalendarFeedAPI* | [**GetFeedV3CalendarRadarrIcs**](docs/CalendarFeedAPI.md#getfeedv3calendarradarrics) | **Get** /feed/v3/calendar/radarr.ics |
*CollectionAPI* | [**GetCollectionById**](docs/CollectionAPI.md#getcollectionbyid) | **Get** /api/v3/collection/{id} |
Expand All @@ -121,11 +120,13 @@ Class | Method | HTTP request | Description
*CustomFormatAPI* | [**ListCustomFormat**](docs/CustomFormatAPI.md#listcustomformat) | **Get** /api/v3/customformat |
*CustomFormatAPI* | [**ListCustomFormatSchema**](docs/CustomFormatAPI.md#listcustomformatschema) | **Get** /api/v3/customformat/schema |
*CustomFormatAPI* | [**UpdateCustomFormat**](docs/CustomFormatAPI.md#updatecustomformat) | **Put** /api/v3/customformat/{id} |
*CutoffAPI* | [**GetWantedCutoff**](docs/CutoffAPI.md#getwantedcutoff) | **Get** /api/v3/wanted/cutoff |
*DelayProfileAPI* | [**CreateDelayProfile**](docs/DelayProfileAPI.md#createdelayprofile) | **Post** /api/v3/delayprofile |
*DelayProfileAPI* | [**DeleteDelayProfile**](docs/DelayProfileAPI.md#deletedelayprofile) | **Delete** /api/v3/delayprofile/{id} |
*DelayProfileAPI* | [**GetDelayProfileById**](docs/DelayProfileAPI.md#getdelayprofilebyid) | **Get** /api/v3/delayprofile/{id} |
*DelayProfileAPI* | [**ListDelayProfile**](docs/DelayProfileAPI.md#listdelayprofile) | **Get** /api/v3/delayprofile |
*DelayProfileAPI* | [**UpdateDelayProfile**](docs/DelayProfileAPI.md#updatedelayprofile) | **Put** /api/v3/delayprofile/{id} |
*DelayProfileAPI* | [**UpdateDelayProfileReorder**](docs/DelayProfileAPI.md#updatedelayprofilereorder) | **Put** /api/v3/delayprofile/reorder/{id} |
*DiskSpaceAPI* | [**ListDiskSpace**](docs/DiskSpaceAPI.md#listdiskspace) | **Get** /api/v3/diskspace |
*DownloadClientAPI* | [**CreateDownloadClient**](docs/DownloadClientAPI.md#createdownloadclient) | **Post** /api/v3/downloadclient |
*DownloadClientAPI* | [**CreateDownloadClientActionByName**](docs/DownloadClientAPI.md#createdownloadclientactionbyname) | **Post** /api/v3/downloadclient/action/{name} |
Expand All @@ -145,7 +146,6 @@ Class | Method | HTTP request | Description
*FileSystemAPI* | [**GetFileSystem**](docs/FileSystemAPI.md#getfilesystem) | **Get** /api/v3/filesystem |
*FileSystemAPI* | [**GetFileSystemMediafiles**](docs/FileSystemAPI.md#getfilesystemmediafiles) | **Get** /api/v3/filesystem/mediafiles |
*FileSystemAPI* | [**GetFileSystemType**](docs/FileSystemAPI.md#getfilesystemtype) | **Get** /api/v3/filesystem/type |
*HealthAPI* | [**GetHealthById**](docs/HealthAPI.md#gethealthbyid) | **Get** /api/v3/health/{id} |
*HealthAPI* | [**ListHealth**](docs/HealthAPI.md#listhealth) | **Get** /api/v3/health |
*HistoryAPI* | [**CreateHistoryFailedById**](docs/HistoryAPI.md#createhistoryfailedbyid) | **Post** /api/v3/history/failed/{id} |
*HistoryAPI* | [**GetHistory**](docs/HistoryAPI.md#gethistory) | **Get** /api/v3/history |
Expand Down Expand Up @@ -216,6 +216,7 @@ Class | Method | HTTP request | Description
*MetadataConfigAPI* | [**GetMetadataConfig**](docs/MetadataConfigAPI.md#getmetadataconfig) | **Get** /api/v3/config/metadata |
*MetadataConfigAPI* | [**GetMetadataConfigById**](docs/MetadataConfigAPI.md#getmetadataconfigbyid) | **Get** /api/v3/config/metadata/{id} |
*MetadataConfigAPI* | [**UpdateMetadataConfig**](docs/MetadataConfigAPI.md#updatemetadataconfig) | **Put** /api/v3/config/metadata/{id} |
*MissingAPI* | [**GetWantedMissing**](docs/MissingAPI.md#getwantedmissing) | **Get** /api/v3/wanted/missing |
*MovieAPI* | [**CreateMovie**](docs/MovieAPI.md#createmovie) | **Post** /api/v3/movie |
*MovieAPI* | [**DeleteMovie**](docs/MovieAPI.md#deletemovie) | **Delete** /api/v3/movie/{id} |
*MovieAPI* | [**GetMovieById**](docs/MovieAPI.md#getmoviebyid) | **Get** /api/v3/movie/{id} |
Expand All @@ -230,9 +231,7 @@ Class | Method | HTTP request | Description
*MovieFileAPI* | [**PutMovieFileEditor**](docs/MovieFileAPI.md#putmoviefileeditor) | **Put** /api/v3/moviefile/editor |
*MovieFileAPI* | [**UpdateMovieFile**](docs/MovieFileAPI.md#updatemoviefile) | **Put** /api/v3/moviefile/{id} |
*MovieImportAPI* | [**CreateMovieImport**](docs/MovieImportAPI.md#createmovieimport) | **Post** /api/v3/movie/import |
*MovieImportAPI* | [**GetMovieImportById**](docs/MovieImportAPI.md#getmovieimportbyid) | **Get** /api/v3/movie/import/{id} |
*MovieLookupAPI* | [**GetMovieLookup**](docs/MovieLookupAPI.md#getmovielookup) | **Get** /api/v3/movie/lookup |
*MovieLookupAPI* | [**GetMovieLookupById**](docs/MovieLookupAPI.md#getmovielookupbyid) | **Get** /api/v3/movie/lookup/{id} |
*MovieLookupAPI* | [**GetMovieLookupImdb**](docs/MovieLookupAPI.md#getmovielookupimdb) | **Get** /api/v3/movie/lookup/imdb |
*MovieLookupAPI* | [**GetMovieLookupTmdb**](docs/MovieLookupAPI.md#getmovielookuptmdb) | **Get** /api/v3/movie/lookup/tmdb |
*NamingConfigAPI* | [**GetNamingConfig**](docs/NamingConfigAPI.md#getnamingconfig) | **Get** /api/v3/config/naming |
Expand Down Expand Up @@ -264,23 +263,18 @@ Class | Method | HTTP request | Description
*QueueAPI* | [**DeleteQueue**](docs/QueueAPI.md#deletequeue) | **Delete** /api/v3/queue/{id} |
*QueueAPI* | [**DeleteQueueBulk**](docs/QueueAPI.md#deletequeuebulk) | **Delete** /api/v3/queue/bulk |
*QueueAPI* | [**GetQueue**](docs/QueueAPI.md#getqueue) | **Get** /api/v3/queue |
*QueueAPI* | [**GetQueueById**](docs/QueueAPI.md#getqueuebyid) | **Get** /api/v3/queue/{id} |
*QueueActionAPI* | [**CreateQueueGrabBulk**](docs/QueueActionAPI.md#createqueuegrabbulk) | **Post** /api/v3/queue/grab/bulk |
*QueueActionAPI* | [**CreateQueueGrabById**](docs/QueueActionAPI.md#createqueuegrabbyid) | **Post** /api/v3/queue/grab/{id} |
*QueueDetailsAPI* | [**GetQueueDetailsById**](docs/QueueDetailsAPI.md#getqueuedetailsbyid) | **Get** /api/v3/queue/details/{id} |
*QueueDetailsAPI* | [**ListQueueDetails**](docs/QueueDetailsAPI.md#listqueuedetails) | **Get** /api/v3/queue/details |
*QueueStatusAPI* | [**GetQueueStatus**](docs/QueueStatusAPI.md#getqueuestatus) | **Get** /api/v3/queue/status |
*QueueStatusAPI* | [**GetQueueStatusById**](docs/QueueStatusAPI.md#getqueuestatusbyid) | **Get** /api/v3/queue/status/{id} |
*ReleaseAPI* | [**CreateRelease**](docs/ReleaseAPI.md#createrelease) | **Post** /api/v3/release |
*ReleaseAPI* | [**GetReleaseById**](docs/ReleaseAPI.md#getreleasebyid) | **Get** /api/v3/release/{id} |
*ReleaseAPI* | [**ListRelease**](docs/ReleaseAPI.md#listrelease) | **Get** /api/v3/release |
*ReleaseProfileAPI* | [**CreateReleaseProfile**](docs/ReleaseProfileAPI.md#createreleaseprofile) | **Post** /api/v3/releaseprofile |
*ReleaseProfileAPI* | [**DeleteReleaseProfile**](docs/ReleaseProfileAPI.md#deletereleaseprofile) | **Delete** /api/v3/releaseprofile/{id} |
*ReleaseProfileAPI* | [**GetReleaseProfileById**](docs/ReleaseProfileAPI.md#getreleaseprofilebyid) | **Get** /api/v3/releaseprofile/{id} |
*ReleaseProfileAPI* | [**ListReleaseProfile**](docs/ReleaseProfileAPI.md#listreleaseprofile) | **Get** /api/v3/releaseprofile |
*ReleaseProfileAPI* | [**UpdateReleaseProfile**](docs/ReleaseProfileAPI.md#updatereleaseprofile) | **Put** /api/v3/releaseprofile/{id} |
*ReleasePushAPI* | [**CreateReleasePush**](docs/ReleasePushAPI.md#createreleasepush) | **Post** /api/v3/release/push |
*ReleasePushAPI* | [**GetReleasePushById**](docs/ReleasePushAPI.md#getreleasepushbyid) | **Get** /api/v3/release/push/{id} |
*RemotePathMappingAPI* | [**CreateRemotePathMapping**](docs/RemotePathMappingAPI.md#createremotepathmapping) | **Post** /api/v3/remotepathmapping |
*RemotePathMappingAPI* | [**DeleteRemotePathMapping**](docs/RemotePathMappingAPI.md#deleteremotepathmapping) | **Delete** /api/v3/remotepathmapping/{id} |
*RemotePathMappingAPI* | [**GetRemotePathMappingById**](docs/RemotePathMappingAPI.md#getremotepathmappingbyid) | **Get** /api/v3/remotepathmapping/{id} |
Expand Down Expand Up @@ -396,6 +390,7 @@ Class | Method | HTTP request | Description
- [MovieFileResource](docs/MovieFileResource.md)
- [MovieHistoryEventType](docs/MovieHistoryEventType.md)
- [MovieResource](docs/MovieResource.md)
- [MovieResourcePagingResource](docs/MovieResourcePagingResource.md)
- [MovieRuntimeFormatType](docs/MovieRuntimeFormatType.md)
- [MovieStatisticsResource](docs/MovieStatisticsResource.md)
- [MovieStatusType](docs/MovieStatusType.md)
Expand Down
8 changes: 6 additions & 2 deletions docs/BlocklistAPI.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ Name | Type | Description | Notes

## GetBlocklist

> BlocklistResourcePagingResource GetBlocklist(ctx).Page(page).PageSize(pageSize).SortKey(sortKey).SortDirection(sortDirection).Execute()
> BlocklistResourcePagingResource GetBlocklist(ctx).Page(page).PageSize(pageSize).SortKey(sortKey).SortDirection(sortDirection).MovieIds(movieIds).Protocols(protocols).Execute()


Expand All @@ -162,10 +162,12 @@ func main() {
pageSize := int32(56) // int32 | (optional) (default to 10)
sortKey := "sortKey_example" // string | (optional)
sortDirection := radarrClient.SortDirection("default") // SortDirection | (optional)
movieIds := []int32{int32(123)} // []int32 | (optional)
protocols := []radarrClient.DownloadProtocol{radarrClient.DownloadProtocol("unknown")} // []DownloadProtocol | (optional)

configuration := radarrClient.NewConfiguration()
apiClient := radarrClient.NewAPIClient(configuration)
resp, r, err := apiClient.BlocklistAPI.GetBlocklist(context.Background()).Page(page).PageSize(pageSize).SortKey(sortKey).SortDirection(sortDirection).Execute()
resp, r, err := apiClient.BlocklistAPI.GetBlocklist(context.Background()).Page(page).PageSize(pageSize).SortKey(sortKey).SortDirection(sortDirection).MovieIds(movieIds).Protocols(protocols).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `BlocklistAPI.GetBlocklist``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
Expand All @@ -190,6 +192,8 @@ Name | Type | Description | Notes
**pageSize** | **int32** | | [default to 10]
**sortKey** | **string** | |
**sortDirection** | [**SortDirection**](SortDirection.md) | |
**movieIds** | **[]int32** | |
**protocols** | [**[]DownloadProtocol**](DownloadProtocol.md) | |

### Return type

Expand Down
69 changes: 0 additions & 69 deletions docs/CalendarAPI.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,79 +4,10 @@ All URIs are relative to *http://localhost:7878*

Method | HTTP request | Description
------------- | ------------- | -------------
[**GetCalendarById**](CalendarAPI.md#GetCalendarById) | **Get** /api/v3/calendar/{id} |
[**ListCalendar**](CalendarAPI.md#ListCalendar) | **Get** /api/v3/calendar |



## GetCalendarById

> MovieResource GetCalendarById(ctx, id).Execute()


### Example

```go
package main

import (
"context"
"fmt"
"os"
radarrClient "github.com/devopsarr/radarr-go/radarr"
)

func main() {
id := int32(56) // int32 |

configuration := radarrClient.NewConfiguration()
apiClient := radarrClient.NewAPIClient(configuration)
resp, r, err := apiClient.CalendarAPI.GetCalendarById(context.Background(), id).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `CalendarAPI.GetCalendarById``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetCalendarById`: MovieResource
fmt.Fprintf(os.Stdout, "Response from `CalendarAPI.GetCalendarById`: %v\n", resp)
}
```

### Path Parameters


Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
**id** | **int32** | |

### Other Parameters

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


Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------


### Return type

[**MovieResource**](MovieResource.md)

### Authorization

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

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: text/plain, application/json, text/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)


## ListCalendar

> []MovieResource ListCalendar(ctx).Start(start).End(end).Unmonitored(unmonitored).Tags(tags).Execute()
Expand Down
6 changes: 3 additions & 3 deletions docs/CollectionAPI.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ Name | Type | Description | Notes
### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: text/plain, application/json, text/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)
Expand Down Expand Up @@ -197,7 +197,7 @@ Name | Type | Description | Notes

### HTTP request headers

- **Content-Type**: application/json, text/json, application/*+json
- **Content-Type**: application/json
- **Accept**: Not defined

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
Expand Down Expand Up @@ -267,7 +267,7 @@ Name | Type | Description | Notes

### HTTP request headers

- **Content-Type**: application/json, text/json, application/*+json
- **Content-Type**: application/json
- **Accept**: text/plain, application/json, text/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
Expand Down
52 changes: 52 additions & 0 deletions docs/CollectionMovieResource.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ Name | Type | Description | Notes
**Ratings** | Pointer to [**Ratings**](Ratings.md) | | [optional]
**Genres** | Pointer to **[]string** | | [optional]
**Folder** | Pointer to **NullableString** | | [optional]
**IsExisting** | Pointer to **bool** | | [optional]
**IsExcluded** | Pointer to **bool** | | [optional]

## Methods

Expand Down Expand Up @@ -442,6 +444,56 @@ HasFolder returns a boolean if a field has been set.
`func (o *CollectionMovieResource) UnsetFolder()`

UnsetFolder ensures that no value is present for Folder, not even an explicit nil
### GetIsExisting

`func (o *CollectionMovieResource) GetIsExisting() bool`

GetIsExisting returns the IsExisting field if non-nil, zero value otherwise.

### GetIsExistingOk

`func (o *CollectionMovieResource) GetIsExistingOk() (*bool, bool)`

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

### SetIsExisting

`func (o *CollectionMovieResource) SetIsExisting(v bool)`

SetIsExisting sets IsExisting field to given value.

### HasIsExisting

`func (o *CollectionMovieResource) HasIsExisting() bool`

HasIsExisting returns a boolean if a field has been set.

### GetIsExcluded

`func (o *CollectionMovieResource) GetIsExcluded() bool`

GetIsExcluded returns the IsExcluded field if non-nil, zero value otherwise.

### GetIsExcludedOk

`func (o *CollectionMovieResource) GetIsExcludedOk() (*bool, bool)`

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

### SetIsExcluded

`func (o *CollectionMovieResource) SetIsExcluded(v bool)`

SetIsExcluded sets IsExcluded field to given value.

### HasIsExcluded

`func (o *CollectionMovieResource) HasIsExcluded() bool`

HasIsExcluded returns a boolean if a field has been set.


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

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

### HTTP request headers

- **Content-Type**: application/json, text/json, application/*+json
- **Accept**: text/plain, application/json, text/json
- **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)
Expand Down
12 changes: 11 additions & 1 deletion docs/CommandResource.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Name | Type | Description | Notes
**Queued** | Pointer to **time.Time** | | [optional]
**Started** | Pointer to **NullableTime** | | [optional]
**Ended** | Pointer to **NullableTime** | | [optional]
**Duration** | Pointer to **string** | | [optional]
**Duration** | Pointer to **NullableString** | | [optional]
**Exception** | Pointer to **NullableString** | | [optional]
**Trigger** | Pointer to [**CommandTrigger**](CommandTrigger.md) | | [optional]
**ClientUserAgent** | Pointer to **NullableString** | | [optional]
Expand Down Expand Up @@ -393,6 +393,16 @@ SetDuration sets Duration field to given value.

HasDuration returns a boolean if a field has been set.

### SetDurationNil

`func (o *CommandResource) SetDurationNil(b bool)`

SetDurationNil sets the value for Duration to be an explicit nil

### UnsetDuration
`func (o *CommandResource) UnsetDuration()`

UnsetDuration ensures that no value is present for Duration, not even an explicit nil
### GetException

`func (o *CommandResource) GetException() string`
Expand Down
4 changes: 2 additions & 2 deletions docs/CustomFilterAPI.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ Name | Type | Description | Notes

### HTTP request headers

- **Content-Type**: application/json, text/json, application/*+json
- **Content-Type**: application/json
- **Accept**: text/plain, application/json, text/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
Expand Down Expand Up @@ -331,7 +331,7 @@ Name | Type | Description | Notes

### HTTP request headers

- **Content-Type**: application/json, text/json, application/*+json
- **Content-Type**: application/json
- **Accept**: text/plain, application/json, text/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
Expand Down
Loading

0 comments on commit 80daa5d

Please sign in to comment.