From 087c1d5c0742d94a18d7302faf22e8427d023dcf Mon Sep 17 00:00:00 2001 From: "devopsarr[bot]" <127950054+devopsarr[bot]@users.noreply.github.com> Date: Mon, 15 May 2023 06:32:22 +0000 Subject: [PATCH] feat: pin openapi version and add version management --- README.md | 454 +- sonarr/.openapi-generator/FILES | 138 +- sonarr/.openapi-generator/VERSION | 2 +- sonarr/api/openapi.yaml | 3657 ++++++++--------- sonarr/api_api_info.go | 12 +- sonarr/api_authentication.go | 20 +- sonarr/api_auto_tagging.go | 52 +- sonarr/api_backup.go | 36 +- sonarr/api_blocklist.go | 28 +- sonarr/api_calendar.go | 29 +- sonarr/api_calendar_feed.go | 22 +- sonarr/api_command.go | 36 +- sonarr/api_custom_filter.go | 44 +- sonarr/api_custom_format.go | 52 +- sonarr/api_cutoff.go | 20 +- sonarr/api_delay_profile.go | 52 +- sonarr/api_disk_space.go | 12 +- sonarr/api_download_client.go | 76 +- sonarr/api_download_client_config.go | 28 +- sonarr/api_episode.go | 45 +- sonarr/api_episode_file.go | 60 +- sonarr/api_file_system.go | 28 +- sonarr/api_health.go | 20 +- sonarr/api_history.go | 36 +- sonarr/api_host_config.go | 28 +- sonarr/api_import_list.go | 76 +- sonarr/api_import_list_exclusion.go | 44 +- sonarr/api_indexer.go | 76 +- sonarr/api_indexer_config.go | 28 +- sonarr/api_initialize_js_.go | 12 +- sonarr/api_language.go | 20 +- sonarr/api_language_profile.go | 44 +- sonarr/api_language_profile_schema.go | 20 +- sonarr/api_localization.go | 28 +- sonarr/api_log.go | 12 +- sonarr/api_log_file.go | 20 +- sonarr/api_manual_import.go | 20 +- sonarr/api_media_cover.go | 12 +- sonarr/api_media_management_config.go | 28 +- sonarr/api_metadata.go | 76 +- sonarr/api_missing.go | 20 +- sonarr/api_naming_config.go | 45 +- sonarr/api_notification.go | 76 +- sonarr/api_parse.go | 12 +- sonarr/api_ping.go | 12 +- sonarr/api_quality_definition.go | 36 +- sonarr/api_quality_profile.go | 44 +- sonarr/api_quality_profile_schema.go | 12 +- sonarr/api_queue.go | 36 +- sonarr/api_queue_action.go | 20 +- sonarr/api_queue_details.go | 20 +- sonarr/api_queue_status.go | 20 +- sonarr/api_release.go | 28 +- sonarr/api_release_profile.go | 44 +- sonarr/api_release_push.go | 20 +- sonarr/api_remote_path_mapping.go | 44 +- sonarr/api_rename_episode.go | 12 +- sonarr/api_root_folder.go | 36 +- sonarr/api_season_pass.go | 12 +- sonarr/api_series.go | 71 +- sonarr/api_series_editor.go | 20 +- sonarr/api_series_import.go | 12 +- sonarr/api_series_lookup.go | 12 +- sonarr/api_static_resource.go | 36 +- sonarr/api_system.go | 44 +- sonarr/api_tag.go | 44 +- sonarr/api_tag_details.go | 20 +- sonarr/api_task.go | 20 +- sonarr/api_ui_config.go | 28 +- sonarr/api_update.go | 12 +- sonarr/api_update_log_file.go | 20 +- sonarr/client.go | 268 +- sonarr/docs/{ApiInfoAPI.md => ApiInfoApi.md} | 8 +- ...henticationAPI.md => AuthenticationApi.md} | 14 +- .../{AutoTaggingAPI.md => AutoTaggingApi.md} | 46 +- sonarr/docs/{BackupAPI.md => BackupApi.md} | 28 +- .../docs/{BlocklistAPI.md => BlocklistApi.md} | 22 +- .../docs/{CalendarAPI.md => CalendarApi.md} | 22 +- ...{CalendarFeedAPI.md => CalendarFeedApi.md} | 14 +- sonarr/docs/{CommandAPI.md => CommandApi.md} | 32 +- sonarr/docs/CommandResource.md | 26 - sonarr/docs/CommandResult.md | 15 - ...{CustomFilterAPI.md => CustomFilterApi.md} | 40 +- ...{CustomFormatAPI.md => CustomFormatApi.md} | 46 +- sonarr/docs/{CutoffAPI.md => CutoffApi.md} | 18 +- ...{DelayProfileAPI.md => DelayProfileApi.md} | 48 +- .../docs/{DiskSpaceAPI.md => DiskSpaceApi.md} | 10 +- ...nloadClientAPI.md => DownloadClientApi.md} | 66 +- ...onfigAPI.md => DownloadClientConfigApi.md} | 26 +- sonarr/docs/{EpisodeAPI.md => EpisodeApi.md} | 36 +- .../{EpisodeFileAPI.md => EpisodeFileApi.md} | 50 +- sonarr/docs/EpisodeResource.md | 26 - sonarr/docs/Field.md | 36 - .../{FileSystemAPI.md => FileSystemApi.md} | 20 +- sonarr/docs/{HealthAPI.md => HealthApi.md} | 18 +- sonarr/docs/{HistoryAPI.md => HistoryApi.md} | 32 +- .../{HostConfigAPI.md => HostConfigApi.md} | 26 +- .../{ImportListAPI.md => ImportListApi.md} | 66 +- ...lusionAPI.md => ImportListExclusionApi.md} | 40 +- sonarr/docs/{IndexerAPI.md => IndexerApi.md} | 66 +- ...ndexerConfigAPI.md => IndexerConfigApi.md} | 26 +- ...{InitializeJsAPI.md => InitializeJsApi.md} | 8 +- .../docs/{LanguageAPI.md => LanguageApi.md} | 18 +- ...ageProfileAPI.md => LanguageProfileApi.md} | 40 +- ...hemaAPI.md => LanguageProfileSchemaApi.md} | 18 +- ...{LocalizationAPI.md => LocalizationApi.md} | 26 +- sonarr/docs/{LogAPI.md => LogApi.md} | 10 +- sonarr/docs/{LogFileAPI.md => LogFileApi.md} | 16 +- ...{ManualImportAPI.md => ManualImportApi.md} | 16 +- .../{MediaCoverAPI.md => MediaCoverApi.md} | 8 +- ...nfigAPI.md => MediaManagementConfigApi.md} | 26 +- .../docs/{MetadataAPI.md => MetadataApi.md} | 66 +- sonarr/docs/{MissingAPI.md => MissingApi.md} | 18 +- sonarr/docs/MonitorTypes.md | 4 - ...{NamingConfigAPI.md => NamingConfigApi.md} | 36 +- sonarr/docs/NamingConfigResource.md | 26 - ...{NotificationAPI.md => NotificationApi.md} | 66 +- sonarr/docs/NotificationResource.md | 156 - sonarr/docs/{ParseAPI.md => ParseApi.md} | 10 +- sonarr/docs/{PingAPI.md => PingApi.md} | 10 +- ...finitionAPI.md => QualityDefinitionApi.md} | 32 +- ...lityProfileAPI.md => QualityProfileApi.md} | 40 +- ...chemaAPI.md => QualityProfileSchemaApi.md} | 10 +- .../{QueueActionAPI.md => QueueActionApi.md} | 14 +- sonarr/docs/{QueueAPI.md => QueueApi.md} | 30 +- ...{QueueDetailsAPI.md => QueueDetailsApi.md} | 18 +- sonarr/docs/QueueResource.md | 62 - .../{QueueStatusAPI.md => QueueStatusApi.md} | 18 +- sonarr/docs/{ReleaseAPI.md => ReleaseApi.md} | 24 +- sonarr/docs/ReleaseEpisodeResource.md | 180 - ...easeProfileAPI.md => ReleaseProfileApi.md} | 40 +- .../{ReleasePushAPI.md => ReleasePushApi.md} | 18 +- sonarr/docs/ReleaseResource.md | 180 - ...hMappingAPI.md => RemotePathMappingApi.md} | 40 +- ...enameEpisodeAPI.md => RenameEpisodeApi.md} | 10 +- .../{RootFolderAPI.md => RootFolderApi.md} | 32 +- .../{SeasonPassAPI.md => SeasonPassApi.md} | 8 +- sonarr/docs/{SeriesAPI.md => SeriesApi.md} | 50 +- ...{SeriesEditorAPI.md => SeriesEditorApi.md} | 14 +- ...{SeriesImportAPI.md => SeriesImportApi.md} | 8 +- ...{SeriesLookupAPI.md => SeriesLookupApi.md} | 10 +- ...ticResourceAPI.md => StaticResourceApi.md} | 26 +- sonarr/docs/{SystemAPI.md => SystemApi.md} | 34 +- sonarr/docs/{TagAPI.md => TagApi.md} | 40 +- .../{TagDetailsAPI.md => TagDetailsApi.md} | 18 +- sonarr/docs/{TaskAPI.md => TaskApi.md} | 18 +- .../docs/{UiConfigAPI.md => UiConfigApi.md} | 26 +- sonarr/docs/{UpdateAPI.md => UpdateApi.md} | 10 +- ...pdateLogFileAPI.md => UpdateLogFileApi.md} | 16 +- sonarr/model_command_resource.go | 36 - sonarr/model_command_result.go | 113 - sonarr/model_episode_resource.go | 36 - sonarr/model_field.go | 46 - sonarr/model_monitor_types.go | 4 - sonarr/model_naming_config_resource.go | 36 - sonarr/model_notification_resource.go | 216 - sonarr/model_queue_resource.go | 82 - sonarr/model_release_episode_resource.go | 279 -- sonarr/model_release_resource.go | 212 - 159 files changed, 3992 insertions(+), 6254 deletions(-) rename sonarr/docs/{ApiInfoAPI.md => ApiInfoApi.md} (85%) rename sonarr/docs/{AuthenticationAPI.md => AuthenticationApi.md} (89%) rename sonarr/docs/{AutoTaggingAPI.md => AutoTaggingApi.md} (87%) rename sonarr/docs/{BackupAPI.md => BackupApi.md} (86%) rename sonarr/docs/{BlocklistAPI.md => BlocklistApi.md} (86%) rename sonarr/docs/{CalendarAPI.md => CalendarApi.md} (83%) rename sonarr/docs/{CalendarFeedAPI.md => CalendarFeedApi.md} (78%) rename sonarr/docs/{CommandAPI.md => CommandApi.md} (85%) delete mode 100644 sonarr/docs/CommandResult.md rename sonarr/docs/{CustomFilterAPI.md => CustomFilterApi.md} (87%) rename sonarr/docs/{CustomFormatAPI.md => CustomFormatApi.md} (87%) rename sonarr/docs/{CutoffAPI.md => CutoffApi.md} (87%) rename sonarr/docs/{DelayProfileAPI.md => DelayProfileApi.md} (87%) rename sonarr/docs/{DiskSpaceAPI.md => DiskSpaceApi.md} (82%) rename sonarr/docs/{DownloadClientAPI.md => DownloadClientApi.md} (88%) rename sonarr/docs/{DownloadClientConfigAPI.md => DownloadClientConfigApi.md} (88%) rename sonarr/docs/{EpisodeAPI.md => EpisodeApi.md} (83%) rename sonarr/docs/{EpisodeFileAPI.md => EpisodeFileApi.md} (89%) rename sonarr/docs/{FileSystemAPI.md => FileSystemApi.md} (85%) rename sonarr/docs/{HealthAPI.md => HealthApi.md} (83%) rename sonarr/docs/{HistoryAPI.md => HistoryApi.md} (88%) rename sonarr/docs/{HostConfigAPI.md => HostConfigApi.md} (83%) rename sonarr/docs/{ImportListAPI.md => ImportListApi.md} (84%) rename sonarr/docs/{ImportListExclusionAPI.md => ImportListExclusionApi.md} (86%) rename sonarr/docs/{IndexerAPI.md => IndexerApi.md} (85%) rename sonarr/docs/{IndexerConfigAPI.md => IndexerConfigApi.md} (87%) rename sonarr/docs/{InitializeJsAPI.md => InitializeJsApi.md} (87%) rename sonarr/docs/{LanguageAPI.md => LanguageApi.md} (84%) rename sonarr/docs/{LanguageProfileAPI.md => LanguageProfileApi.md} (87%) rename sonarr/docs/{LanguageProfileSchemaAPI.md => LanguageProfileSchemaApi.md} (87%) rename sonarr/docs/{LocalizationAPI.md => LocalizationApi.md} (85%) rename sonarr/docs/{LogAPI.md => LogApi.md} (82%) rename sonarr/docs/{LogFileAPI.md => LogFileApi.md} (85%) rename sonarr/docs/{ManualImportAPI.md => ManualImportApi.md} (90%) rename sonarr/docs/{MediaCoverAPI.md => MediaCoverApi.md} (87%) rename sonarr/docs/{MediaManagementConfigAPI.md => MediaManagementConfigApi.md} (88%) rename sonarr/docs/{MetadataAPI.md => MetadataApi.md} (86%) rename sonarr/docs/{MissingAPI.md => MissingApi.md} (86%) rename sonarr/docs/{NamingConfigAPI.md => NamingConfigApi.md} (78%) rename sonarr/docs/{NotificationAPI.md => NotificationApi.md} (88%) rename sonarr/docs/{ParseAPI.md => ParseApi.md} (84%) rename sonarr/docs/{PingAPI.md => PingApi.md} (82%) rename sonarr/docs/{QualityDefinitionAPI.md => QualityDefinitionApi.md} (88%) rename sonarr/docs/{QualityProfileAPI.md => QualityProfileApi.md} (87%) rename sonarr/docs/{QualityProfileSchemaAPI.md => QualityProfileSchemaApi.md} (86%) rename sonarr/docs/{QueueActionAPI.md => QueueActionApi.md} (89%) rename sonarr/docs/{QueueAPI.md => QueueApi.md} (88%) rename sonarr/docs/{QueueDetailsAPI.md => QueueDetailsApi.md} (88%) rename sonarr/docs/{QueueStatusAPI.md => QueueStatusApi.md} (86%) rename sonarr/docs/{ReleaseAPI.md => ReleaseApi.md} (86%) delete mode 100644 sonarr/docs/ReleaseEpisodeResource.md rename sonarr/docs/{ReleaseProfileAPI.md => ReleaseProfileApi.md} (87%) rename sonarr/docs/{ReleasePushAPI.md => ReleasePushApi.md} (87%) rename sonarr/docs/{RemotePathMappingAPI.md => RemotePathMappingApi.md} (87%) rename sonarr/docs/{RenameEpisodeAPI.md => RenameEpisodeApi.md} (87%) rename sonarr/docs/{RootFolderAPI.md => RootFolderApi.md} (83%) rename sonarr/docs/{SeasonPassAPI.md => SeasonPassApi.md} (85%) rename sonarr/docs/{SeriesAPI.md => SeriesApi.md} (78%) rename sonarr/docs/{SeriesEditorAPI.md => SeriesEditorApi.md} (89%) rename sonarr/docs/{SeriesImportAPI.md => SeriesImportApi.md} (89%) rename sonarr/docs/{SeriesLookupAPI.md => SeriesLookupApi.md} (86%) rename sonarr/docs/{StaticResourceAPI.md => StaticResourceApi.md} (89%) rename sonarr/docs/{SystemAPI.md => SystemApi.md} (84%) rename sonarr/docs/{TagAPI.md => TagApi.md} (85%) rename sonarr/docs/{TagDetailsAPI.md => TagDetailsApi.md} (82%) rename sonarr/docs/{TaskAPI.md => TaskApi.md} (84%) rename sonarr/docs/{UiConfigAPI.md => UiConfigApi.md} (85%) rename sonarr/docs/{UpdateAPI.md => UpdateApi.md} (82%) rename sonarr/docs/{UpdateLogFileAPI.md => UpdateLogFileApi.md} (87%) delete mode 100644 sonarr/model_command_result.go delete mode 100644 sonarr/model_release_episode_resource.go diff --git a/README.md b/README.md index a69a0eb..e4fddcf 100644 --- a/README.md +++ b/README.md @@ -82,232 +82,232 @@ All URIs are relative to *http://localhost:8989* Class | Method | HTTP request | Description ------------ | ------------- | ------------- | ------------- -*ApiInfoAPI* | [**GetApi**](sonarr/docs/ApiInfoAPI.md#getapi) | **Get** /api | -*AuthenticationAPI* | [**CreateLogin**](sonarr/docs/AuthenticationAPI.md#createlogin) | **Post** /login | -*AuthenticationAPI* | [**GetLogout**](sonarr/docs/AuthenticationAPI.md#getlogout) | **Get** /logout | -*AutoTaggingAPI* | [**CreateAutoTagging**](sonarr/docs/AutoTaggingAPI.md#createautotagging) | **Post** /api/v3/autotagging | -*AutoTaggingAPI* | [**DeleteAutoTagging**](sonarr/docs/AutoTaggingAPI.md#deleteautotagging) | **Delete** /api/v3/autotagging/{id} | -*AutoTaggingAPI* | [**GetAutoTaggingById**](sonarr/docs/AutoTaggingAPI.md#getautotaggingbyid) | **Get** /api/v3/autotagging/{id} | -*AutoTaggingAPI* | [**GetAutoTaggingSchema**](sonarr/docs/AutoTaggingAPI.md#getautotaggingschema) | **Get** /api/v3/autotagging/schema | -*AutoTaggingAPI* | [**ListAutoTagging**](sonarr/docs/AutoTaggingAPI.md#listautotagging) | **Get** /api/v3/autotagging | -*AutoTaggingAPI* | [**UpdateAutoTagging**](sonarr/docs/AutoTaggingAPI.md#updateautotagging) | **Put** /api/v3/autotagging/{id} | -*BackupAPI* | [**CreateSystemBackupRestoreById**](sonarr/docs/BackupAPI.md#createsystembackuprestorebyid) | **Post** /api/v3/system/backup/restore/{id} | -*BackupAPI* | [**CreateSystemBackupRestoreUpload**](sonarr/docs/BackupAPI.md#createsystembackuprestoreupload) | **Post** /api/v3/system/backup/restore/upload | -*BackupAPI* | [**DeleteSystemBackup**](sonarr/docs/BackupAPI.md#deletesystembackup) | **Delete** /api/v3/system/backup/{id} | -*BackupAPI* | [**ListSystemBackup**](sonarr/docs/BackupAPI.md#listsystembackup) | **Get** /api/v3/system/backup | -*BlocklistAPI* | [**DeleteBlocklist**](sonarr/docs/BlocklistAPI.md#deleteblocklist) | **Delete** /api/v3/blocklist/{id} | -*BlocklistAPI* | [**DeleteBlocklistBulk**](sonarr/docs/BlocklistAPI.md#deleteblocklistbulk) | **Delete** /api/v3/blocklist/bulk | -*BlocklistAPI* | [**GetBlocklist**](sonarr/docs/BlocklistAPI.md#getblocklist) | **Get** /api/v3/blocklist | -*CalendarAPI* | [**GetCalendarById**](sonarr/docs/CalendarAPI.md#getcalendarbyid) | **Get** /api/v3/calendar/{id} | -*CalendarAPI* | [**ListCalendar**](sonarr/docs/CalendarAPI.md#listcalendar) | **Get** /api/v3/calendar | -*CalendarFeedAPI* | [**GetFeedV3CalendarSonarrIcs**](sonarr/docs/CalendarFeedAPI.md#getfeedv3calendarsonarrics) | **Get** /feed/v3/calendar/sonarr.ics | -*CommandAPI* | [**CreateCommand**](sonarr/docs/CommandAPI.md#createcommand) | **Post** /api/v3/command | -*CommandAPI* | [**DeleteCommand**](sonarr/docs/CommandAPI.md#deletecommand) | **Delete** /api/v3/command/{id} | -*CommandAPI* | [**GetCommandById**](sonarr/docs/CommandAPI.md#getcommandbyid) | **Get** /api/v3/command/{id} | -*CommandAPI* | [**ListCommand**](sonarr/docs/CommandAPI.md#listcommand) | **Get** /api/v3/command | -*CustomFilterAPI* | [**CreateCustomFilter**](sonarr/docs/CustomFilterAPI.md#createcustomfilter) | **Post** /api/v3/customfilter | -*CustomFilterAPI* | [**DeleteCustomFilter**](sonarr/docs/CustomFilterAPI.md#deletecustomfilter) | **Delete** /api/v3/customfilter/{id} | -*CustomFilterAPI* | [**GetCustomFilterById**](sonarr/docs/CustomFilterAPI.md#getcustomfilterbyid) | **Get** /api/v3/customfilter/{id} | -*CustomFilterAPI* | [**ListCustomFilter**](sonarr/docs/CustomFilterAPI.md#listcustomfilter) | **Get** /api/v3/customfilter | -*CustomFilterAPI* | [**UpdateCustomFilter**](sonarr/docs/CustomFilterAPI.md#updatecustomfilter) | **Put** /api/v3/customfilter/{id} | -*CustomFormatAPI* | [**CreateCustomFormat**](sonarr/docs/CustomFormatAPI.md#createcustomformat) | **Post** /api/v3/customformat | -*CustomFormatAPI* | [**DeleteCustomFormat**](sonarr/docs/CustomFormatAPI.md#deletecustomformat) | **Delete** /api/v3/customformat/{id} | -*CustomFormatAPI* | [**GetCustomFormatById**](sonarr/docs/CustomFormatAPI.md#getcustomformatbyid) | **Get** /api/v3/customformat/{id} | -*CustomFormatAPI* | [**GetCustomFormatSchema**](sonarr/docs/CustomFormatAPI.md#getcustomformatschema) | **Get** /api/v3/customformat/schema | -*CustomFormatAPI* | [**ListCustomFormat**](sonarr/docs/CustomFormatAPI.md#listcustomformat) | **Get** /api/v3/customformat | -*CustomFormatAPI* | [**UpdateCustomFormat**](sonarr/docs/CustomFormatAPI.md#updatecustomformat) | **Put** /api/v3/customformat/{id} | -*CutoffAPI* | [**GetWantedCutoff**](sonarr/docs/CutoffAPI.md#getwantedcutoff) | **Get** /api/v3/wanted/cutoff | -*CutoffAPI* | [**GetWantedCutoffById**](sonarr/docs/CutoffAPI.md#getwantedcutoffbyid) | **Get** /api/v3/wanted/cutoff/{id} | -*DelayProfileAPI* | [**CreateDelayProfile**](sonarr/docs/DelayProfileAPI.md#createdelayprofile) | **Post** /api/v3/delayprofile | -*DelayProfileAPI* | [**DeleteDelayProfile**](sonarr/docs/DelayProfileAPI.md#deletedelayprofile) | **Delete** /api/v3/delayprofile/{id} | -*DelayProfileAPI* | [**GetDelayProfileById**](sonarr/docs/DelayProfileAPI.md#getdelayprofilebyid) | **Get** /api/v3/delayprofile/{id} | -*DelayProfileAPI* | [**ListDelayProfile**](sonarr/docs/DelayProfileAPI.md#listdelayprofile) | **Get** /api/v3/delayprofile | -*DelayProfileAPI* | [**UpdateDelayProfile**](sonarr/docs/DelayProfileAPI.md#updatedelayprofile) | **Put** /api/v3/delayprofile/{id} | -*DelayProfileAPI* | [**UpdateDelayProfileReorder**](sonarr/docs/DelayProfileAPI.md#updatedelayprofilereorder) | **Put** /api/v3/delayprofile/reorder/{id} | -*DiskSpaceAPI* | [**ListDiskSpace**](sonarr/docs/DiskSpaceAPI.md#listdiskspace) | **Get** /api/v3/diskspace | -*DownloadClientAPI* | [**CreateDownloadClient**](sonarr/docs/DownloadClientAPI.md#createdownloadclient) | **Post** /api/v3/downloadclient | -*DownloadClientAPI* | [**CreateDownloadClientActionByName**](sonarr/docs/DownloadClientAPI.md#createdownloadclientactionbyname) | **Post** /api/v3/downloadclient/action/{name} | -*DownloadClientAPI* | [**DeleteDownloadClient**](sonarr/docs/DownloadClientAPI.md#deletedownloadclient) | **Delete** /api/v3/downloadclient/{id} | -*DownloadClientAPI* | [**GetDownloadClientById**](sonarr/docs/DownloadClientAPI.md#getdownloadclientbyid) | **Get** /api/v3/downloadclient/{id} | -*DownloadClientAPI* | [**ListDownloadClient**](sonarr/docs/DownloadClientAPI.md#listdownloadclient) | **Get** /api/v3/downloadclient | -*DownloadClientAPI* | [**ListDownloadClientSchema**](sonarr/docs/DownloadClientAPI.md#listdownloadclientschema) | **Get** /api/v3/downloadclient/schema | -*DownloadClientAPI* | [**TestDownloadClient**](sonarr/docs/DownloadClientAPI.md#testdownloadclient) | **Post** /api/v3/downloadclient/test | -*DownloadClientAPI* | [**TestallDownloadClient**](sonarr/docs/DownloadClientAPI.md#testalldownloadclient) | **Post** /api/v3/downloadclient/testall | -*DownloadClientAPI* | [**UpdateDownloadClient**](sonarr/docs/DownloadClientAPI.md#updatedownloadclient) | **Put** /api/v3/downloadclient/{id} | -*DownloadClientConfigAPI* | [**GetDownloadClientConfig**](sonarr/docs/DownloadClientConfigAPI.md#getdownloadclientconfig) | **Get** /api/v3/config/downloadclient | -*DownloadClientConfigAPI* | [**GetDownloadClientConfigById**](sonarr/docs/DownloadClientConfigAPI.md#getdownloadclientconfigbyid) | **Get** /api/v3/config/downloadclient/{id} | -*DownloadClientConfigAPI* | [**UpdateDownloadClientConfig**](sonarr/docs/DownloadClientConfigAPI.md#updatedownloadclientconfig) | **Put** /api/v3/config/downloadclient/{id} | -*EpisodeAPI* | [**GetEpisodeById**](sonarr/docs/EpisodeAPI.md#getepisodebyid) | **Get** /api/v3/episode/{id} | -*EpisodeAPI* | [**ListEpisode**](sonarr/docs/EpisodeAPI.md#listepisode) | **Get** /api/v3/episode | -*EpisodeAPI* | [**PutEpisodeMonitor**](sonarr/docs/EpisodeAPI.md#putepisodemonitor) | **Put** /api/v3/episode/monitor | -*EpisodeAPI* | [**UpdateEpisode**](sonarr/docs/EpisodeAPI.md#updateepisode) | **Put** /api/v3/episode/{id} | -*EpisodeFileAPI* | [**DeleteEpisodeFile**](sonarr/docs/EpisodeFileAPI.md#deleteepisodefile) | **Delete** /api/v3/episodefile/{id} | -*EpisodeFileAPI* | [**DeleteEpisodeFileBulk**](sonarr/docs/EpisodeFileAPI.md#deleteepisodefilebulk) | **Delete** /api/v3/episodefile/bulk | -*EpisodeFileAPI* | [**GetEpisodeFileById**](sonarr/docs/EpisodeFileAPI.md#getepisodefilebyid) | **Get** /api/v3/episodefile/{id} | -*EpisodeFileAPI* | [**ListEpisodeFile**](sonarr/docs/EpisodeFileAPI.md#listepisodefile) | **Get** /api/v3/episodefile | -*EpisodeFileAPI* | [**PutEpisodeFileBulk**](sonarr/docs/EpisodeFileAPI.md#putepisodefilebulk) | **Put** /api/v3/episodefile/bulk | -*EpisodeFileAPI* | [**PutEpisodeFileEditor**](sonarr/docs/EpisodeFileAPI.md#putepisodefileeditor) | **Put** /api/v3/episodefile/editor | -*EpisodeFileAPI* | [**UpdateEpisodeFile**](sonarr/docs/EpisodeFileAPI.md#updateepisodefile) | **Put** /api/v3/episodefile/{id} | -*FileSystemAPI* | [**GetFileSystem**](sonarr/docs/FileSystemAPI.md#getfilesystem) | **Get** /api/v3/filesystem | -*FileSystemAPI* | [**GetFileSystemMediafiles**](sonarr/docs/FileSystemAPI.md#getfilesystemmediafiles) | **Get** /api/v3/filesystem/mediafiles | -*FileSystemAPI* | [**GetFileSystemType**](sonarr/docs/FileSystemAPI.md#getfilesystemtype) | **Get** /api/v3/filesystem/type | -*HealthAPI* | [**GetHealthById**](sonarr/docs/HealthAPI.md#gethealthbyid) | **Get** /api/v3/health/{id} | -*HealthAPI* | [**ListHealth**](sonarr/docs/HealthAPI.md#listhealth) | **Get** /api/v3/health | -*HistoryAPI* | [**CreateHistoryFailedById**](sonarr/docs/HistoryAPI.md#createhistoryfailedbyid) | **Post** /api/v3/history/failed/{id} | -*HistoryAPI* | [**GetHistory**](sonarr/docs/HistoryAPI.md#gethistory) | **Get** /api/v3/history | -*HistoryAPI* | [**ListHistorySeries**](sonarr/docs/HistoryAPI.md#listhistoryseries) | **Get** /api/v3/history/series | -*HistoryAPI* | [**ListHistorySince**](sonarr/docs/HistoryAPI.md#listhistorysince) | **Get** /api/v3/history/since | -*HostConfigAPI* | [**GetHostConfig**](sonarr/docs/HostConfigAPI.md#gethostconfig) | **Get** /api/v3/config/host | -*HostConfigAPI* | [**GetHostConfigById**](sonarr/docs/HostConfigAPI.md#gethostconfigbyid) | **Get** /api/v3/config/host/{id} | -*HostConfigAPI* | [**UpdateHostConfig**](sonarr/docs/HostConfigAPI.md#updatehostconfig) | **Put** /api/v3/config/host/{id} | -*ImportListAPI* | [**CreateImportList**](sonarr/docs/ImportListAPI.md#createimportlist) | **Post** /api/v3/importlist | -*ImportListAPI* | [**CreateImportListActionByName**](sonarr/docs/ImportListAPI.md#createimportlistactionbyname) | **Post** /api/v3/importlist/action/{name} | -*ImportListAPI* | [**DeleteImportList**](sonarr/docs/ImportListAPI.md#deleteimportlist) | **Delete** /api/v3/importlist/{id} | -*ImportListAPI* | [**GetImportListById**](sonarr/docs/ImportListAPI.md#getimportlistbyid) | **Get** /api/v3/importlist/{id} | -*ImportListAPI* | [**ListImportList**](sonarr/docs/ImportListAPI.md#listimportlist) | **Get** /api/v3/importlist | -*ImportListAPI* | [**ListImportListSchema**](sonarr/docs/ImportListAPI.md#listimportlistschema) | **Get** /api/v3/importlist/schema | -*ImportListAPI* | [**TestImportList**](sonarr/docs/ImportListAPI.md#testimportlist) | **Post** /api/v3/importlist/test | -*ImportListAPI* | [**TestallImportList**](sonarr/docs/ImportListAPI.md#testallimportlist) | **Post** /api/v3/importlist/testall | -*ImportListAPI* | [**UpdateImportList**](sonarr/docs/ImportListAPI.md#updateimportlist) | **Put** /api/v3/importlist/{id} | -*ImportListExclusionAPI* | [**CreateImportListExclusion**](sonarr/docs/ImportListExclusionAPI.md#createimportlistexclusion) | **Post** /api/v3/importlistexclusion | -*ImportListExclusionAPI* | [**DeleteImportListExclusion**](sonarr/docs/ImportListExclusionAPI.md#deleteimportlistexclusion) | **Delete** /api/v3/importlistexclusion/{id} | -*ImportListExclusionAPI* | [**GetImportListExclusionById**](sonarr/docs/ImportListExclusionAPI.md#getimportlistexclusionbyid) | **Get** /api/v3/importlistexclusion/{id} | -*ImportListExclusionAPI* | [**ListImportListExclusion**](sonarr/docs/ImportListExclusionAPI.md#listimportlistexclusion) | **Get** /api/v3/importlistexclusion | -*ImportListExclusionAPI* | [**UpdateImportListExclusion**](sonarr/docs/ImportListExclusionAPI.md#updateimportlistexclusion) | **Put** /api/v3/importlistexclusion/{id} | -*IndexerAPI* | [**CreateIndexer**](sonarr/docs/IndexerAPI.md#createindexer) | **Post** /api/v3/indexer | -*IndexerAPI* | [**CreateIndexerActionByName**](sonarr/docs/IndexerAPI.md#createindexeractionbyname) | **Post** /api/v3/indexer/action/{name} | -*IndexerAPI* | [**DeleteIndexer**](sonarr/docs/IndexerAPI.md#deleteindexer) | **Delete** /api/v3/indexer/{id} | -*IndexerAPI* | [**GetIndexerById**](sonarr/docs/IndexerAPI.md#getindexerbyid) | **Get** /api/v3/indexer/{id} | -*IndexerAPI* | [**ListIndexer**](sonarr/docs/IndexerAPI.md#listindexer) | **Get** /api/v3/indexer | -*IndexerAPI* | [**ListIndexerSchema**](sonarr/docs/IndexerAPI.md#listindexerschema) | **Get** /api/v3/indexer/schema | -*IndexerAPI* | [**TestIndexer**](sonarr/docs/IndexerAPI.md#testindexer) | **Post** /api/v3/indexer/test | -*IndexerAPI* | [**TestallIndexer**](sonarr/docs/IndexerAPI.md#testallindexer) | **Post** /api/v3/indexer/testall | -*IndexerAPI* | [**UpdateIndexer**](sonarr/docs/IndexerAPI.md#updateindexer) | **Put** /api/v3/indexer/{id} | -*IndexerConfigAPI* | [**GetIndexerConfig**](sonarr/docs/IndexerConfigAPI.md#getindexerconfig) | **Get** /api/v3/config/indexer | -*IndexerConfigAPI* | [**GetIndexerConfigById**](sonarr/docs/IndexerConfigAPI.md#getindexerconfigbyid) | **Get** /api/v3/config/indexer/{id} | -*IndexerConfigAPI* | [**UpdateIndexerConfig**](sonarr/docs/IndexerConfigAPI.md#updateindexerconfig) | **Put** /api/v3/config/indexer/{id} | -*InitializeJsAPI* | [**GetInitializeJs**](sonarr/docs/InitializeJsAPI.md#getinitializejs) | **Get** /initialize.js | -*LanguageAPI* | [**GetLanguageById**](sonarr/docs/LanguageAPI.md#getlanguagebyid) | **Get** /api/v3/language/{id} | -*LanguageAPI* | [**ListLanguage**](sonarr/docs/LanguageAPI.md#listlanguage) | **Get** /api/v3/language | -*LanguageProfileAPI* | [**CreateLanguageProfile**](sonarr/docs/LanguageProfileAPI.md#createlanguageprofile) | **Post** /api/v3/languageprofile | -*LanguageProfileAPI* | [**DeleteLanguageProfile**](sonarr/docs/LanguageProfileAPI.md#deletelanguageprofile) | **Delete** /api/v3/languageprofile/{id} | -*LanguageProfileAPI* | [**GetLanguageProfileById**](sonarr/docs/LanguageProfileAPI.md#getlanguageprofilebyid) | **Get** /api/v3/languageprofile/{id} | -*LanguageProfileAPI* | [**ListLanguageProfile**](sonarr/docs/LanguageProfileAPI.md#listlanguageprofile) | **Get** /api/v3/languageprofile | -*LanguageProfileAPI* | [**UpdateLanguageProfile**](sonarr/docs/LanguageProfileAPI.md#updatelanguageprofile) | **Put** /api/v3/languageprofile/{id} | -*LanguageProfileSchemaAPI* | [**GetLanguageprofileSchema**](sonarr/docs/LanguageProfileSchemaAPI.md#getlanguageprofileschema) | **Get** /api/v3/languageprofile/schema | -*LanguageProfileSchemaAPI* | [**GetLanguageprofileSchemaById**](sonarr/docs/LanguageProfileSchemaAPI.md#getlanguageprofileschemabyid) | **Get** /api/v3/languageprofile/schema/{id} | -*LocalizationAPI* | [**GetLocalization**](sonarr/docs/LocalizationAPI.md#getlocalization) | **Get** /api/v3/localization | -*LocalizationAPI* | [**GetLocalizationById**](sonarr/docs/LocalizationAPI.md#getlocalizationbyid) | **Get** /api/v3/localization/{id} | -*LocalizationAPI* | [**GetLocalizationLanguage**](sonarr/docs/LocalizationAPI.md#getlocalizationlanguage) | **Get** /api/v3/localization/language | -*LogAPI* | [**GetLog**](sonarr/docs/LogAPI.md#getlog) | **Get** /api/v3/log | -*LogFileAPI* | [**GetLogFileByFilename**](sonarr/docs/LogFileAPI.md#getlogfilebyfilename) | **Get** /api/v3/log/file/{filename} | -*LogFileAPI* | [**ListLogFile**](sonarr/docs/LogFileAPI.md#listlogfile) | **Get** /api/v3/log/file | -*ManualImportAPI* | [**CreateManualImport**](sonarr/docs/ManualImportAPI.md#createmanualimport) | **Post** /api/v3/manualimport | -*ManualImportAPI* | [**ListManualImport**](sonarr/docs/ManualImportAPI.md#listmanualimport) | **Get** /api/v3/manualimport | -*MediaCoverAPI* | [**GetMediaCoverseriesIdByFilename**](sonarr/docs/MediaCoverAPI.md#getmediacoverseriesidbyfilename) | **Get** /api/v3/mediacover/{seriesId}/{filename} | -*MediaManagementConfigAPI* | [**GetMediaManagementConfig**](sonarr/docs/MediaManagementConfigAPI.md#getmediamanagementconfig) | **Get** /api/v3/config/mediamanagement | -*MediaManagementConfigAPI* | [**GetMediaManagementConfigById**](sonarr/docs/MediaManagementConfigAPI.md#getmediamanagementconfigbyid) | **Get** /api/v3/config/mediamanagement/{id} | -*MediaManagementConfigAPI* | [**UpdateMediaManagementConfig**](sonarr/docs/MediaManagementConfigAPI.md#updatemediamanagementconfig) | **Put** /api/v3/config/mediamanagement/{id} | -*MetadataAPI* | [**CreateMetadata**](sonarr/docs/MetadataAPI.md#createmetadata) | **Post** /api/v3/metadata | -*MetadataAPI* | [**CreateMetadataActionByName**](sonarr/docs/MetadataAPI.md#createmetadataactionbyname) | **Post** /api/v3/metadata/action/{name} | -*MetadataAPI* | [**DeleteMetadata**](sonarr/docs/MetadataAPI.md#deletemetadata) | **Delete** /api/v3/metadata/{id} | -*MetadataAPI* | [**GetMetadataById**](sonarr/docs/MetadataAPI.md#getmetadatabyid) | **Get** /api/v3/metadata/{id} | -*MetadataAPI* | [**ListMetadata**](sonarr/docs/MetadataAPI.md#listmetadata) | **Get** /api/v3/metadata | -*MetadataAPI* | [**ListMetadataSchema**](sonarr/docs/MetadataAPI.md#listmetadataschema) | **Get** /api/v3/metadata/schema | -*MetadataAPI* | [**TestMetadata**](sonarr/docs/MetadataAPI.md#testmetadata) | **Post** /api/v3/metadata/test | -*MetadataAPI* | [**TestallMetadata**](sonarr/docs/MetadataAPI.md#testallmetadata) | **Post** /api/v3/metadata/testall | -*MetadataAPI* | [**UpdateMetadata**](sonarr/docs/MetadataAPI.md#updatemetadata) | **Put** /api/v3/metadata/{id} | -*MissingAPI* | [**GetWantedMissing**](sonarr/docs/MissingAPI.md#getwantedmissing) | **Get** /api/v3/wanted/missing | -*MissingAPI* | [**GetWantedMissingById**](sonarr/docs/MissingAPI.md#getwantedmissingbyid) | **Get** /api/v3/wanted/missing/{id} | -*NamingConfigAPI* | [**GetNamingConfig**](sonarr/docs/NamingConfigAPI.md#getnamingconfig) | **Get** /api/v3/config/naming | -*NamingConfigAPI* | [**GetNamingConfigById**](sonarr/docs/NamingConfigAPI.md#getnamingconfigbyid) | **Get** /api/v3/config/naming/{id} | -*NamingConfigAPI* | [**GetNamingConfigExamples**](sonarr/docs/NamingConfigAPI.md#getnamingconfigexamples) | **Get** /api/v3/config/naming/examples | -*NamingConfigAPI* | [**UpdateNamingConfig**](sonarr/docs/NamingConfigAPI.md#updatenamingconfig) | **Put** /api/v3/config/naming/{id} | -*NotificationAPI* | [**CreateNotification**](sonarr/docs/NotificationAPI.md#createnotification) | **Post** /api/v3/notification | -*NotificationAPI* | [**CreateNotificationActionByName**](sonarr/docs/NotificationAPI.md#createnotificationactionbyname) | **Post** /api/v3/notification/action/{name} | -*NotificationAPI* | [**DeleteNotification**](sonarr/docs/NotificationAPI.md#deletenotification) | **Delete** /api/v3/notification/{id} | -*NotificationAPI* | [**GetNotificationById**](sonarr/docs/NotificationAPI.md#getnotificationbyid) | **Get** /api/v3/notification/{id} | -*NotificationAPI* | [**ListNotification**](sonarr/docs/NotificationAPI.md#listnotification) | **Get** /api/v3/notification | -*NotificationAPI* | [**ListNotificationSchema**](sonarr/docs/NotificationAPI.md#listnotificationschema) | **Get** /api/v3/notification/schema | -*NotificationAPI* | [**TestNotification**](sonarr/docs/NotificationAPI.md#testnotification) | **Post** /api/v3/notification/test | -*NotificationAPI* | [**TestallNotification**](sonarr/docs/NotificationAPI.md#testallnotification) | **Post** /api/v3/notification/testall | -*NotificationAPI* | [**UpdateNotification**](sonarr/docs/NotificationAPI.md#updatenotification) | **Put** /api/v3/notification/{id} | -*ParseAPI* | [**GetParse**](sonarr/docs/ParseAPI.md#getparse) | **Get** /api/v3/parse | -*PingAPI* | [**GetPing**](sonarr/docs/PingAPI.md#getping) | **Get** /ping | -*QualityDefinitionAPI* | [**GetQualityDefinitionById**](sonarr/docs/QualityDefinitionAPI.md#getqualitydefinitionbyid) | **Get** /api/v3/qualitydefinition/{id} | -*QualityDefinitionAPI* | [**ListQualityDefinition**](sonarr/docs/QualityDefinitionAPI.md#listqualitydefinition) | **Get** /api/v3/qualitydefinition | -*QualityDefinitionAPI* | [**PutQualityDefinitionUpdate**](sonarr/docs/QualityDefinitionAPI.md#putqualitydefinitionupdate) | **Put** /api/v3/qualitydefinition/update | -*QualityDefinitionAPI* | [**UpdateQualityDefinition**](sonarr/docs/QualityDefinitionAPI.md#updatequalitydefinition) | **Put** /api/v3/qualitydefinition/{id} | -*QualityProfileAPI* | [**CreateQualityProfile**](sonarr/docs/QualityProfileAPI.md#createqualityprofile) | **Post** /api/v3/qualityprofile | -*QualityProfileAPI* | [**DeleteQualityProfile**](sonarr/docs/QualityProfileAPI.md#deletequalityprofile) | **Delete** /api/v3/qualityprofile/{id} | -*QualityProfileAPI* | [**GetQualityProfileById**](sonarr/docs/QualityProfileAPI.md#getqualityprofilebyid) | **Get** /api/v3/qualityprofile/{id} | -*QualityProfileAPI* | [**ListQualityProfile**](sonarr/docs/QualityProfileAPI.md#listqualityprofile) | **Get** /api/v3/qualityprofile | -*QualityProfileAPI* | [**UpdateQualityProfile**](sonarr/docs/QualityProfileAPI.md#updatequalityprofile) | **Put** /api/v3/qualityprofile/{id} | -*QualityProfileSchemaAPI* | [**GetQualityprofileSchema**](sonarr/docs/QualityProfileSchemaAPI.md#getqualityprofileschema) | **Get** /api/v3/qualityprofile/schema | -*QueueAPI* | [**DeleteQueue**](sonarr/docs/QueueAPI.md#deletequeue) | **Delete** /api/v3/queue/{id} | -*QueueAPI* | [**DeleteQueueBulk**](sonarr/docs/QueueAPI.md#deletequeuebulk) | **Delete** /api/v3/queue/bulk | -*QueueAPI* | [**GetQueue**](sonarr/docs/QueueAPI.md#getqueue) | **Get** /api/v3/queue | -*QueueAPI* | [**GetQueueById**](sonarr/docs/QueueAPI.md#getqueuebyid) | **Get** /api/v3/queue/{id} | -*QueueActionAPI* | [**CreateQueueGrabBulk**](sonarr/docs/QueueActionAPI.md#createqueuegrabbulk) | **Post** /api/v3/queue/grab/bulk | -*QueueActionAPI* | [**CreateQueueGrabById**](sonarr/docs/QueueActionAPI.md#createqueuegrabbyid) | **Post** /api/v3/queue/grab/{id} | -*QueueDetailsAPI* | [**GetQueueDetailsById**](sonarr/docs/QueueDetailsAPI.md#getqueuedetailsbyid) | **Get** /api/v3/queue/details/{id} | -*QueueDetailsAPI* | [**ListQueueDetails**](sonarr/docs/QueueDetailsAPI.md#listqueuedetails) | **Get** /api/v3/queue/details | -*QueueStatusAPI* | [**GetQueueStatus**](sonarr/docs/QueueStatusAPI.md#getqueuestatus) | **Get** /api/v3/queue/status | -*QueueStatusAPI* | [**GetQueueStatusById**](sonarr/docs/QueueStatusAPI.md#getqueuestatusbyid) | **Get** /api/v3/queue/status/{id} | -*ReleaseAPI* | [**CreateRelease**](sonarr/docs/ReleaseAPI.md#createrelease) | **Post** /api/v3/release | -*ReleaseAPI* | [**GetReleaseById**](sonarr/docs/ReleaseAPI.md#getreleasebyid) | **Get** /api/v3/release/{id} | -*ReleaseAPI* | [**ListRelease**](sonarr/docs/ReleaseAPI.md#listrelease) | **Get** /api/v3/release | -*ReleaseProfileAPI* | [**CreateReleaseProfile**](sonarr/docs/ReleaseProfileAPI.md#createreleaseprofile) | **Post** /api/v3/releaseprofile | -*ReleaseProfileAPI* | [**DeleteReleaseProfile**](sonarr/docs/ReleaseProfileAPI.md#deletereleaseprofile) | **Delete** /api/v3/releaseprofile/{id} | -*ReleaseProfileAPI* | [**GetReleaseProfileById**](sonarr/docs/ReleaseProfileAPI.md#getreleaseprofilebyid) | **Get** /api/v3/releaseprofile/{id} | -*ReleaseProfileAPI* | [**ListReleaseProfile**](sonarr/docs/ReleaseProfileAPI.md#listreleaseprofile) | **Get** /api/v3/releaseprofile | -*ReleaseProfileAPI* | [**UpdateReleaseProfile**](sonarr/docs/ReleaseProfileAPI.md#updatereleaseprofile) | **Put** /api/v3/releaseprofile/{id} | -*ReleasePushAPI* | [**CreateReleasePush**](sonarr/docs/ReleasePushAPI.md#createreleasepush) | **Post** /api/v3/release/push | -*ReleasePushAPI* | [**GetReleasePushById**](sonarr/docs/ReleasePushAPI.md#getreleasepushbyid) | **Get** /api/v3/release/push/{id} | -*RemotePathMappingAPI* | [**CreateRemotePathMapping**](sonarr/docs/RemotePathMappingAPI.md#createremotepathmapping) | **Post** /api/v3/remotepathmapping | -*RemotePathMappingAPI* | [**DeleteRemotePathMapping**](sonarr/docs/RemotePathMappingAPI.md#deleteremotepathmapping) | **Delete** /api/v3/remotepathmapping/{id} | -*RemotePathMappingAPI* | [**GetRemotePathMappingById**](sonarr/docs/RemotePathMappingAPI.md#getremotepathmappingbyid) | **Get** /api/v3/remotepathmapping/{id} | -*RemotePathMappingAPI* | [**ListRemotePathMapping**](sonarr/docs/RemotePathMappingAPI.md#listremotepathmapping) | **Get** /api/v3/remotepathmapping | -*RemotePathMappingAPI* | [**UpdateRemotePathMapping**](sonarr/docs/RemotePathMappingAPI.md#updateremotepathmapping) | **Put** /api/v3/remotepathmapping/{id} | -*RenameEpisodeAPI* | [**ListRename**](sonarr/docs/RenameEpisodeAPI.md#listrename) | **Get** /api/v3/rename | -*RootFolderAPI* | [**CreateRootFolder**](sonarr/docs/RootFolderAPI.md#createrootfolder) | **Post** /api/v3/rootfolder | -*RootFolderAPI* | [**DeleteRootFolder**](sonarr/docs/RootFolderAPI.md#deleterootfolder) | **Delete** /api/v3/rootfolder/{id} | -*RootFolderAPI* | [**GetRootFolderById**](sonarr/docs/RootFolderAPI.md#getrootfolderbyid) | **Get** /api/v3/rootfolder/{id} | -*RootFolderAPI* | [**ListRootFolder**](sonarr/docs/RootFolderAPI.md#listrootfolder) | **Get** /api/v3/rootfolder | -*SeasonPassAPI* | [**CreateSeasonPass**](sonarr/docs/SeasonPassAPI.md#createseasonpass) | **Post** /api/v3/seasonpass | -*SeriesAPI* | [**CreateSeries**](sonarr/docs/SeriesAPI.md#createseries) | **Post** /api/v3/series | -*SeriesAPI* | [**DeleteSeries**](sonarr/docs/SeriesAPI.md#deleteseries) | **Delete** /api/v3/series/{id} | -*SeriesAPI* | [**GetSeriesById**](sonarr/docs/SeriesAPI.md#getseriesbyid) | **Get** /api/v3/series/{id} | -*SeriesAPI* | [**ListSeries**](sonarr/docs/SeriesAPI.md#listseries) | **Get** /api/v3/series | -*SeriesAPI* | [**UpdateSeries**](sonarr/docs/SeriesAPI.md#updateseries) | **Put** /api/v3/series/{id} | -*SeriesEditorAPI* | [**DeleteSeriesEditor**](sonarr/docs/SeriesEditorAPI.md#deleteserieseditor) | **Delete** /api/v3/series/editor | -*SeriesEditorAPI* | [**PutSeriesEditor**](sonarr/docs/SeriesEditorAPI.md#putserieseditor) | **Put** /api/v3/series/editor | -*SeriesImportAPI* | [**CreateSeriesImport**](sonarr/docs/SeriesImportAPI.md#createseriesimport) | **Post** /api/v3/series/import | -*SeriesLookupAPI* | [**ListSeriesLookup**](sonarr/docs/SeriesLookupAPI.md#listserieslookup) | **Get** /api/v3/series/lookup | -*StaticResourceAPI* | [**Get**](sonarr/docs/StaticResourceAPI.md#get) | **Get** / | -*StaticResourceAPI* | [**GetByPath**](sonarr/docs/StaticResourceAPI.md#getbypath) | **Get** /{path} | -*StaticResourceAPI* | [**GetContentByPath**](sonarr/docs/StaticResourceAPI.md#getcontentbypath) | **Get** /content/{path} | -*StaticResourceAPI* | [**GetLogin**](sonarr/docs/StaticResourceAPI.md#getlogin) | **Get** /login | -*SystemAPI* | [**CreateSystemRestart**](sonarr/docs/SystemAPI.md#createsystemrestart) | **Post** /api/v3/system/restart | -*SystemAPI* | [**CreateSystemShutdown**](sonarr/docs/SystemAPI.md#createsystemshutdown) | **Post** /api/v3/system/shutdown | -*SystemAPI* | [**GetSystemRoutes**](sonarr/docs/SystemAPI.md#getsystemroutes) | **Get** /api/v3/system/routes | -*SystemAPI* | [**GetSystemRoutesDuplicate**](sonarr/docs/SystemAPI.md#getsystemroutesduplicate) | **Get** /api/v3/system/routes/duplicate | -*SystemAPI* | [**GetSystemStatus**](sonarr/docs/SystemAPI.md#getsystemstatus) | **Get** /api/v3/system/status | -*TagAPI* | [**CreateTag**](sonarr/docs/TagAPI.md#createtag) | **Post** /api/v3/tag | -*TagAPI* | [**DeleteTag**](sonarr/docs/TagAPI.md#deletetag) | **Delete** /api/v3/tag/{id} | -*TagAPI* | [**GetTagById**](sonarr/docs/TagAPI.md#gettagbyid) | **Get** /api/v3/tag/{id} | -*TagAPI* | [**ListTag**](sonarr/docs/TagAPI.md#listtag) | **Get** /api/v3/tag | -*TagAPI* | [**UpdateTag**](sonarr/docs/TagAPI.md#updatetag) | **Put** /api/v3/tag/{id} | -*TagDetailsAPI* | [**GetTagDetailById**](sonarr/docs/TagDetailsAPI.md#gettagdetailbyid) | **Get** /api/v3/tag/detail/{id} | -*TagDetailsAPI* | [**ListTagDetail**](sonarr/docs/TagDetailsAPI.md#listtagdetail) | **Get** /api/v3/tag/detail | -*TaskAPI* | [**GetSystemTaskById**](sonarr/docs/TaskAPI.md#getsystemtaskbyid) | **Get** /api/v3/system/task/{id} | -*TaskAPI* | [**ListSystemTask**](sonarr/docs/TaskAPI.md#listsystemtask) | **Get** /api/v3/system/task | -*UiConfigAPI* | [**GetUiConfig**](sonarr/docs/UiConfigAPI.md#getuiconfig) | **Get** /api/v3/config/ui | -*UiConfigAPI* | [**GetUiConfigById**](sonarr/docs/UiConfigAPI.md#getuiconfigbyid) | **Get** /api/v3/config/ui/{id} | -*UiConfigAPI* | [**UpdateUiConfig**](sonarr/docs/UiConfigAPI.md#updateuiconfig) | **Put** /api/v3/config/ui/{id} | -*UpdateAPI* | [**ListUpdate**](sonarr/docs/UpdateAPI.md#listupdate) | **Get** /api/v3/update | -*UpdateLogFileAPI* | [**GetLogFileUpdateByFilename**](sonarr/docs/UpdateLogFileAPI.md#getlogfileupdatebyfilename) | **Get** /api/v3/log/file/update/{filename} | -*UpdateLogFileAPI* | [**ListLogFileUpdate**](sonarr/docs/UpdateLogFileAPI.md#listlogfileupdate) | **Get** /api/v3/log/file/update | +*ApiInfoApi* | [**GetApi**](sonarr/docs/ApiInfoApi.md#getapi) | **Get** /api | +*AuthenticationApi* | [**CreateLogin**](sonarr/docs/AuthenticationApi.md#createlogin) | **Post** /login | +*AuthenticationApi* | [**GetLogout**](sonarr/docs/AuthenticationApi.md#getlogout) | **Get** /logout | +*AutoTaggingApi* | [**CreateAutoTagging**](sonarr/docs/AutoTaggingApi.md#createautotagging) | **Post** /api/v3/autotagging | +*AutoTaggingApi* | [**DeleteAutoTagging**](sonarr/docs/AutoTaggingApi.md#deleteautotagging) | **Delete** /api/v3/autotagging/{id} | +*AutoTaggingApi* | [**GetAutoTaggingById**](sonarr/docs/AutoTaggingApi.md#getautotaggingbyid) | **Get** /api/v3/autotagging/{id} | +*AutoTaggingApi* | [**GetAutoTaggingSchema**](sonarr/docs/AutoTaggingApi.md#getautotaggingschema) | **Get** /api/v3/autotagging/schema | +*AutoTaggingApi* | [**ListAutoTagging**](sonarr/docs/AutoTaggingApi.md#listautotagging) | **Get** /api/v3/autotagging | +*AutoTaggingApi* | [**UpdateAutoTagging**](sonarr/docs/AutoTaggingApi.md#updateautotagging) | **Put** /api/v3/autotagging/{id} | +*BackupApi* | [**CreateSystemBackupRestoreById**](sonarr/docs/BackupApi.md#createsystembackuprestorebyid) | **Post** /api/v3/system/backup/restore/{id} | +*BackupApi* | [**CreateSystemBackupRestoreUpload**](sonarr/docs/BackupApi.md#createsystembackuprestoreupload) | **Post** /api/v3/system/backup/restore/upload | +*BackupApi* | [**DeleteSystemBackup**](sonarr/docs/BackupApi.md#deletesystembackup) | **Delete** /api/v3/system/backup/{id} | +*BackupApi* | [**ListSystemBackup**](sonarr/docs/BackupApi.md#listsystembackup) | **Get** /api/v3/system/backup | +*BlocklistApi* | [**DeleteBlocklist**](sonarr/docs/BlocklistApi.md#deleteblocklist) | **Delete** /api/v3/blocklist/{id} | +*BlocklistApi* | [**DeleteBlocklistBulk**](sonarr/docs/BlocklistApi.md#deleteblocklistbulk) | **Delete** /api/v3/blocklist/bulk | +*BlocklistApi* | [**GetBlocklist**](sonarr/docs/BlocklistApi.md#getblocklist) | **Get** /api/v3/blocklist | +*CalendarApi* | [**GetCalendarById**](sonarr/docs/CalendarApi.md#getcalendarbyid) | **Get** /api/v3/calendar/{id} | +*CalendarApi* | [**ListCalendar**](sonarr/docs/CalendarApi.md#listcalendar) | **Get** /api/v3/calendar | +*CalendarFeedApi* | [**GetFeedV3CalendarSonarrIcs**](sonarr/docs/CalendarFeedApi.md#getfeedv3calendarsonarrics) | **Get** /feed/v3/calendar/sonarr.ics | +*CommandApi* | [**CreateCommand**](sonarr/docs/CommandApi.md#createcommand) | **Post** /api/v3/command | +*CommandApi* | [**DeleteCommand**](sonarr/docs/CommandApi.md#deletecommand) | **Delete** /api/v3/command/{id} | +*CommandApi* | [**GetCommandById**](sonarr/docs/CommandApi.md#getcommandbyid) | **Get** /api/v3/command/{id} | +*CommandApi* | [**ListCommand**](sonarr/docs/CommandApi.md#listcommand) | **Get** /api/v3/command | +*CustomFilterApi* | [**CreateCustomFilter**](sonarr/docs/CustomFilterApi.md#createcustomfilter) | **Post** /api/v3/customfilter | +*CustomFilterApi* | [**DeleteCustomFilter**](sonarr/docs/CustomFilterApi.md#deletecustomfilter) | **Delete** /api/v3/customfilter/{id} | +*CustomFilterApi* | [**GetCustomFilterById**](sonarr/docs/CustomFilterApi.md#getcustomfilterbyid) | **Get** /api/v3/customfilter/{id} | +*CustomFilterApi* | [**ListCustomFilter**](sonarr/docs/CustomFilterApi.md#listcustomfilter) | **Get** /api/v3/customfilter | +*CustomFilterApi* | [**UpdateCustomFilter**](sonarr/docs/CustomFilterApi.md#updatecustomfilter) | **Put** /api/v3/customfilter/{id} | +*CustomFormatApi* | [**CreateCustomFormat**](sonarr/docs/CustomFormatApi.md#createcustomformat) | **Post** /api/v3/customformat | +*CustomFormatApi* | [**DeleteCustomFormat**](sonarr/docs/CustomFormatApi.md#deletecustomformat) | **Delete** /api/v3/customformat/{id} | +*CustomFormatApi* | [**GetCustomFormatById**](sonarr/docs/CustomFormatApi.md#getcustomformatbyid) | **Get** /api/v3/customformat/{id} | +*CustomFormatApi* | [**GetCustomFormatSchema**](sonarr/docs/CustomFormatApi.md#getcustomformatschema) | **Get** /api/v3/customformat/schema | +*CustomFormatApi* | [**ListCustomFormat**](sonarr/docs/CustomFormatApi.md#listcustomformat) | **Get** /api/v3/customformat | +*CustomFormatApi* | [**UpdateCustomFormat**](sonarr/docs/CustomFormatApi.md#updatecustomformat) | **Put** /api/v3/customformat/{id} | +*CutoffApi* | [**GetWantedCutoff**](sonarr/docs/CutoffApi.md#getwantedcutoff) | **Get** /api/v3/wanted/cutoff | +*CutoffApi* | [**GetWantedCutoffById**](sonarr/docs/CutoffApi.md#getwantedcutoffbyid) | **Get** /api/v3/wanted/cutoff/{id} | +*DelayProfileApi* | [**CreateDelayProfile**](sonarr/docs/DelayProfileApi.md#createdelayprofile) | **Post** /api/v3/delayprofile | +*DelayProfileApi* | [**DeleteDelayProfile**](sonarr/docs/DelayProfileApi.md#deletedelayprofile) | **Delete** /api/v3/delayprofile/{id} | +*DelayProfileApi* | [**GetDelayProfileById**](sonarr/docs/DelayProfileApi.md#getdelayprofilebyid) | **Get** /api/v3/delayprofile/{id} | +*DelayProfileApi* | [**ListDelayProfile**](sonarr/docs/DelayProfileApi.md#listdelayprofile) | **Get** /api/v3/delayprofile | +*DelayProfileApi* | [**UpdateDelayProfile**](sonarr/docs/DelayProfileApi.md#updatedelayprofile) | **Put** /api/v3/delayprofile/{id} | +*DelayProfileApi* | [**UpdateDelayProfileReorder**](sonarr/docs/DelayProfileApi.md#updatedelayprofilereorder) | **Put** /api/v3/delayprofile/reorder/{id} | +*DiskSpaceApi* | [**ListDiskSpace**](sonarr/docs/DiskSpaceApi.md#listdiskspace) | **Get** /api/v3/diskspace | +*DownloadClientApi* | [**CreateDownloadClient**](sonarr/docs/DownloadClientApi.md#createdownloadclient) | **Post** /api/v3/downloadclient | +*DownloadClientApi* | [**CreateDownloadClientActionByName**](sonarr/docs/DownloadClientApi.md#createdownloadclientactionbyname) | **Post** /api/v3/downloadclient/action/{name} | +*DownloadClientApi* | [**DeleteDownloadClient**](sonarr/docs/DownloadClientApi.md#deletedownloadclient) | **Delete** /api/v3/downloadclient/{id} | +*DownloadClientApi* | [**GetDownloadClientById**](sonarr/docs/DownloadClientApi.md#getdownloadclientbyid) | **Get** /api/v3/downloadclient/{id} | +*DownloadClientApi* | [**ListDownloadClient**](sonarr/docs/DownloadClientApi.md#listdownloadclient) | **Get** /api/v3/downloadclient | +*DownloadClientApi* | [**ListDownloadClientSchema**](sonarr/docs/DownloadClientApi.md#listdownloadclientschema) | **Get** /api/v3/downloadclient/schema | +*DownloadClientApi* | [**TestDownloadClient**](sonarr/docs/DownloadClientApi.md#testdownloadclient) | **Post** /api/v3/downloadclient/test | +*DownloadClientApi* | [**TestallDownloadClient**](sonarr/docs/DownloadClientApi.md#testalldownloadclient) | **Post** /api/v3/downloadclient/testall | +*DownloadClientApi* | [**UpdateDownloadClient**](sonarr/docs/DownloadClientApi.md#updatedownloadclient) | **Put** /api/v3/downloadclient/{id} | +*DownloadClientConfigApi* | [**GetDownloadClientConfig**](sonarr/docs/DownloadClientConfigApi.md#getdownloadclientconfig) | **Get** /api/v3/config/downloadclient | +*DownloadClientConfigApi* | [**GetDownloadClientConfigById**](sonarr/docs/DownloadClientConfigApi.md#getdownloadclientconfigbyid) | **Get** /api/v3/config/downloadclient/{id} | +*DownloadClientConfigApi* | [**UpdateDownloadClientConfig**](sonarr/docs/DownloadClientConfigApi.md#updatedownloadclientconfig) | **Put** /api/v3/config/downloadclient/{id} | +*EpisodeApi* | [**GetEpisodeById**](sonarr/docs/EpisodeApi.md#getepisodebyid) | **Get** /api/v3/episode/{id} | +*EpisodeApi* | [**ListEpisode**](sonarr/docs/EpisodeApi.md#listepisode) | **Get** /api/v3/episode | +*EpisodeApi* | [**PutEpisodeMonitor**](sonarr/docs/EpisodeApi.md#putepisodemonitor) | **Put** /api/v3/episode/monitor | +*EpisodeApi* | [**UpdateEpisode**](sonarr/docs/EpisodeApi.md#updateepisode) | **Put** /api/v3/episode/{id} | +*EpisodeFileApi* | [**DeleteEpisodeFile**](sonarr/docs/EpisodeFileApi.md#deleteepisodefile) | **Delete** /api/v3/episodefile/{id} | +*EpisodeFileApi* | [**DeleteEpisodeFileBulk**](sonarr/docs/EpisodeFileApi.md#deleteepisodefilebulk) | **Delete** /api/v3/episodefile/bulk | +*EpisodeFileApi* | [**GetEpisodeFileById**](sonarr/docs/EpisodeFileApi.md#getepisodefilebyid) | **Get** /api/v3/episodefile/{id} | +*EpisodeFileApi* | [**ListEpisodeFile**](sonarr/docs/EpisodeFileApi.md#listepisodefile) | **Get** /api/v3/episodefile | +*EpisodeFileApi* | [**PutEpisodeFileBulk**](sonarr/docs/EpisodeFileApi.md#putepisodefilebulk) | **Put** /api/v3/episodefile/bulk | +*EpisodeFileApi* | [**PutEpisodeFileEditor**](sonarr/docs/EpisodeFileApi.md#putepisodefileeditor) | **Put** /api/v3/episodefile/editor | +*EpisodeFileApi* | [**UpdateEpisodeFile**](sonarr/docs/EpisodeFileApi.md#updateepisodefile) | **Put** /api/v3/episodefile/{id} | +*FileSystemApi* | [**GetFileSystem**](sonarr/docs/FileSystemApi.md#getfilesystem) | **Get** /api/v3/filesystem | +*FileSystemApi* | [**GetFileSystemMediafiles**](sonarr/docs/FileSystemApi.md#getfilesystemmediafiles) | **Get** /api/v3/filesystem/mediafiles | +*FileSystemApi* | [**GetFileSystemType**](sonarr/docs/FileSystemApi.md#getfilesystemtype) | **Get** /api/v3/filesystem/type | +*HealthApi* | [**GetHealthById**](sonarr/docs/HealthApi.md#gethealthbyid) | **Get** /api/v3/health/{id} | +*HealthApi* | [**ListHealth**](sonarr/docs/HealthApi.md#listhealth) | **Get** /api/v3/health | +*HistoryApi* | [**CreateHistoryFailedById**](sonarr/docs/HistoryApi.md#createhistoryfailedbyid) | **Post** /api/v3/history/failed/{id} | +*HistoryApi* | [**GetHistory**](sonarr/docs/HistoryApi.md#gethistory) | **Get** /api/v3/history | +*HistoryApi* | [**ListHistorySeries**](sonarr/docs/HistoryApi.md#listhistoryseries) | **Get** /api/v3/history/series | +*HistoryApi* | [**ListHistorySince**](sonarr/docs/HistoryApi.md#listhistorysince) | **Get** /api/v3/history/since | +*HostConfigApi* | [**GetHostConfig**](sonarr/docs/HostConfigApi.md#gethostconfig) | **Get** /api/v3/config/host | +*HostConfigApi* | [**GetHostConfigById**](sonarr/docs/HostConfigApi.md#gethostconfigbyid) | **Get** /api/v3/config/host/{id} | +*HostConfigApi* | [**UpdateHostConfig**](sonarr/docs/HostConfigApi.md#updatehostconfig) | **Put** /api/v3/config/host/{id} | +*ImportListApi* | [**CreateImportList**](sonarr/docs/ImportListApi.md#createimportlist) | **Post** /api/v3/importlist | +*ImportListApi* | [**CreateImportListActionByName**](sonarr/docs/ImportListApi.md#createimportlistactionbyname) | **Post** /api/v3/importlist/action/{name} | +*ImportListApi* | [**DeleteImportList**](sonarr/docs/ImportListApi.md#deleteimportlist) | **Delete** /api/v3/importlist/{id} | +*ImportListApi* | [**GetImportListById**](sonarr/docs/ImportListApi.md#getimportlistbyid) | **Get** /api/v3/importlist/{id} | +*ImportListApi* | [**ListImportList**](sonarr/docs/ImportListApi.md#listimportlist) | **Get** /api/v3/importlist | +*ImportListApi* | [**ListImportListSchema**](sonarr/docs/ImportListApi.md#listimportlistschema) | **Get** /api/v3/importlist/schema | +*ImportListApi* | [**TestImportList**](sonarr/docs/ImportListApi.md#testimportlist) | **Post** /api/v3/importlist/test | +*ImportListApi* | [**TestallImportList**](sonarr/docs/ImportListApi.md#testallimportlist) | **Post** /api/v3/importlist/testall | +*ImportListApi* | [**UpdateImportList**](sonarr/docs/ImportListApi.md#updateimportlist) | **Put** /api/v3/importlist/{id} | +*ImportListExclusionApi* | [**CreateImportListExclusion**](sonarr/docs/ImportListExclusionApi.md#createimportlistexclusion) | **Post** /api/v3/importlistexclusion | +*ImportListExclusionApi* | [**DeleteImportListExclusion**](sonarr/docs/ImportListExclusionApi.md#deleteimportlistexclusion) | **Delete** /api/v3/importlistexclusion/{id} | +*ImportListExclusionApi* | [**GetImportListExclusionById**](sonarr/docs/ImportListExclusionApi.md#getimportlistexclusionbyid) | **Get** /api/v3/importlistexclusion/{id} | +*ImportListExclusionApi* | [**ListImportListExclusion**](sonarr/docs/ImportListExclusionApi.md#listimportlistexclusion) | **Get** /api/v3/importlistexclusion | +*ImportListExclusionApi* | [**UpdateImportListExclusion**](sonarr/docs/ImportListExclusionApi.md#updateimportlistexclusion) | **Put** /api/v3/importlistexclusion/{id} | +*IndexerApi* | [**CreateIndexer**](sonarr/docs/IndexerApi.md#createindexer) | **Post** /api/v3/indexer | +*IndexerApi* | [**CreateIndexerActionByName**](sonarr/docs/IndexerApi.md#createindexeractionbyname) | **Post** /api/v3/indexer/action/{name} | +*IndexerApi* | [**DeleteIndexer**](sonarr/docs/IndexerApi.md#deleteindexer) | **Delete** /api/v3/indexer/{id} | +*IndexerApi* | [**GetIndexerById**](sonarr/docs/IndexerApi.md#getindexerbyid) | **Get** /api/v3/indexer/{id} | +*IndexerApi* | [**ListIndexer**](sonarr/docs/IndexerApi.md#listindexer) | **Get** /api/v3/indexer | +*IndexerApi* | [**ListIndexerSchema**](sonarr/docs/IndexerApi.md#listindexerschema) | **Get** /api/v3/indexer/schema | +*IndexerApi* | [**TestIndexer**](sonarr/docs/IndexerApi.md#testindexer) | **Post** /api/v3/indexer/test | +*IndexerApi* | [**TestallIndexer**](sonarr/docs/IndexerApi.md#testallindexer) | **Post** /api/v3/indexer/testall | +*IndexerApi* | [**UpdateIndexer**](sonarr/docs/IndexerApi.md#updateindexer) | **Put** /api/v3/indexer/{id} | +*IndexerConfigApi* | [**GetIndexerConfig**](sonarr/docs/IndexerConfigApi.md#getindexerconfig) | **Get** /api/v3/config/indexer | +*IndexerConfigApi* | [**GetIndexerConfigById**](sonarr/docs/IndexerConfigApi.md#getindexerconfigbyid) | **Get** /api/v3/config/indexer/{id} | +*IndexerConfigApi* | [**UpdateIndexerConfig**](sonarr/docs/IndexerConfigApi.md#updateindexerconfig) | **Put** /api/v3/config/indexer/{id} | +*InitializeJsApi* | [**GetInitializeJs**](sonarr/docs/InitializeJsApi.md#getinitializejs) | **Get** /initialize.js | +*LanguageApi* | [**GetLanguageById**](sonarr/docs/LanguageApi.md#getlanguagebyid) | **Get** /api/v3/language/{id} | +*LanguageApi* | [**ListLanguage**](sonarr/docs/LanguageApi.md#listlanguage) | **Get** /api/v3/language | +*LanguageProfileApi* | [**CreateLanguageProfile**](sonarr/docs/LanguageProfileApi.md#createlanguageprofile) | **Post** /api/v3/languageprofile | +*LanguageProfileApi* | [**DeleteLanguageProfile**](sonarr/docs/LanguageProfileApi.md#deletelanguageprofile) | **Delete** /api/v3/languageprofile/{id} | +*LanguageProfileApi* | [**GetLanguageProfileById**](sonarr/docs/LanguageProfileApi.md#getlanguageprofilebyid) | **Get** /api/v3/languageprofile/{id} | +*LanguageProfileApi* | [**ListLanguageProfile**](sonarr/docs/LanguageProfileApi.md#listlanguageprofile) | **Get** /api/v3/languageprofile | +*LanguageProfileApi* | [**UpdateLanguageProfile**](sonarr/docs/LanguageProfileApi.md#updatelanguageprofile) | **Put** /api/v3/languageprofile/{id} | +*LanguageProfileSchemaApi* | [**GetLanguageprofileSchema**](sonarr/docs/LanguageProfileSchemaApi.md#getlanguageprofileschema) | **Get** /api/v3/languageprofile/schema | +*LanguageProfileSchemaApi* | [**GetLanguageprofileSchemaById**](sonarr/docs/LanguageProfileSchemaApi.md#getlanguageprofileschemabyid) | **Get** /api/v3/languageprofile/schema/{id} | +*LocalizationApi* | [**GetLocalization**](sonarr/docs/LocalizationApi.md#getlocalization) | **Get** /api/v3/localization | +*LocalizationApi* | [**GetLocalizationById**](sonarr/docs/LocalizationApi.md#getlocalizationbyid) | **Get** /api/v3/localization/{id} | +*LocalizationApi* | [**GetLocalizationLanguage**](sonarr/docs/LocalizationApi.md#getlocalizationlanguage) | **Get** /api/v3/localization/language | +*LogApi* | [**GetLog**](sonarr/docs/LogApi.md#getlog) | **Get** /api/v3/log | +*LogFileApi* | [**GetLogFileByFilename**](sonarr/docs/LogFileApi.md#getlogfilebyfilename) | **Get** /api/v3/log/file/{filename} | +*LogFileApi* | [**ListLogFile**](sonarr/docs/LogFileApi.md#listlogfile) | **Get** /api/v3/log/file | +*ManualImportApi* | [**CreateManualImport**](sonarr/docs/ManualImportApi.md#createmanualimport) | **Post** /api/v3/manualimport | +*ManualImportApi* | [**ListManualImport**](sonarr/docs/ManualImportApi.md#listmanualimport) | **Get** /api/v3/manualimport | +*MediaCoverApi* | [**GetMediaCoverseriesIdByFilename**](sonarr/docs/MediaCoverApi.md#getmediacoverseriesidbyfilename) | **Get** /api/v3/mediacover/{seriesId}/{filename} | +*MediaManagementConfigApi* | [**GetMediaManagementConfig**](sonarr/docs/MediaManagementConfigApi.md#getmediamanagementconfig) | **Get** /api/v3/config/mediamanagement | +*MediaManagementConfigApi* | [**GetMediaManagementConfigById**](sonarr/docs/MediaManagementConfigApi.md#getmediamanagementconfigbyid) | **Get** /api/v3/config/mediamanagement/{id} | +*MediaManagementConfigApi* | [**UpdateMediaManagementConfig**](sonarr/docs/MediaManagementConfigApi.md#updatemediamanagementconfig) | **Put** /api/v3/config/mediamanagement/{id} | +*MetadataApi* | [**CreateMetadata**](sonarr/docs/MetadataApi.md#createmetadata) | **Post** /api/v3/metadata | +*MetadataApi* | [**CreateMetadataActionByName**](sonarr/docs/MetadataApi.md#createmetadataactionbyname) | **Post** /api/v3/metadata/action/{name} | +*MetadataApi* | [**DeleteMetadata**](sonarr/docs/MetadataApi.md#deletemetadata) | **Delete** /api/v3/metadata/{id} | +*MetadataApi* | [**GetMetadataById**](sonarr/docs/MetadataApi.md#getmetadatabyid) | **Get** /api/v3/metadata/{id} | +*MetadataApi* | [**ListMetadata**](sonarr/docs/MetadataApi.md#listmetadata) | **Get** /api/v3/metadata | +*MetadataApi* | [**ListMetadataSchema**](sonarr/docs/MetadataApi.md#listmetadataschema) | **Get** /api/v3/metadata/schema | +*MetadataApi* | [**TestMetadata**](sonarr/docs/MetadataApi.md#testmetadata) | **Post** /api/v3/metadata/test | +*MetadataApi* | [**TestallMetadata**](sonarr/docs/MetadataApi.md#testallmetadata) | **Post** /api/v3/metadata/testall | +*MetadataApi* | [**UpdateMetadata**](sonarr/docs/MetadataApi.md#updatemetadata) | **Put** /api/v3/metadata/{id} | +*MissingApi* | [**GetWantedMissing**](sonarr/docs/MissingApi.md#getwantedmissing) | **Get** /api/v3/wanted/missing | +*MissingApi* | [**GetWantedMissingById**](sonarr/docs/MissingApi.md#getwantedmissingbyid) | **Get** /api/v3/wanted/missing/{id} | +*NamingConfigApi* | [**GetNamingConfig**](sonarr/docs/NamingConfigApi.md#getnamingconfig) | **Get** /api/v3/config/naming | +*NamingConfigApi* | [**GetNamingConfigById**](sonarr/docs/NamingConfigApi.md#getnamingconfigbyid) | **Get** /api/v3/config/naming/{id} | +*NamingConfigApi* | [**GetNamingConfigExamples**](sonarr/docs/NamingConfigApi.md#getnamingconfigexamples) | **Get** /api/v3/config/naming/examples | +*NamingConfigApi* | [**UpdateNamingConfig**](sonarr/docs/NamingConfigApi.md#updatenamingconfig) | **Put** /api/v3/config/naming/{id} | +*NotificationApi* | [**CreateNotification**](sonarr/docs/NotificationApi.md#createnotification) | **Post** /api/v3/notification | +*NotificationApi* | [**CreateNotificationActionByName**](sonarr/docs/NotificationApi.md#createnotificationactionbyname) | **Post** /api/v3/notification/action/{name} | +*NotificationApi* | [**DeleteNotification**](sonarr/docs/NotificationApi.md#deletenotification) | **Delete** /api/v3/notification/{id} | +*NotificationApi* | [**GetNotificationById**](sonarr/docs/NotificationApi.md#getnotificationbyid) | **Get** /api/v3/notification/{id} | +*NotificationApi* | [**ListNotification**](sonarr/docs/NotificationApi.md#listnotification) | **Get** /api/v3/notification | +*NotificationApi* | [**ListNotificationSchema**](sonarr/docs/NotificationApi.md#listnotificationschema) | **Get** /api/v3/notification/schema | +*NotificationApi* | [**TestNotification**](sonarr/docs/NotificationApi.md#testnotification) | **Post** /api/v3/notification/test | +*NotificationApi* | [**TestallNotification**](sonarr/docs/NotificationApi.md#testallnotification) | **Post** /api/v3/notification/testall | +*NotificationApi* | [**UpdateNotification**](sonarr/docs/NotificationApi.md#updatenotification) | **Put** /api/v3/notification/{id} | +*ParseApi* | [**GetParse**](sonarr/docs/ParseApi.md#getparse) | **Get** /api/v3/parse | +*PingApi* | [**GetPing**](sonarr/docs/PingApi.md#getping) | **Get** /ping | +*QualityDefinitionApi* | [**GetQualityDefinitionById**](sonarr/docs/QualityDefinitionApi.md#getqualitydefinitionbyid) | **Get** /api/v3/qualitydefinition/{id} | +*QualityDefinitionApi* | [**ListQualityDefinition**](sonarr/docs/QualityDefinitionApi.md#listqualitydefinition) | **Get** /api/v3/qualitydefinition | +*QualityDefinitionApi* | [**PutQualityDefinitionUpdate**](sonarr/docs/QualityDefinitionApi.md#putqualitydefinitionupdate) | **Put** /api/v3/qualitydefinition/update | +*QualityDefinitionApi* | [**UpdateQualityDefinition**](sonarr/docs/QualityDefinitionApi.md#updatequalitydefinition) | **Put** /api/v3/qualitydefinition/{id} | +*QualityProfileApi* | [**CreateQualityProfile**](sonarr/docs/QualityProfileApi.md#createqualityprofile) | **Post** /api/v3/qualityprofile | +*QualityProfileApi* | [**DeleteQualityProfile**](sonarr/docs/QualityProfileApi.md#deletequalityprofile) | **Delete** /api/v3/qualityprofile/{id} | +*QualityProfileApi* | [**GetQualityProfileById**](sonarr/docs/QualityProfileApi.md#getqualityprofilebyid) | **Get** /api/v3/qualityprofile/{id} | +*QualityProfileApi* | [**ListQualityProfile**](sonarr/docs/QualityProfileApi.md#listqualityprofile) | **Get** /api/v3/qualityprofile | +*QualityProfileApi* | [**UpdateQualityProfile**](sonarr/docs/QualityProfileApi.md#updatequalityprofile) | **Put** /api/v3/qualityprofile/{id} | +*QualityProfileSchemaApi* | [**GetQualityprofileSchema**](sonarr/docs/QualityProfileSchemaApi.md#getqualityprofileschema) | **Get** /api/v3/qualityprofile/schema | +*QueueApi* | [**DeleteQueue**](sonarr/docs/QueueApi.md#deletequeue) | **Delete** /api/v3/queue/{id} | +*QueueApi* | [**DeleteQueueBulk**](sonarr/docs/QueueApi.md#deletequeuebulk) | **Delete** /api/v3/queue/bulk | +*QueueApi* | [**GetQueue**](sonarr/docs/QueueApi.md#getqueue) | **Get** /api/v3/queue | +*QueueApi* | [**GetQueueById**](sonarr/docs/QueueApi.md#getqueuebyid) | **Get** /api/v3/queue/{id} | +*QueueActionApi* | [**CreateQueueGrabBulk**](sonarr/docs/QueueActionApi.md#createqueuegrabbulk) | **Post** /api/v3/queue/grab/bulk | +*QueueActionApi* | [**CreateQueueGrabById**](sonarr/docs/QueueActionApi.md#createqueuegrabbyid) | **Post** /api/v3/queue/grab/{id} | +*QueueDetailsApi* | [**GetQueueDetailsById**](sonarr/docs/QueueDetailsApi.md#getqueuedetailsbyid) | **Get** /api/v3/queue/details/{id} | +*QueueDetailsApi* | [**ListQueueDetails**](sonarr/docs/QueueDetailsApi.md#listqueuedetails) | **Get** /api/v3/queue/details | +*QueueStatusApi* | [**GetQueueStatus**](sonarr/docs/QueueStatusApi.md#getqueuestatus) | **Get** /api/v3/queue/status | +*QueueStatusApi* | [**GetQueueStatusById**](sonarr/docs/QueueStatusApi.md#getqueuestatusbyid) | **Get** /api/v3/queue/status/{id} | +*ReleaseApi* | [**CreateRelease**](sonarr/docs/ReleaseApi.md#createrelease) | **Post** /api/v3/release | +*ReleaseApi* | [**GetReleaseById**](sonarr/docs/ReleaseApi.md#getreleasebyid) | **Get** /api/v3/release/{id} | +*ReleaseApi* | [**ListRelease**](sonarr/docs/ReleaseApi.md#listrelease) | **Get** /api/v3/release | +*ReleaseProfileApi* | [**CreateReleaseProfile**](sonarr/docs/ReleaseProfileApi.md#createreleaseprofile) | **Post** /api/v3/releaseprofile | +*ReleaseProfileApi* | [**DeleteReleaseProfile**](sonarr/docs/ReleaseProfileApi.md#deletereleaseprofile) | **Delete** /api/v3/releaseprofile/{id} | +*ReleaseProfileApi* | [**GetReleaseProfileById**](sonarr/docs/ReleaseProfileApi.md#getreleaseprofilebyid) | **Get** /api/v3/releaseprofile/{id} | +*ReleaseProfileApi* | [**ListReleaseProfile**](sonarr/docs/ReleaseProfileApi.md#listreleaseprofile) | **Get** /api/v3/releaseprofile | +*ReleaseProfileApi* | [**UpdateReleaseProfile**](sonarr/docs/ReleaseProfileApi.md#updatereleaseprofile) | **Put** /api/v3/releaseprofile/{id} | +*ReleasePushApi* | [**CreateReleasePush**](sonarr/docs/ReleasePushApi.md#createreleasepush) | **Post** /api/v3/release/push | +*ReleasePushApi* | [**GetReleasePushById**](sonarr/docs/ReleasePushApi.md#getreleasepushbyid) | **Get** /api/v3/release/push/{id} | +*RemotePathMappingApi* | [**CreateRemotePathMapping**](sonarr/docs/RemotePathMappingApi.md#createremotepathmapping) | **Post** /api/v3/remotepathmapping | +*RemotePathMappingApi* | [**DeleteRemotePathMapping**](sonarr/docs/RemotePathMappingApi.md#deleteremotepathmapping) | **Delete** /api/v3/remotepathmapping/{id} | +*RemotePathMappingApi* | [**GetRemotePathMappingById**](sonarr/docs/RemotePathMappingApi.md#getremotepathmappingbyid) | **Get** /api/v3/remotepathmapping/{id} | +*RemotePathMappingApi* | [**ListRemotePathMapping**](sonarr/docs/RemotePathMappingApi.md#listremotepathmapping) | **Get** /api/v3/remotepathmapping | +*RemotePathMappingApi* | [**UpdateRemotePathMapping**](sonarr/docs/RemotePathMappingApi.md#updateremotepathmapping) | **Put** /api/v3/remotepathmapping/{id} | +*RenameEpisodeApi* | [**ListRename**](sonarr/docs/RenameEpisodeApi.md#listrename) | **Get** /api/v3/rename | +*RootFolderApi* | [**CreateRootFolder**](sonarr/docs/RootFolderApi.md#createrootfolder) | **Post** /api/v3/rootfolder | +*RootFolderApi* | [**DeleteRootFolder**](sonarr/docs/RootFolderApi.md#deleterootfolder) | **Delete** /api/v3/rootfolder/{id} | +*RootFolderApi* | [**GetRootFolderById**](sonarr/docs/RootFolderApi.md#getrootfolderbyid) | **Get** /api/v3/rootfolder/{id} | +*RootFolderApi* | [**ListRootFolder**](sonarr/docs/RootFolderApi.md#listrootfolder) | **Get** /api/v3/rootfolder | +*SeasonPassApi* | [**CreateSeasonPass**](sonarr/docs/SeasonPassApi.md#createseasonpass) | **Post** /api/v3/seasonpass | +*SeriesApi* | [**CreateSeries**](sonarr/docs/SeriesApi.md#createseries) | **Post** /api/v3/series | +*SeriesApi* | [**DeleteSeries**](sonarr/docs/SeriesApi.md#deleteseries) | **Delete** /api/v3/series/{id} | +*SeriesApi* | [**GetSeriesById**](sonarr/docs/SeriesApi.md#getseriesbyid) | **Get** /api/v3/series/{id} | +*SeriesApi* | [**ListSeries**](sonarr/docs/SeriesApi.md#listseries) | **Get** /api/v3/series | +*SeriesApi* | [**UpdateSeries**](sonarr/docs/SeriesApi.md#updateseries) | **Put** /api/v3/series/{id} | +*SeriesEditorApi* | [**DeleteSeriesEditor**](sonarr/docs/SeriesEditorApi.md#deleteserieseditor) | **Delete** /api/v3/series/editor | +*SeriesEditorApi* | [**PutSeriesEditor**](sonarr/docs/SeriesEditorApi.md#putserieseditor) | **Put** /api/v3/series/editor | +*SeriesImportApi* | [**CreateSeriesImport**](sonarr/docs/SeriesImportApi.md#createseriesimport) | **Post** /api/v3/series/import | +*SeriesLookupApi* | [**ListSeriesLookup**](sonarr/docs/SeriesLookupApi.md#listserieslookup) | **Get** /api/v3/series/lookup | +*StaticResourceApi* | [**Get**](sonarr/docs/StaticResourceApi.md#get) | **Get** / | +*StaticResourceApi* | [**GetByPath**](sonarr/docs/StaticResourceApi.md#getbypath) | **Get** /{path} | +*StaticResourceApi* | [**GetContentByPath**](sonarr/docs/StaticResourceApi.md#getcontentbypath) | **Get** /content/{path} | +*StaticResourceApi* | [**GetLogin**](sonarr/docs/StaticResourceApi.md#getlogin) | **Get** /login | +*SystemApi* | [**CreateSystemRestart**](sonarr/docs/SystemApi.md#createsystemrestart) | **Post** /api/v3/system/restart | +*SystemApi* | [**CreateSystemShutdown**](sonarr/docs/SystemApi.md#createsystemshutdown) | **Post** /api/v3/system/shutdown | +*SystemApi* | [**GetSystemRoutes**](sonarr/docs/SystemApi.md#getsystemroutes) | **Get** /api/v3/system/routes | +*SystemApi* | [**GetSystemRoutesDuplicate**](sonarr/docs/SystemApi.md#getsystemroutesduplicate) | **Get** /api/v3/system/routes/duplicate | +*SystemApi* | [**GetSystemStatus**](sonarr/docs/SystemApi.md#getsystemstatus) | **Get** /api/v3/system/status | +*TagApi* | [**CreateTag**](sonarr/docs/TagApi.md#createtag) | **Post** /api/v3/tag | +*TagApi* | [**DeleteTag**](sonarr/docs/TagApi.md#deletetag) | **Delete** /api/v3/tag/{id} | +*TagApi* | [**GetTagById**](sonarr/docs/TagApi.md#gettagbyid) | **Get** /api/v3/tag/{id} | +*TagApi* | [**ListTag**](sonarr/docs/TagApi.md#listtag) | **Get** /api/v3/tag | +*TagApi* | [**UpdateTag**](sonarr/docs/TagApi.md#updatetag) | **Put** /api/v3/tag/{id} | +*TagDetailsApi* | [**GetTagDetailById**](sonarr/docs/TagDetailsApi.md#gettagdetailbyid) | **Get** /api/v3/tag/detail/{id} | +*TagDetailsApi* | [**ListTagDetail**](sonarr/docs/TagDetailsApi.md#listtagdetail) | **Get** /api/v3/tag/detail | +*TaskApi* | [**GetSystemTaskById**](sonarr/docs/TaskApi.md#getsystemtaskbyid) | **Get** /api/v3/system/task/{id} | +*TaskApi* | [**ListSystemTask**](sonarr/docs/TaskApi.md#listsystemtask) | **Get** /api/v3/system/task | +*UiConfigApi* | [**GetUiConfig**](sonarr/docs/UiConfigApi.md#getuiconfig) | **Get** /api/v3/config/ui | +*UiConfigApi* | [**GetUiConfigById**](sonarr/docs/UiConfigApi.md#getuiconfigbyid) | **Get** /api/v3/config/ui/{id} | +*UiConfigApi* | [**UpdateUiConfig**](sonarr/docs/UiConfigApi.md#updateuiconfig) | **Put** /api/v3/config/ui/{id} | +*UpdateApi* | [**ListUpdate**](sonarr/docs/UpdateApi.md#listupdate) | **Get** /api/v3/update | +*UpdateLogFileApi* | [**GetLogFileUpdateByFilename**](sonarr/docs/UpdateLogFileApi.md#getlogfileupdatebyfilename) | **Get** /api/v3/log/file/update/{filename} | +*UpdateLogFileApi* | [**ListLogFileUpdate**](sonarr/docs/UpdateLogFileApi.md#listlogfileupdate) | **Get** /api/v3/log/file/update | ## Documentation For Models @@ -328,7 +328,6 @@ Class | Method | HTTP request | Description - [Command](docs/Command.md) - [CommandPriority](docs/CommandPriority.md) - [CommandResource](docs/CommandResource.md) - - [CommandResult](docs/CommandResult.md) - [CommandStatus](docs/CommandStatus.md) - [CommandTrigger](docs/CommandTrigger.md) - [CustomFilterResource](docs/CustomFilterResource.md) @@ -401,7 +400,6 @@ Class | Method | HTTP request | Description - [Ratings](docs/Ratings.md) - [Rejection](docs/Rejection.md) - [RejectionType](docs/RejectionType.md) - - [ReleaseEpisodeResource](docs/ReleaseEpisodeResource.md) - [ReleaseProfileResource](docs/ReleaseProfileResource.md) - [ReleaseResource](docs/ReleaseResource.md) - [RemotePathMappingResource](docs/RemotePathMappingResource.md) diff --git a/sonarr/.openapi-generator/FILES b/sonarr/.openapi-generator/FILES index 2457450..6b9727f 100644 --- a/sonarr/.openapi-generator/FILES +++ b/sonarr/.openapi-generator/FILES @@ -72,48 +72,47 @@ client.go configuration.go docs/AddSeriesOptions.md docs/AlternateTitleResource.md -docs/ApiInfoAPI.md +docs/ApiInfoApi.md docs/ApplyTags.md -docs/AuthenticationAPI.md +docs/AuthenticationApi.md docs/AuthenticationRequiredType.md docs/AuthenticationType.md -docs/AutoTaggingAPI.md +docs/AutoTaggingApi.md docs/AutoTaggingResource.md docs/AutoTaggingSpecificationSchema.md -docs/BackupAPI.md +docs/BackupApi.md docs/BackupResource.md docs/BackupType.md -docs/BlocklistAPI.md +docs/BlocklistApi.md docs/BlocklistBulkResource.md docs/BlocklistResource.md docs/BlocklistResourcePagingResource.md -docs/CalendarAPI.md -docs/CalendarFeedAPI.md +docs/CalendarApi.md +docs/CalendarFeedApi.md docs/CertificateValidationType.md docs/Command.md -docs/CommandAPI.md +docs/CommandApi.md docs/CommandPriority.md docs/CommandResource.md -docs/CommandResult.md docs/CommandStatus.md docs/CommandTrigger.md -docs/CustomFilterAPI.md +docs/CustomFilterApi.md docs/CustomFilterResource.md -docs/CustomFormatAPI.md +docs/CustomFormatApi.md docs/CustomFormatResource.md docs/CustomFormatSpecificationSchema.md -docs/CutoffAPI.md -docs/DelayProfileAPI.md +docs/CutoffApi.md +docs/DelayProfileApi.md docs/DelayProfileResource.md -docs/DiskSpaceAPI.md +docs/DiskSpaceApi.md docs/DiskSpaceResource.md -docs/DownloadClientAPI.md -docs/DownloadClientConfigAPI.md +docs/DownloadClientApi.md +docs/DownloadClientConfigApi.md docs/DownloadClientConfigResource.md docs/DownloadClientResource.md docs/DownloadProtocol.md -docs/EpisodeAPI.md -docs/EpisodeFileAPI.md +docs/EpisodeApi.md +docs/EpisodeFileApi.md docs/EpisodeFileListResource.md docs/EpisodeFileResource.md docs/EpisodeHistoryEventType.md @@ -123,63 +122,63 @@ docs/EpisodeTitleRequiredType.md docs/EpisodesMonitoredResource.md docs/Field.md docs/FileDateType.md -docs/FileSystemAPI.md -docs/HealthAPI.md +docs/FileSystemApi.md +docs/HealthApi.md docs/HealthCheckResult.md docs/HealthResource.md -docs/HistoryAPI.md +docs/HistoryApi.md docs/HistoryResource.md docs/HistoryResourcePagingResource.md -docs/HostConfigAPI.md +docs/HostConfigApi.md docs/HostConfigResource.md -docs/ImportListAPI.md -docs/ImportListExclusionAPI.md +docs/ImportListApi.md +docs/ImportListExclusionApi.md docs/ImportListExclusionResource.md docs/ImportListResource.md docs/ImportListType.md -docs/IndexerAPI.md -docs/IndexerConfigAPI.md +docs/IndexerApi.md +docs/IndexerConfigApi.md docs/IndexerConfigResource.md docs/IndexerResource.md -docs/InitializeJsAPI.md +docs/InitializeJsApi.md docs/Language.md -docs/LanguageAPI.md -docs/LanguageProfileAPI.md +docs/LanguageApi.md +docs/LanguageProfileApi.md docs/LanguageProfileItemResource.md docs/LanguageProfileResource.md -docs/LanguageProfileSchemaAPI.md +docs/LanguageProfileSchemaApi.md docs/LanguageResource.md -docs/LocalizationAPI.md +docs/LocalizationApi.md docs/LocalizationLanguageResource.md docs/LocalizationResource.md -docs/LogAPI.md -docs/LogFileAPI.md +docs/LogApi.md +docs/LogFileApi.md docs/LogFileResource.md docs/LogResource.md docs/LogResourcePagingResource.md -docs/ManualImportAPI.md +docs/ManualImportApi.md docs/ManualImportReprocessResource.md docs/ManualImportResource.md docs/MediaCover.md -docs/MediaCoverAPI.md +docs/MediaCoverApi.md docs/MediaCoverTypes.md docs/MediaInfoResource.md -docs/MediaManagementConfigAPI.md +docs/MediaManagementConfigApi.md docs/MediaManagementConfigResource.md -docs/MetadataAPI.md +docs/MetadataApi.md docs/MetadataResource.md -docs/MissingAPI.md +docs/MissingApi.md docs/MonitorTypes.md docs/MonitoringOptions.md -docs/NamingConfigAPI.md +docs/NamingConfigApi.md docs/NamingConfigResource.md -docs/NotificationAPI.md +docs/NotificationApi.md docs/NotificationResource.md docs/PagingResourceFilter.md -docs/ParseAPI.md +docs/ParseApi.md docs/ParseResource.md docs/ParsedEpisodeInfo.md -docs/PingAPI.md +docs/PingApi.md docs/PingResource.md docs/PrivacyLevel.md docs/ProfileFormatItemResource.md @@ -188,75 +187,74 @@ docs/ProviderMessage.md docs/ProviderMessageType.md docs/ProxyType.md docs/Quality.md -docs/QualityDefinitionAPI.md +docs/QualityDefinitionApi.md docs/QualityDefinitionResource.md docs/QualityModel.md -docs/QualityProfileAPI.md +docs/QualityProfileApi.md docs/QualityProfileQualityItemResource.md docs/QualityProfileResource.md -docs/QualityProfileSchemaAPI.md +docs/QualityProfileSchemaApi.md docs/QualitySource.md -docs/QueueAPI.md -docs/QueueActionAPI.md +docs/QueueActionApi.md +docs/QueueApi.md docs/QueueBulkResource.md -docs/QueueDetailsAPI.md +docs/QueueDetailsApi.md docs/QueueResource.md docs/QueueResourcePagingResource.md -docs/QueueStatusAPI.md +docs/QueueStatusApi.md docs/QueueStatusResource.md docs/Ratings.md docs/Rejection.md docs/RejectionType.md -docs/ReleaseAPI.md -docs/ReleaseEpisodeResource.md -docs/ReleaseProfileAPI.md +docs/ReleaseApi.md +docs/ReleaseProfileApi.md docs/ReleaseProfileResource.md -docs/ReleasePushAPI.md +docs/ReleasePushApi.md docs/ReleaseResource.md -docs/RemotePathMappingAPI.md +docs/RemotePathMappingApi.md docs/RemotePathMappingResource.md -docs/RenameEpisodeAPI.md +docs/RenameEpisodeApi.md docs/RenameEpisodeResource.md docs/RescanAfterRefreshType.md docs/Revision.md -docs/RootFolderAPI.md +docs/RootFolderApi.md docs/RootFolderResource.md docs/RuntimeMode.md -docs/SeasonPassAPI.md +docs/SeasonPassApi.md docs/SeasonPassResource.md docs/SeasonPassSeriesResource.md docs/SeasonResource.md docs/SeasonStatisticsResource.md docs/SelectOption.md -docs/SeriesAPI.md -docs/SeriesEditorAPI.md +docs/SeriesApi.md +docs/SeriesEditorApi.md docs/SeriesEditorResource.md -docs/SeriesImportAPI.md -docs/SeriesLookupAPI.md +docs/SeriesImportApi.md +docs/SeriesLookupApi.md docs/SeriesResource.md docs/SeriesStatisticsResource.md docs/SeriesStatusType.md docs/SeriesTitleInfo.md docs/SeriesTypes.md docs/SortDirection.md -docs/StaticResourceAPI.md -docs/SystemAPI.md +docs/StaticResourceApi.md +docs/SystemApi.md docs/SystemResource.md -docs/TagAPI.md -docs/TagDetailsAPI.md +docs/TagApi.md +docs/TagDetailsApi.md docs/TagDetailsResource.md docs/TagResource.md -docs/TaskAPI.md +docs/TaskApi.md docs/TaskResource.md docs/TrackedDownloadState.md docs/TrackedDownloadStatus.md docs/TrackedDownloadStatusMessage.md -docs/UiConfigAPI.md +docs/UiConfigApi.md docs/UiConfigResource.md docs/UnmappedFolder.md -docs/UpdateAPI.md +docs/UpdateApi.md docs/UpdateChanges.md -docs/UpdateLogFileAPI.md +docs/UpdateLogFileApi.md docs/UpdateMechanism.md docs/UpdateResource.md go.mod @@ -276,7 +274,6 @@ model_certificate_validation_type.go model_command.go model_command_priority.go model_command_resource.go -model_command_result.go model_command_status.go model_command_trigger.go model_custom_filter_resource.go @@ -349,7 +346,6 @@ model_queue_status_resource.go model_ratings.go model_rejection.go model_rejection_type.go -model_release_episode_resource.go model_release_profile_resource.go model_release_resource.go model_remote_path_mapping_resource.go diff --git a/sonarr/.openapi-generator/VERSION b/sonarr/.openapi-generator/VERSION index 757e674..cd802a1 100644 --- a/sonarr/.openapi-generator/VERSION +++ b/sonarr/.openapi-generator/VERSION @@ -1 +1 @@ -7.0.0-SNAPSHOT \ No newline at end of file +6.6.0 \ No newline at end of file diff --git a/sonarr/api/openapi.yaml b/sonarr/api/openapi.yaml index a141e1e..0bd2eb7 100644 --- a/sonarr/api/openapi.yaml +++ b/sonarr/api/openapi.yaml @@ -348,14 +348,6 @@ paths: default: false type: boolean style: form - - explode: true - in: query - name: tags - required: false - schema: - default: "" - type: string - style: form responses: "200": content: @@ -412,7 +404,7 @@ paths: style: form - explode: true in: query - name: tags + name: tagList required: false schema: default: "" @@ -1278,15 +1270,6 @@ paths: /api/v3/episode/monitor: put: operationId: PutEpisodeMonitor - parameters: - - explode: true - in: query - name: includeImages - required: false - schema: - default: false - type: boolean - style: form requestBody: content: application/json: @@ -2966,14 +2949,6 @@ paths: schema: type: boolean style: form - - explode: true - in: query - name: ColonReplacementFormat - required: false - schema: - format: int32 - type: integer - style: form - explode: true in: query name: MultiEpisodeStyle @@ -4308,22 +4283,6 @@ paths: format: int32 type: integer style: simple - - explode: true - in: query - name: deleteFiles - required: false - schema: - default: false - type: boolean - style: form - - explode: true - in: query - name: addImportListExclusion - required: false - schema: - default: false - type: boolean - style: form responses: "200": description: Success @@ -4352,14 +4311,6 @@ paths: put: operationId: UpdateSeries parameters: - - explode: true - in: query - name: moveFiles - required: false - schema: - default: false - type: boolean - style: form - explode: false in: path name: id @@ -4956,7 +4907,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 - helpText: helpText @@ -4979,7 +4929,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 required: true @@ -5009,7 +4958,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 - helpText: helpText @@ -5032,7 +4980,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 required: true @@ -5090,7 +5037,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 - helpText: helpText @@ -5113,7 +5059,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 required: true @@ -5356,7 +5301,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 - helpText: helpText @@ -5379,7 +5323,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 required: true @@ -5413,7 +5356,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 - helpText: helpText @@ -5436,7 +5378,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 required: true @@ -5474,7 +5415,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 - helpText: helpText @@ -5497,7 +5437,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 required: true @@ -5531,7 +5470,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 - helpText: helpText @@ -5554,7 +5492,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 required: true @@ -5788,7 +5725,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 - helpText: helpText @@ -5811,7 +5747,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 required: true @@ -5845,7 +5780,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 - helpText: helpText @@ -5868,7 +5802,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 required: true @@ -5906,7 +5839,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 - helpText: helpText @@ -5929,7 +5861,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 required: true @@ -5963,7 +5894,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 - helpText: helpText @@ -5986,7 +5916,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 required: true @@ -6171,7 +6100,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 - helpText: helpText @@ -6194,7 +6122,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 required: true @@ -6228,7 +6155,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 - helpText: helpText @@ -6251,7 +6177,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 required: true @@ -6289,7 +6214,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 - helpText: helpText @@ -6312,7 +6236,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 required: true @@ -6346,7 +6269,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 - helpText: helpText @@ -6369,7 +6291,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 required: true @@ -6512,7 +6433,6 @@ components: sendUpdatesToClient: true updateScheduledTask: true priority: null - result: null duration: duration commandName: commandName name: name @@ -6541,8 +6461,6 @@ components: $ref: '#/components/schemas/CommandPriority' status: $ref: '#/components/schemas/CommandStatus' - result: - $ref: '#/components/schemas/CommandResult' queued: format: date-time type: string @@ -6577,12 +6495,6 @@ components: nullable: true type: string type: object - CommandResult: - enum: - - unknown - - successful - - unsuccessful - type: string CommandStatus: enum: - queued @@ -6661,7 +6573,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 - helpText: helpText @@ -6684,7 +6595,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 required: true @@ -6718,7 +6628,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 - helpText: helpText @@ -6741,7 +6650,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 required: true @@ -6794,7 +6702,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 - helpText: helpText @@ -6817,7 +6724,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 required: true @@ -6990,7 +6896,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 - helpText: helpText @@ -7013,7 +6918,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 infoLink: infoLink @@ -7160,7 +7064,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 - helpText: helpText @@ -7183,7 +7086,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 required: true @@ -7217,7 +7119,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 - helpText: helpText @@ -7240,7 +7141,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 required: true @@ -7278,7 +7178,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 - helpText: helpText @@ -7301,7 +7200,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 required: true @@ -7335,7 +7233,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 - helpText: helpText @@ -7358,13 +7255,12 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 required: true infoLink: infoLink - seasonNumber: 2 - seriesId: 3 + seasonNumber: 3 + seriesId: 9 dateAdded: 2000-01-23T04:56:07.000+00:00 quality: quality: @@ -7377,22 +7273,22 @@ components: version: 2 isRepack: true path: path - size: 4 + size: 2 relativePath: relativePath - id: 9 + id: 7 mediaInfo: subtitles: subtitles audioLanguages: audioLanguages videoDynamicRange: videoDynamicRange - videoBitDepth: 6 + videoBitDepth: 1 audioStreamCount: 1 audioCodec: audioCodec resolution: resolution - audioBitrate: 1 - videoFps: 1.1730742509559433 - videoBitrate: 7 - audioChannels: 1.0246457001441578 - id: 7 + audioBitrate: 7 + videoFps: 7.457744773683766 + videoBitrate: 6 + audioChannels: 1.2315135367772556 + id: 4 videoDynamicRangeType: videoDynamicRangeType runTime: runTime scanType: scanType @@ -7458,20 +7354,8 @@ components: EpisodeResource: additionalProperties: false example: - sceneSeasonNumber: 9 - airDateUtc: 2000-01-23T04:56:07.000+00:00 - airDate: airDate - episodeFileId: 5 - title: title - episodeNumber: 2 - seriesId: 6 - monitored: true - seriesTitle: seriesTitle - absoluteEpisodeNumber: 4 - grabbed: true - id: 0 - sceneAbsoluteEpisodeNumber: 5 overview: overview + sceneSeasonNumber: 9 images: - coverType: null remoteUrl: remoteUrl @@ -7480,7 +7364,8 @@ components: remoteUrl: remoteUrl url: url tvdbId: 1 - runtime: 7 + airDateUtc: 2000-01-23T04:56:07.000+00:00 + airDate: airDate episodeFile: languages: - name: name @@ -7522,7 +7407,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 - helpText: helpText @@ -7545,7 +7429,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 required: true @@ -7579,7 +7462,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 - helpText: helpText @@ -7602,7 +7484,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 required: true @@ -7640,7 +7521,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 - helpText: helpText @@ -7663,7 +7543,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 required: true @@ -7697,7 +7576,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 - helpText: helpText @@ -7720,13 +7598,12 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 required: true infoLink: infoLink - seasonNumber: 2 - seriesId: 3 + seasonNumber: 3 + seriesId: 9 dateAdded: 2000-01-23T04:56:07.000+00:00 quality: quality: @@ -7739,30 +7616,37 @@ components: version: 2 isRepack: true path: path - size: 4 + size: 2 relativePath: relativePath - id: 9 + id: 7 mediaInfo: subtitles: subtitles audioLanguages: audioLanguages videoDynamicRange: videoDynamicRange - videoBitDepth: 6 + videoBitDepth: 1 audioStreamCount: 1 audioCodec: audioCodec resolution: resolution - audioBitrate: 1 - videoFps: 1.1730742509559433 - videoBitrate: 7 - audioChannels: 1.0246457001441578 - id: 7 + audioBitrate: 7 + videoFps: 7.457744773683766 + videoBitrate: 6 + audioChannels: 1.2315135367772556 + id: 4 videoDynamicRangeType: videoDynamicRangeType runTime: runTime scanType: scanType videoCodec: videoCodec qualityCutoffNotMet: true releaseGroup: releaseGroup + episodeFileId: 5 seasonNumber: 5 - sceneEpisodeNumber: 9 + title: title + episodeNumber: 2 + seriesId: 6 + monitored: true + sceneEpisodeNumber: 5 + seriesTitle: seriesTitle + absoluteEpisodeNumber: 1 grabDate: 2000-01-23T04:56:07.000+00:00 hasFile: true series: @@ -7887,7 +7771,10 @@ components: sizeOnDisk: 3 episodeFileCount: 5 unverifiedSceneNumbering: true + grabbed: true + id: 0 endTime: 2000-01-23T04:56:07.000+00:00 + sceneAbsoluteEpisodeNumber: 4 properties: id: format: int32 @@ -7917,9 +7804,6 @@ components: format: date-time nullable: true type: string - runtime: - format: int32 - type: integer overview: nullable: true type: string @@ -7975,20 +7859,8 @@ components: totalRecords: 1 sortKey: sortKey records: - - sceneSeasonNumber: 9 - airDateUtc: 2000-01-23T04:56:07.000+00:00 - airDate: airDate - episodeFileId: 5 - title: title - episodeNumber: 2 - seriesId: 6 - monitored: true - seriesTitle: seriesTitle - absoluteEpisodeNumber: 4 - grabbed: true - id: 0 - sceneAbsoluteEpisodeNumber: 5 - overview: overview + - overview: overview + sceneSeasonNumber: 9 images: - coverType: null remoteUrl: remoteUrl @@ -7997,7 +7869,8 @@ components: remoteUrl: remoteUrl url: url tvdbId: 1 - runtime: 7 + airDateUtc: 2000-01-23T04:56:07.000+00:00 + airDate: airDate episodeFile: languages: - name: name @@ -8039,7 +7912,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 - helpText: helpText @@ -8062,7 +7934,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 required: true @@ -8096,7 +7967,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 - helpText: helpText @@ -8119,7 +7989,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 required: true @@ -8157,7 +8026,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 - helpText: helpText @@ -8180,7 +8048,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 required: true @@ -8214,7 +8081,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 - helpText: helpText @@ -8237,13 +8103,12 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 required: true infoLink: infoLink - seasonNumber: 2 - seriesId: 3 + seasonNumber: 3 + seriesId: 9 dateAdded: 2000-01-23T04:56:07.000+00:00 quality: quality: @@ -8256,30 +8121,37 @@ components: version: 2 isRepack: true path: path - size: 4 + size: 2 relativePath: relativePath - id: 9 + id: 7 mediaInfo: subtitles: subtitles audioLanguages: audioLanguages videoDynamicRange: videoDynamicRange - videoBitDepth: 6 + videoBitDepth: 1 audioStreamCount: 1 audioCodec: audioCodec resolution: resolution - audioBitrate: 1 - videoFps: 1.1730742509559433 - videoBitrate: 7 - audioChannels: 1.0246457001441578 - id: 7 + audioBitrate: 7 + videoFps: 7.457744773683766 + videoBitrate: 6 + audioChannels: 1.2315135367772556 + id: 4 videoDynamicRangeType: videoDynamicRangeType runTime: runTime scanType: scanType videoCodec: videoCodec qualityCutoffNotMet: true releaseGroup: releaseGroup + episodeFileId: 5 seasonNumber: 5 - sceneEpisodeNumber: 9 + title: title + episodeNumber: 2 + seriesId: 6 + monitored: true + sceneEpisodeNumber: 5 + seriesTitle: seriesTitle + absoluteEpisodeNumber: 1 grabDate: 2000-01-23T04:56:07.000+00:00 hasFile: true series: @@ -8404,21 +8276,12 @@ components: sizeOnDisk: 3 episodeFileCount: 5 unverifiedSceneNumbering: true - endTime: 2000-01-23T04:56:07.000+00:00 - - sceneSeasonNumber: 9 - airDateUtc: 2000-01-23T04:56:07.000+00:00 - airDate: airDate - episodeFileId: 5 - title: title - episodeNumber: 2 - seriesId: 6 - monitored: true - seriesTitle: seriesTitle - absoluteEpisodeNumber: 4 grabbed: true id: 0 - sceneAbsoluteEpisodeNumber: 5 - overview: overview + endTime: 2000-01-23T04:56:07.000+00:00 + sceneAbsoluteEpisodeNumber: 4 + - overview: overview + sceneSeasonNumber: 9 images: - coverType: null remoteUrl: remoteUrl @@ -8427,7 +8290,8 @@ components: remoteUrl: remoteUrl url: url tvdbId: 1 - runtime: 7 + airDateUtc: 2000-01-23T04:56:07.000+00:00 + airDate: airDate episodeFile: languages: - name: name @@ -8469,7 +8333,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 - helpText: helpText @@ -8492,7 +8355,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 required: true @@ -8526,7 +8388,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 - helpText: helpText @@ -8549,7 +8410,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 required: true @@ -8587,7 +8447,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 - helpText: helpText @@ -8610,7 +8469,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 required: true @@ -8644,7 +8502,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 - helpText: helpText @@ -8667,13 +8524,12 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 required: true infoLink: infoLink - seasonNumber: 2 - seriesId: 3 + seasonNumber: 3 + seriesId: 9 dateAdded: 2000-01-23T04:56:07.000+00:00 quality: quality: @@ -8686,30 +8542,37 @@ components: version: 2 isRepack: true path: path - size: 4 + size: 2 relativePath: relativePath - id: 9 + id: 7 mediaInfo: subtitles: subtitles audioLanguages: audioLanguages videoDynamicRange: videoDynamicRange - videoBitDepth: 6 + videoBitDepth: 1 audioStreamCount: 1 audioCodec: audioCodec resolution: resolution - audioBitrate: 1 - videoFps: 1.1730742509559433 - videoBitrate: 7 - audioChannels: 1.0246457001441578 - id: 7 + audioBitrate: 7 + videoFps: 7.457744773683766 + videoBitrate: 6 + audioChannels: 1.2315135367772556 + id: 4 videoDynamicRangeType: videoDynamicRangeType runTime: runTime scanType: scanType videoCodec: videoCodec qualityCutoffNotMet: true releaseGroup: releaseGroup + episodeFileId: 5 seasonNumber: 5 - sceneEpisodeNumber: 9 + title: title + episodeNumber: 2 + seriesId: 6 + monitored: true + sceneEpisodeNumber: 5 + seriesTitle: seriesTitle + absoluteEpisodeNumber: 1 grabDate: 2000-01-23T04:56:07.000+00:00 hasFile: true series: @@ -8834,7 +8697,10 @@ components: sizeOnDisk: 3 episodeFileCount: 5 unverifiedSceneNumbering: true + grabbed: true + id: 0 endTime: 2000-01-23T04:56:07.000+00:00 + sceneAbsoluteEpisodeNumber: 4 pageSize: 6 page: 0 filters: @@ -8914,7 +8780,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 properties: @@ -8959,9 +8824,6 @@ components: type: string privacy: $ref: '#/components/schemas/PrivacyLevel' - placeholder: - nullable: true - type: string type: object FileDateType: enum: @@ -9044,7 +8906,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 - helpText: helpText @@ -9067,7 +8928,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 required: true @@ -9101,7 +8961,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 - helpText: helpText @@ -9124,7 +8983,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 required: true @@ -9162,7 +9020,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 - helpText: helpText @@ -9185,7 +9042,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 required: true @@ -9219,7 +9075,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 - helpText: helpText @@ -9242,7 +9097,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 required: true @@ -9250,20 +9104,8 @@ components: sourceTitle: sourceTitle downloadId: downloadId episode: - sceneSeasonNumber: 9 - airDateUtc: 2000-01-23T04:56:07.000+00:00 - airDate: airDate - episodeFileId: 5 - title: title - episodeNumber: 2 - seriesId: 6 - monitored: true - seriesTitle: seriesTitle - absoluteEpisodeNumber: 4 - grabbed: true - id: 0 - sceneAbsoluteEpisodeNumber: 5 overview: overview + sceneSeasonNumber: 9 images: - coverType: null remoteUrl: remoteUrl @@ -9272,7 +9114,8 @@ components: remoteUrl: remoteUrl url: url tvdbId: 1 - runtime: 7 + airDateUtc: 2000-01-23T04:56:07.000+00:00 + airDate: airDate episodeFile: languages: - name: name @@ -9314,7 +9157,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 - helpText: helpText @@ -9337,7 +9179,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 required: true @@ -9371,7 +9212,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 - helpText: helpText @@ -9394,7 +9234,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 required: true @@ -9432,7 +9271,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 - helpText: helpText @@ -9455,7 +9293,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 required: true @@ -9489,7 +9326,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 - helpText: helpText @@ -9512,13 +9348,12 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 required: true infoLink: infoLink - seasonNumber: 2 - seriesId: 3 + seasonNumber: 3 + seriesId: 9 dateAdded: 2000-01-23T04:56:07.000+00:00 quality: quality: @@ -9531,30 +9366,37 @@ components: version: 2 isRepack: true path: path - size: 4 + size: 2 relativePath: relativePath - id: 9 + id: 7 mediaInfo: subtitles: subtitles audioLanguages: audioLanguages videoDynamicRange: videoDynamicRange - videoBitDepth: 6 + videoBitDepth: 1 audioStreamCount: 1 audioCodec: audioCodec resolution: resolution - audioBitrate: 1 - videoFps: 1.1730742509559433 - videoBitrate: 7 - audioChannels: 1.0246457001441578 - id: 7 + audioBitrate: 7 + videoFps: 7.457744773683766 + videoBitrate: 6 + audioChannels: 1.2315135367772556 + id: 4 videoDynamicRangeType: videoDynamicRangeType runTime: runTime scanType: scanType videoCodec: videoCodec qualityCutoffNotMet: true releaseGroup: releaseGroup + episodeFileId: 5 seasonNumber: 5 - sceneEpisodeNumber: 9 + title: title + episodeNumber: 2 + seriesId: 6 + monitored: true + sceneEpisodeNumber: 5 + seriesTitle: seriesTitle + absoluteEpisodeNumber: 1 grabDate: 2000-01-23T04:56:07.000+00:00 hasFile: true series: @@ -9679,7 +9521,10 @@ components: sizeOnDisk: 3 episodeFileCount: 5 unverifiedSceneNumbering: true + grabbed: true + id: 0 endTime: 2000-01-23T04:56:07.000+00:00 + sceneAbsoluteEpisodeNumber: 4 eventType: null episodeId: 5 customFormatScore: 7 @@ -9915,7 +9760,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 - helpText: helpText @@ -9938,7 +9782,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 required: true @@ -9972,7 +9815,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 - helpText: helpText @@ -9995,7 +9837,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 required: true @@ -10033,7 +9874,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 - helpText: helpText @@ -10056,7 +9896,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 required: true @@ -10090,7 +9929,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 - helpText: helpText @@ -10113,7 +9951,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 required: true @@ -10121,20 +9958,8 @@ components: sourceTitle: sourceTitle downloadId: downloadId episode: - sceneSeasonNumber: 9 - airDateUtc: 2000-01-23T04:56:07.000+00:00 - airDate: airDate - episodeFileId: 5 - title: title - episodeNumber: 2 - seriesId: 6 - monitored: true - seriesTitle: seriesTitle - absoluteEpisodeNumber: 4 - grabbed: true - id: 0 - sceneAbsoluteEpisodeNumber: 5 overview: overview + sceneSeasonNumber: 9 images: - coverType: null remoteUrl: remoteUrl @@ -10143,7 +9968,8 @@ components: remoteUrl: remoteUrl url: url tvdbId: 1 - runtime: 7 + airDateUtc: 2000-01-23T04:56:07.000+00:00 + airDate: airDate episodeFile: languages: - name: name @@ -10185,7 +10011,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 - helpText: helpText @@ -10208,7 +10033,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 required: true @@ -10242,7 +10066,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 - helpText: helpText @@ -10265,7 +10088,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 required: true @@ -10303,7 +10125,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 - helpText: helpText @@ -10326,7 +10147,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 required: true @@ -10360,7 +10180,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 - helpText: helpText @@ -10383,13 +10202,12 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 required: true infoLink: infoLink - seasonNumber: 2 - seriesId: 3 + seasonNumber: 3 + seriesId: 9 dateAdded: 2000-01-23T04:56:07.000+00:00 quality: quality: @@ -10402,30 +10220,37 @@ components: version: 2 isRepack: true path: path - size: 4 + size: 2 relativePath: relativePath - id: 9 + id: 7 mediaInfo: subtitles: subtitles audioLanguages: audioLanguages videoDynamicRange: videoDynamicRange - videoBitDepth: 6 + videoBitDepth: 1 audioStreamCount: 1 audioCodec: audioCodec resolution: resolution - audioBitrate: 1 - videoFps: 1.1730742509559433 - videoBitrate: 7 - audioChannels: 1.0246457001441578 - id: 7 + audioBitrate: 7 + videoFps: 7.457744773683766 + videoBitrate: 6 + audioChannels: 1.2315135367772556 + id: 4 videoDynamicRangeType: videoDynamicRangeType runTime: runTime scanType: scanType videoCodec: videoCodec qualityCutoffNotMet: true releaseGroup: releaseGroup + episodeFileId: 5 seasonNumber: 5 - sceneEpisodeNumber: 9 + title: title + episodeNumber: 2 + seriesId: 6 + monitored: true + sceneEpisodeNumber: 5 + seriesTitle: seriesTitle + absoluteEpisodeNumber: 1 grabDate: 2000-01-23T04:56:07.000+00:00 hasFile: true series: @@ -10550,7 +10375,10 @@ components: sizeOnDisk: 3 episodeFileCount: 5 unverifiedSceneNumbering: true + grabbed: true + id: 0 endTime: 2000-01-23T04:56:07.000+00:00 + sceneAbsoluteEpisodeNumber: 4 eventType: null episodeId: 5 customFormatScore: 7 @@ -10730,7 +10558,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 - helpText: helpText @@ -10753,7 +10580,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 required: true @@ -10787,7 +10613,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 - helpText: helpText @@ -10810,7 +10635,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 required: true @@ -10848,7 +10672,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 - helpText: helpText @@ -10871,7 +10694,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 required: true @@ -10905,7 +10727,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 - helpText: helpText @@ -10928,7 +10749,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 required: true @@ -10936,20 +10756,8 @@ components: sourceTitle: sourceTitle downloadId: downloadId episode: - sceneSeasonNumber: 9 - airDateUtc: 2000-01-23T04:56:07.000+00:00 - airDate: airDate - episodeFileId: 5 - title: title - episodeNumber: 2 - seriesId: 6 - monitored: true - seriesTitle: seriesTitle - absoluteEpisodeNumber: 4 - grabbed: true - id: 0 - sceneAbsoluteEpisodeNumber: 5 overview: overview + sceneSeasonNumber: 9 images: - coverType: null remoteUrl: remoteUrl @@ -10958,7 +10766,8 @@ components: remoteUrl: remoteUrl url: url tvdbId: 1 - runtime: 7 + airDateUtc: 2000-01-23T04:56:07.000+00:00 + airDate: airDate episodeFile: languages: - name: name @@ -11000,7 +10809,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 - helpText: helpText @@ -11023,7 +10831,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 required: true @@ -11057,7 +10864,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 - helpText: helpText @@ -11080,7 +10886,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 required: true @@ -11118,7 +10923,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 - helpText: helpText @@ -11141,7 +10945,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 required: true @@ -11175,7 +10978,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 - helpText: helpText @@ -11198,13 +11000,12 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 required: true infoLink: infoLink - seasonNumber: 2 - seriesId: 3 + seasonNumber: 3 + seriesId: 9 dateAdded: 2000-01-23T04:56:07.000+00:00 quality: quality: @@ -11217,30 +11018,37 @@ components: version: 2 isRepack: true path: path - size: 4 + size: 2 relativePath: relativePath - id: 9 + id: 7 mediaInfo: subtitles: subtitles audioLanguages: audioLanguages videoDynamicRange: videoDynamicRange - videoBitDepth: 6 + videoBitDepth: 1 audioStreamCount: 1 audioCodec: audioCodec resolution: resolution - audioBitrate: 1 - videoFps: 1.1730742509559433 - videoBitrate: 7 - audioChannels: 1.0246457001441578 - id: 7 + audioBitrate: 7 + videoFps: 7.457744773683766 + videoBitrate: 6 + audioChannels: 1.2315135367772556 + id: 4 videoDynamicRangeType: videoDynamicRangeType runTime: runTime scanType: scanType videoCodec: videoCodec qualityCutoffNotMet: true releaseGroup: releaseGroup + episodeFileId: 5 seasonNumber: 5 - sceneEpisodeNumber: 9 + title: title + episodeNumber: 2 + seriesId: 6 + monitored: true + sceneEpisodeNumber: 5 + seriesTitle: seriesTitle + absoluteEpisodeNumber: 1 grabDate: 2000-01-23T04:56:07.000+00:00 hasFile: true series: @@ -11365,7 +11173,10 @@ components: sizeOnDisk: 3 episodeFileCount: 5 unverifiedSceneNumbering: true + grabbed: true + id: 0 endTime: 2000-01-23T04:56:07.000+00:00 + sceneAbsoluteEpisodeNumber: 4 eventType: null episodeId: 5 customFormatScore: 7 @@ -11736,7 +11547,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 - helpText: helpText @@ -11759,7 +11569,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 infoLink: infoLink @@ -11904,7 +11713,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 - helpText: helpText @@ -11927,7 +11735,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 infoLink: infoLink @@ -12242,20 +12049,8 @@ components: seasonNumber: 1 seriesId: 6 episodes: - - sceneSeasonNumber: 9 - airDateUtc: 2000-01-23T04:56:07.000+00:00 - airDate: airDate - episodeFileId: 5 - title: title - episodeNumber: 2 - seriesId: 6 - monitored: true - seriesTitle: seriesTitle - absoluteEpisodeNumber: 4 - grabbed: true - id: 0 - sceneAbsoluteEpisodeNumber: 5 - overview: overview + - overview: overview + sceneSeasonNumber: 9 images: - coverType: null remoteUrl: remoteUrl @@ -12264,7 +12059,8 @@ components: remoteUrl: remoteUrl url: url tvdbId: 1 - runtime: 7 + airDateUtc: 2000-01-23T04:56:07.000+00:00 + airDate: airDate episodeFile: languages: - name: name @@ -12306,7 +12102,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 - helpText: helpText @@ -12329,7 +12124,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 required: true @@ -12363,7 +12157,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 - helpText: helpText @@ -12386,7 +12179,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 required: true @@ -12424,7 +12216,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 - helpText: helpText @@ -12447,7 +12238,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 required: true @@ -12481,7 +12271,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 - helpText: helpText @@ -12504,13 +12293,12 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 required: true infoLink: infoLink - seasonNumber: 2 - seriesId: 3 + seasonNumber: 3 + seriesId: 9 dateAdded: 2000-01-23T04:56:07.000+00:00 quality: quality: @@ -12523,30 +12311,37 @@ components: version: 2 isRepack: true path: path - size: 4 + size: 2 relativePath: relativePath - id: 9 + id: 7 mediaInfo: subtitles: subtitles audioLanguages: audioLanguages videoDynamicRange: videoDynamicRange - videoBitDepth: 6 + videoBitDepth: 1 audioStreamCount: 1 audioCodec: audioCodec resolution: resolution - audioBitrate: 1 - videoFps: 1.1730742509559433 - videoBitrate: 7 - audioChannels: 1.0246457001441578 - id: 7 + audioBitrate: 7 + videoFps: 7.457744773683766 + videoBitrate: 6 + audioChannels: 1.2315135367772556 + id: 4 videoDynamicRangeType: videoDynamicRangeType runTime: runTime scanType: scanType videoCodec: videoCodec qualityCutoffNotMet: true releaseGroup: releaseGroup + episodeFileId: 5 seasonNumber: 5 - sceneEpisodeNumber: 9 + title: title + episodeNumber: 2 + seriesId: 6 + monitored: true + sceneEpisodeNumber: 5 + seriesTitle: seriesTitle + absoluteEpisodeNumber: 1 grabDate: 2000-01-23T04:56:07.000+00:00 hasFile: true series: @@ -12671,21 +12466,12 @@ components: sizeOnDisk: 3 episodeFileCount: 5 unverifiedSceneNumbering: true - endTime: 2000-01-23T04:56:07.000+00:00 - - sceneSeasonNumber: 9 - airDateUtc: 2000-01-23T04:56:07.000+00:00 - airDate: airDate - episodeFileId: 5 - title: title - episodeNumber: 2 - seriesId: 6 - monitored: true - seriesTitle: seriesTitle - absoluteEpisodeNumber: 4 grabbed: true id: 0 - sceneAbsoluteEpisodeNumber: 5 - overview: overview + endTime: 2000-01-23T04:56:07.000+00:00 + sceneAbsoluteEpisodeNumber: 4 + - overview: overview + sceneSeasonNumber: 9 images: - coverType: null remoteUrl: remoteUrl @@ -12694,7 +12480,8 @@ components: remoteUrl: remoteUrl url: url tvdbId: 1 - runtime: 7 + airDateUtc: 2000-01-23T04:56:07.000+00:00 + airDate: airDate episodeFile: languages: - name: name @@ -12736,7 +12523,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 - helpText: helpText @@ -12759,7 +12545,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 required: true @@ -12793,7 +12578,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 - helpText: helpText @@ -12816,7 +12600,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 required: true @@ -12854,7 +12637,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 - helpText: helpText @@ -12877,7 +12659,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 required: true @@ -12911,7 +12692,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 - helpText: helpText @@ -12934,13 +12714,12 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 required: true infoLink: infoLink - seasonNumber: 2 - seriesId: 3 + seasonNumber: 3 + seriesId: 9 dateAdded: 2000-01-23T04:56:07.000+00:00 quality: quality: @@ -12953,30 +12732,37 @@ components: version: 2 isRepack: true path: path - size: 4 + size: 2 relativePath: relativePath - id: 9 + id: 7 mediaInfo: subtitles: subtitles audioLanguages: audioLanguages videoDynamicRange: videoDynamicRange - videoBitDepth: 6 + videoBitDepth: 1 audioStreamCount: 1 audioCodec: audioCodec resolution: resolution - audioBitrate: 1 - videoFps: 1.1730742509559433 - videoBitrate: 7 - audioChannels: 1.0246457001441578 - id: 7 + audioBitrate: 7 + videoFps: 7.457744773683766 + videoBitrate: 6 + audioChannels: 1.2315135367772556 + id: 4 videoDynamicRangeType: videoDynamicRangeType runTime: runTime scanType: scanType videoCodec: videoCodec qualityCutoffNotMet: true releaseGroup: releaseGroup + episodeFileId: 5 seasonNumber: 5 - sceneEpisodeNumber: 9 + title: title + episodeNumber: 2 + seriesId: 6 + monitored: true + sceneEpisodeNumber: 5 + seriesTitle: seriesTitle + absoluteEpisodeNumber: 1 grabDate: 2000-01-23T04:56:07.000+00:00 hasFile: true series: @@ -13101,7 +12887,10 @@ components: sizeOnDisk: 3 episodeFileCount: 5 unverifiedSceneNumbering: true + grabbed: true + id: 0 endTime: 2000-01-23T04:56:07.000+00:00 + sceneAbsoluteEpisodeNumber: 4 quality: quality: name: name @@ -13204,7 +12993,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 - helpText: helpText @@ -13227,7 +13015,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 required: true @@ -13261,7 +13048,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 - helpText: helpText @@ -13284,7 +13070,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 required: true @@ -13322,7 +13107,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 - helpText: helpText @@ -13345,7 +13129,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 required: true @@ -13379,7 +13162,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 - helpText: helpText @@ -13402,7 +13184,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 required: true @@ -13549,20 +13330,8 @@ components: folderName: folderName qualityWeight: 5 episodes: - - sceneSeasonNumber: 9 - airDateUtc: 2000-01-23T04:56:07.000+00:00 - airDate: airDate - episodeFileId: 5 - title: title - episodeNumber: 2 - seriesId: 6 - monitored: true - seriesTitle: seriesTitle - absoluteEpisodeNumber: 4 - grabbed: true - id: 0 - sceneAbsoluteEpisodeNumber: 5 - overview: overview + - overview: overview + sceneSeasonNumber: 9 images: - coverType: null remoteUrl: remoteUrl @@ -13571,7 +13340,8 @@ components: remoteUrl: remoteUrl url: url tvdbId: 1 - runtime: 7 + airDateUtc: 2000-01-23T04:56:07.000+00:00 + airDate: airDate episodeFile: languages: - name: name @@ -13613,7 +13383,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 - helpText: helpText @@ -13636,7 +13405,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 required: true @@ -13670,7 +13438,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 - helpText: helpText @@ -13693,7 +13460,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 required: true @@ -13731,7 +13497,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 - helpText: helpText @@ -13754,7 +13519,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 required: true @@ -13788,7 +13552,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 - helpText: helpText @@ -13811,13 +13574,12 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 required: true infoLink: infoLink - seasonNumber: 2 - seriesId: 3 + seasonNumber: 3 + seriesId: 9 dateAdded: 2000-01-23T04:56:07.000+00:00 quality: quality: @@ -13830,30 +13592,37 @@ components: version: 2 isRepack: true path: path - size: 4 + size: 2 relativePath: relativePath - id: 9 + id: 7 mediaInfo: subtitles: subtitles audioLanguages: audioLanguages videoDynamicRange: videoDynamicRange - videoBitDepth: 6 + videoBitDepth: 1 audioStreamCount: 1 audioCodec: audioCodec resolution: resolution - audioBitrate: 1 - videoFps: 1.1730742509559433 - videoBitrate: 7 - audioChannels: 1.0246457001441578 - id: 7 + audioBitrate: 7 + videoFps: 7.457744773683766 + videoBitrate: 6 + audioChannels: 1.2315135367772556 + id: 4 videoDynamicRangeType: videoDynamicRangeType runTime: runTime scanType: scanType videoCodec: videoCodec qualityCutoffNotMet: true releaseGroup: releaseGroup + episodeFileId: 5 seasonNumber: 5 - sceneEpisodeNumber: 9 + title: title + episodeNumber: 2 + seriesId: 6 + monitored: true + sceneEpisodeNumber: 5 + seriesTitle: seriesTitle + absoluteEpisodeNumber: 1 grabDate: 2000-01-23T04:56:07.000+00:00 hasFile: true series: @@ -13978,21 +13747,12 @@ components: sizeOnDisk: 3 episodeFileCount: 5 unverifiedSceneNumbering: true - endTime: 2000-01-23T04:56:07.000+00:00 - - sceneSeasonNumber: 9 - airDateUtc: 2000-01-23T04:56:07.000+00:00 - airDate: airDate - episodeFileId: 5 - title: title - episodeNumber: 2 - seriesId: 6 - monitored: true - seriesTitle: seriesTitle - absoluteEpisodeNumber: 4 grabbed: true id: 0 - sceneAbsoluteEpisodeNumber: 5 - overview: overview + endTime: 2000-01-23T04:56:07.000+00:00 + sceneAbsoluteEpisodeNumber: 4 + - overview: overview + sceneSeasonNumber: 9 images: - coverType: null remoteUrl: remoteUrl @@ -14001,7 +13761,8 @@ components: remoteUrl: remoteUrl url: url tvdbId: 1 - runtime: 7 + airDateUtc: 2000-01-23T04:56:07.000+00:00 + airDate: airDate episodeFile: languages: - name: name @@ -14043,7 +13804,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 - helpText: helpText @@ -14066,7 +13826,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 required: true @@ -14100,7 +13859,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 - helpText: helpText @@ -14123,7 +13881,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 required: true @@ -14161,7 +13918,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 - helpText: helpText @@ -14184,7 +13940,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 required: true @@ -14218,7 +13973,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 - helpText: helpText @@ -14241,13 +13995,12 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 required: true infoLink: infoLink - seasonNumber: 2 - seriesId: 3 + seasonNumber: 3 + seriesId: 9 dateAdded: 2000-01-23T04:56:07.000+00:00 quality: quality: @@ -14260,30 +14013,37 @@ components: version: 2 isRepack: true path: path - size: 4 + size: 2 relativePath: relativePath - id: 9 + id: 7 mediaInfo: subtitles: subtitles audioLanguages: audioLanguages videoDynamicRange: videoDynamicRange - videoBitDepth: 6 + videoBitDepth: 1 audioStreamCount: 1 audioCodec: audioCodec resolution: resolution - audioBitrate: 1 - videoFps: 1.1730742509559433 - videoBitrate: 7 - audioChannels: 1.0246457001441578 - id: 7 + audioBitrate: 7 + videoFps: 7.457744773683766 + videoBitrate: 6 + audioChannels: 1.2315135367772556 + id: 4 videoDynamicRangeType: videoDynamicRangeType runTime: runTime scanType: scanType videoCodec: videoCodec qualityCutoffNotMet: true releaseGroup: releaseGroup + episodeFileId: 5 seasonNumber: 5 - sceneEpisodeNumber: 9 + title: title + episodeNumber: 2 + seriesId: 6 + monitored: true + sceneEpisodeNumber: 5 + seriesTitle: seriesTitle + absoluteEpisodeNumber: 1 grabDate: 2000-01-23T04:56:07.000+00:00 hasFile: true series: @@ -14408,7 +14168,10 @@ components: sizeOnDisk: 3 episodeFileCount: 5 unverifiedSceneNumbering: true + grabbed: true + id: 0 endTime: 2000-01-23T04:56:07.000+00:00 + sceneAbsoluteEpisodeNumber: 4 releaseGroup: releaseGroup properties: id: @@ -14502,15 +14265,15 @@ components: subtitles: subtitles audioLanguages: audioLanguages videoDynamicRange: videoDynamicRange - videoBitDepth: 6 + videoBitDepth: 1 audioStreamCount: 1 audioCodec: audioCodec resolution: resolution - audioBitrate: 1 - videoFps: 1.1730742509559433 - videoBitrate: 7 - audioChannels: 1.0246457001441578 - id: 7 + audioBitrate: 7 + videoFps: 7.457744773683766 + videoBitrate: 6 + audioChannels: 1.2315135367772556 + id: 4 videoDynamicRangeType: videoDynamicRangeType runTime: runTime scanType: scanType @@ -14667,7 +14430,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 - helpText: helpText @@ -14690,7 +14452,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 message: @@ -14751,8 +14512,6 @@ components: - firstSeason - latestSeason - pilot - - monitorSpecials - - unmonitorSpecials - none type: string MonitoringOptions: @@ -14774,7 +14533,7 @@ components: example: replaceIllegalCharacters: true renameEpisodes: true - multiEpisodeStyle: 1 + multiEpisodeStyle: 6 standardEpisodeFormat: standardEpisodeFormat seasonFolderFormat: seasonFolderFormat specialsFolderFormat: specialsFolderFormat @@ -14788,7 +14547,6 @@ components: id: 0 dailyEpisodeFormat: dailyEpisodeFormat includeSeriesTitle: true - colonReplacementFormat: 6 properties: id: format: int32 @@ -14797,9 +14555,6 @@ components: type: boolean replaceIllegalCharacters: type: boolean - colonReplacementFormat: - format: int32 - type: integer multiEpisodeStyle: format: int32 type: integer @@ -14844,9 +14599,7 @@ components: supportsOnRename: true link: link supportsOnEpisodeFileDelete: true - supportsOnManualInteractionRequired: true onGrab: true - onHealthRestored: true supportsOnDownload: true id: 0 onHealthIssue: true @@ -14861,7 +14614,6 @@ components: message: message: message type: null - supportsOnSeriesAdd: true onApplicationUpdate: true supportsOnSeriesDelete: true supportsOnHealthIssue: true @@ -14872,9 +14624,7 @@ components: - null - null onDownload: true - supportsOnHealthRestored: true configContract: configContract - onManualInteractionRequired: true name: name includeHealthWarnings: true fields: @@ -14898,7 +14648,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 - helpText: helpText @@ -14921,12 +14670,10 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 supportsOnApplicationUpdate: true onRename: true - onSeriesAdd: true onEpisodeFileDelete: true properties: id: @@ -14977,8 +14724,6 @@ components: type: boolean onRename: type: boolean - onSeriesAdd: - type: boolean onSeriesDelete: type: boolean onEpisodeFileDelete: @@ -14987,12 +14732,8 @@ components: type: boolean onHealthIssue: type: boolean - onHealthRestored: - type: boolean onApplicationUpdate: type: boolean - onManualInteractionRequired: - type: boolean supportsOnGrab: type: boolean supportsOnDownload: @@ -15001,8 +14742,6 @@ components: type: boolean supportsOnRename: type: boolean - supportsOnSeriesAdd: - type: boolean supportsOnSeriesDelete: type: boolean supportsOnEpisodeFileDelete: @@ -15011,12 +14750,8 @@ components: type: boolean supportsOnHealthIssue: type: boolean - supportsOnHealthRestored: - type: boolean supportsOnApplicationUpdate: type: boolean - supportsOnManualInteractionRequired: - type: boolean includeHealthWarnings: type: boolean testCommand: @@ -15213,20 +14948,8 @@ components: id: 0 title: title episodes: - - sceneSeasonNumber: 9 - airDateUtc: 2000-01-23T04:56:07.000+00:00 - airDate: airDate - episodeFileId: 5 - title: title - episodeNumber: 2 - seriesId: 6 - monitored: true - seriesTitle: seriesTitle - absoluteEpisodeNumber: 4 - grabbed: true - id: 0 - sceneAbsoluteEpisodeNumber: 5 - overview: overview + - overview: overview + sceneSeasonNumber: 9 images: - coverType: null remoteUrl: remoteUrl @@ -15235,7 +14958,8 @@ components: remoteUrl: remoteUrl url: url tvdbId: 1 - runtime: 7 + airDateUtc: 2000-01-23T04:56:07.000+00:00 + airDate: airDate episodeFile: languages: - name: name @@ -15277,7 +15001,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 - helpText: helpText @@ -15300,7 +15023,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 required: true @@ -15334,7 +15056,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 - helpText: helpText @@ -15357,7 +15078,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 required: true @@ -15395,7 +15115,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 - helpText: helpText @@ -15418,7 +15137,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 required: true @@ -15452,7 +15170,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 - helpText: helpText @@ -15475,13 +15192,12 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 required: true infoLink: infoLink - seasonNumber: 2 - seriesId: 3 + seasonNumber: 3 + seriesId: 9 dateAdded: 2000-01-23T04:56:07.000+00:00 quality: quality: @@ -15494,30 +15210,37 @@ components: version: 2 isRepack: true path: path - size: 4 + size: 2 relativePath: relativePath - id: 9 + id: 7 mediaInfo: subtitles: subtitles audioLanguages: audioLanguages videoDynamicRange: videoDynamicRange - videoBitDepth: 6 + videoBitDepth: 1 audioStreamCount: 1 audioCodec: audioCodec resolution: resolution - audioBitrate: 1 - videoFps: 1.1730742509559433 - videoBitrate: 7 - audioChannels: 1.0246457001441578 - id: 7 + audioBitrate: 7 + videoFps: 7.457744773683766 + videoBitrate: 6 + audioChannels: 1.2315135367772556 + id: 4 videoDynamicRangeType: videoDynamicRangeType runTime: runTime scanType: scanType videoCodec: videoCodec qualityCutoffNotMet: true releaseGroup: releaseGroup + episodeFileId: 5 seasonNumber: 5 - sceneEpisodeNumber: 9 + title: title + episodeNumber: 2 + seriesId: 6 + monitored: true + sceneEpisodeNumber: 5 + seriesTitle: seriesTitle + absoluteEpisodeNumber: 1 grabDate: 2000-01-23T04:56:07.000+00:00 hasFile: true series: @@ -15642,21 +15365,12 @@ components: sizeOnDisk: 3 episodeFileCount: 5 unverifiedSceneNumbering: true - endTime: 2000-01-23T04:56:07.000+00:00 - - sceneSeasonNumber: 9 - airDateUtc: 2000-01-23T04:56:07.000+00:00 - airDate: airDate - episodeFileId: 5 - title: title - episodeNumber: 2 - seriesId: 6 - monitored: true - seriesTitle: seriesTitle - absoluteEpisodeNumber: 4 grabbed: true id: 0 - sceneAbsoluteEpisodeNumber: 5 - overview: overview + endTime: 2000-01-23T04:56:07.000+00:00 + sceneAbsoluteEpisodeNumber: 4 + - overview: overview + sceneSeasonNumber: 9 images: - coverType: null remoteUrl: remoteUrl @@ -15665,7 +15379,8 @@ components: remoteUrl: remoteUrl url: url tvdbId: 1 - runtime: 7 + airDateUtc: 2000-01-23T04:56:07.000+00:00 + airDate: airDate episodeFile: languages: - name: name @@ -15707,7 +15422,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 - helpText: helpText @@ -15730,7 +15444,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 required: true @@ -15764,7 +15477,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 - helpText: helpText @@ -15787,7 +15499,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 required: true @@ -15825,7 +15536,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 - helpText: helpText @@ -15848,7 +15558,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 required: true @@ -15882,7 +15591,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 - helpText: helpText @@ -15905,13 +15613,12 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 required: true infoLink: infoLink - seasonNumber: 2 - seriesId: 3 + seasonNumber: 3 + seriesId: 9 dateAdded: 2000-01-23T04:56:07.000+00:00 quality: quality: @@ -15924,30 +15631,37 @@ components: version: 2 isRepack: true path: path - size: 4 + size: 2 relativePath: relativePath - id: 9 + id: 7 mediaInfo: subtitles: subtitles audioLanguages: audioLanguages videoDynamicRange: videoDynamicRange - videoBitDepth: 6 + videoBitDepth: 1 audioStreamCount: 1 audioCodec: audioCodec resolution: resolution - audioBitrate: 1 - videoFps: 1.1730742509559433 - videoBitrate: 7 - audioChannels: 1.0246457001441578 - id: 7 + audioBitrate: 7 + videoFps: 7.457744773683766 + videoBitrate: 6 + audioChannels: 1.2315135367772556 + id: 4 videoDynamicRangeType: videoDynamicRangeType runTime: runTime scanType: scanType videoCodec: videoCodec qualityCutoffNotMet: true releaseGroup: releaseGroup + episodeFileId: 5 seasonNumber: 5 - sceneEpisodeNumber: 9 + title: title + episodeNumber: 2 + seriesId: 6 + monitored: true + sceneEpisodeNumber: 5 + seriesTitle: seriesTitle + absoluteEpisodeNumber: 1 grabDate: 2000-01-23T04:56:07.000+00:00 hasFile: true series: @@ -16072,7 +15786,10 @@ components: sizeOnDisk: 3 episodeFileCount: 5 unverifiedSceneNumbering: true + grabbed: true + id: 0 endTime: 2000-01-23T04:56:07.000+00:00 + sceneAbsoluteEpisodeNumber: 4 properties: id: format: int32 @@ -16494,157 +16211,264 @@ components: QueueResource: additionalProperties: false example: - downloadId: downloadId - episode: - sceneSeasonNumber: 9 - airDateUtc: 2000-01-23T04:56:07.000+00:00 - airDate: airDate - episodeFileId: 5 - title: title - episodeNumber: 2 - seriesId: 6 - monitored: true - seriesTitle: seriesTitle - absoluteEpisodeNumber: 4 - grabbed: true - id: 0 - sceneAbsoluteEpisodeNumber: 5 - overview: overview - images: - - coverType: null - remoteUrl: remoteUrl - url: url - - coverType: null - remoteUrl: remoteUrl - url: url - tvdbId: 1 - runtime: 7 - episodeFile: - languages: - - name: name - id: 7 - - name: name - id: 7 - sceneName: sceneName - customFormats: - - name: name - includeCustomFormatWhenRenaming: true - id: 7 - specifications: - - presets: - - null - - null - implementationName: implementationName - negate: true - implementation: implementation + languages: + - name: name + id: 7 + - name: name + id: 7 + estimatedCompletionTime: 2000-01-23T04:56:07.000+00:00 + customFormats: + - name: name + includeCustomFormatWhenRenaming: true + id: 7 + specifications: + - presets: + - null + - null + implementationName: implementationName + negate: true + implementation: implementation + name: name + id: 1 + fields: + - helpText: helpText + hidden: hidden + advanced: true + selectOptions: + - hint: hint name: name - id: 1 - fields: - - helpText: helpText - hidden: hidden - advanced: true - selectOptions: - - hint: hint - name: name - value: 5 - order: 2 - - hint: hint - name: name - value: 5 - order: 2 - privacy: null - selectOptionsProviderAction: selectOptionsProviderAction - section: section - label: label - type: type - unit: unit - helpLink: helpLink - name: name - placeholder: placeholder - value: "" - order: 5 - - helpText: helpText - hidden: hidden - advanced: true - selectOptions: - - hint: hint - name: name - value: 5 - order: 2 - - hint: hint - name: name - value: 5 - order: 2 - privacy: null - selectOptionsProviderAction: selectOptionsProviderAction - section: section - label: label - type: type - unit: unit - helpLink: helpLink - name: name - placeholder: placeholder - value: "" - order: 5 - required: true - infoLink: infoLink - - presets: - - null - - null - implementationName: implementationName - negate: true - implementation: implementation + value: 5 + order: 2 + - hint: hint name: name - id: 1 - fields: - - helpText: helpText - hidden: hidden - advanced: true - selectOptions: - - hint: hint - name: name - value: 5 - order: 2 - - hint: hint - name: name - value: 5 - order: 2 - privacy: null - selectOptionsProviderAction: selectOptionsProviderAction - section: section - label: label - type: type - unit: unit - helpLink: helpLink - name: name - placeholder: placeholder - value: "" - order: 5 - - helpText: helpText - hidden: hidden - advanced: true - selectOptions: - - hint: hint - name: name - value: 5 - order: 2 - - hint: hint - name: name - value: 5 - order: 2 - privacy: null - selectOptionsProviderAction: selectOptionsProviderAction - section: section - label: label - type: type - unit: unit - helpLink: helpLink - name: name - placeholder: placeholder - value: "" - order: 5 - required: true - infoLink: infoLink + value: 5 + order: 2 + privacy: null + selectOptionsProviderAction: selectOptionsProviderAction + section: section + label: label + type: type + unit: unit + helpLink: helpLink + name: name + value: "" + order: 5 + - helpText: helpText + hidden: hidden + advanced: true + selectOptions: + - hint: hint + name: name + value: 5 + order: 2 + - hint: hint + name: name + value: 5 + order: 2 + privacy: null + selectOptionsProviderAction: selectOptionsProviderAction + section: section + label: label + type: type + unit: unit + helpLink: helpLink + name: name + value: "" + order: 5 + required: true + infoLink: infoLink + - presets: + - null + - null + implementationName: implementationName + negate: true + implementation: implementation + name: name + id: 1 + fields: + - helpText: helpText + hidden: hidden + advanced: true + selectOptions: + - hint: hint + name: name + value: 5 + order: 2 + - hint: hint + name: name + value: 5 + order: 2 + privacy: null + selectOptionsProviderAction: selectOptionsProviderAction + section: section + label: label + type: type + unit: unit + helpLink: helpLink + name: name + value: "" + order: 5 + - helpText: helpText + hidden: hidden + advanced: true + selectOptions: + - hint: hint + name: name + value: 5 + order: 2 + - hint: hint + name: name + value: 5 + order: 2 + privacy: null + selectOptionsProviderAction: selectOptionsProviderAction + section: section + label: label + type: type + unit: unit + helpLink: helpLink + name: name + value: "" + order: 5 + required: true + infoLink: infoLink + - name: name + includeCustomFormatWhenRenaming: true + id: 7 + specifications: + - presets: + - null + - null + implementationName: implementationName + negate: true + implementation: implementation + name: name + id: 1 + fields: + - helpText: helpText + hidden: hidden + advanced: true + selectOptions: + - hint: hint + name: name + value: 5 + order: 2 + - hint: hint + name: name + value: 5 + order: 2 + privacy: null + selectOptionsProviderAction: selectOptionsProviderAction + section: section + label: label + type: type + unit: unit + helpLink: helpLink + name: name + value: "" + order: 5 + - helpText: helpText + hidden: hidden + advanced: true + selectOptions: + - hint: hint + name: name + value: 5 + order: 2 + - hint: hint + name: name + value: 5 + order: 2 + privacy: null + selectOptionsProviderAction: selectOptionsProviderAction + section: section + label: label + type: type + unit: unit + helpLink: helpLink + name: name + value: "" + order: 5 + required: true + infoLink: infoLink + - presets: + - null + - null + implementationName: implementationName + negate: true + implementation: implementation + name: name + id: 1 + fields: + - helpText: helpText + hidden: hidden + advanced: true + selectOptions: + - hint: hint + name: name + value: 5 + order: 2 + - hint: hint + name: name + value: 5 + order: 2 + privacy: null + selectOptionsProviderAction: selectOptionsProviderAction + section: section + label: label + type: type + unit: unit + helpLink: helpLink + name: name + value: "" + order: 5 + - helpText: helpText + hidden: hidden + advanced: true + selectOptions: + - hint: hint + name: name + value: 5 + order: 2 + - hint: hint + name: name + value: 5 + order: 2 + privacy: null + selectOptionsProviderAction: selectOptionsProviderAction + section: section + label: label + type: type + unit: unit + helpLink: helpLink + name: name + value: "" + order: 5 + required: true + infoLink: infoLink + errorMessage: errorMessage + downloadId: downloadId + episode: + overview: overview + sceneSeasonNumber: 9 + images: + - coverType: null + remoteUrl: remoteUrl + url: url + - coverType: null + remoteUrl: remoteUrl + url: url + tvdbId: 1 + airDateUtc: 2000-01-23T04:56:07.000+00:00 + airDate: airDate + episodeFile: + languages: + - name: name + id: 7 + - name: name + id: 7 + sceneName: sceneName + customFormats: - name: name includeCustomFormatWhenRenaming: true id: 7 @@ -16678,7 +16502,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 - helpText: helpText @@ -16701,7 +16524,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 required: true @@ -16735,7 +16557,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 - helpText: helpText @@ -16758,16 +16579,129 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 required: true infoLink: infoLink - seasonNumber: 2 - seriesId: 3 - dateAdded: 2000-01-23T04:56:07.000+00:00 - quality: - quality: + - name: name + includeCustomFormatWhenRenaming: true + id: 7 + specifications: + - presets: + - null + - null + implementationName: implementationName + negate: true + implementation: implementation + name: name + id: 1 + fields: + - helpText: helpText + hidden: hidden + advanced: true + selectOptions: + - hint: hint + name: name + value: 5 + order: 2 + - hint: hint + name: name + value: 5 + order: 2 + privacy: null + selectOptionsProviderAction: selectOptionsProviderAction + section: section + label: label + type: type + unit: unit + helpLink: helpLink + name: name + value: "" + order: 5 + - helpText: helpText + hidden: hidden + advanced: true + selectOptions: + - hint: hint + name: name + value: 5 + order: 2 + - hint: hint + name: name + value: 5 + order: 2 + privacy: null + selectOptionsProviderAction: selectOptionsProviderAction + section: section + label: label + type: type + unit: unit + helpLink: helpLink + name: name + value: "" + order: 5 + required: true + infoLink: infoLink + - presets: + - null + - null + implementationName: implementationName + negate: true + implementation: implementation + name: name + id: 1 + fields: + - helpText: helpText + hidden: hidden + advanced: true + selectOptions: + - hint: hint + name: name + value: 5 + order: 2 + - hint: hint + name: name + value: 5 + order: 2 + privacy: null + selectOptionsProviderAction: selectOptionsProviderAction + section: section + label: label + type: type + unit: unit + helpLink: helpLink + name: name + value: "" + order: 5 + - helpText: helpText + hidden: hidden + advanced: true + selectOptions: + - hint: hint + name: name + value: 5 + order: 2 + - hint: hint + name: name + value: 5 + order: 2 + privacy: null + selectOptionsProviderAction: selectOptionsProviderAction + section: section + label: label + type: type + unit: unit + helpLink: helpLink + name: name + value: "" + order: 5 + required: true + infoLink: infoLink + seasonNumber: 3 + seriesId: 9 + dateAdded: 2000-01-23T04:56:07.000+00:00 + quality: + quality: name: name id: 9 source: null @@ -16777,30 +16711,37 @@ components: version: 2 isRepack: true path: path - size: 4 + size: 2 relativePath: relativePath - id: 9 + id: 7 mediaInfo: subtitles: subtitles audioLanguages: audioLanguages videoDynamicRange: videoDynamicRange - videoBitDepth: 6 + videoBitDepth: 1 audioStreamCount: 1 audioCodec: audioCodec resolution: resolution - audioBitrate: 1 - videoFps: 1.1730742509559433 - videoBitrate: 7 - audioChannels: 1.0246457001441578 - id: 7 + audioBitrate: 7 + videoFps: 7.457744773683766 + videoBitrate: 6 + audioChannels: 1.2315135367772556 + id: 4 videoDynamicRangeType: videoDynamicRangeType runTime: runTime scanType: scanType videoCodec: videoCodec qualityCutoffNotMet: true releaseGroup: releaseGroup + episodeFileId: 5 seasonNumber: 5 - sceneEpisodeNumber: 9 + title: title + episodeNumber: 2 + seriesId: 6 + monitored: true + sceneEpisodeNumber: 5 + seriesTitle: seriesTitle + absoluteEpisodeNumber: 1 grabDate: 2000-01-23T04:56:07.000+00:00 hasFile: true series: @@ -16925,11 +16866,28 @@ components: sizeOnDisk: 3 episodeFileCount: 5 unverifiedSceneNumbering: true + grabbed: true + id: 0 endTime: 2000-01-23T04:56:07.000+00:00 + sceneAbsoluteEpisodeNumber: 4 + indexer: indexer episodeId: 1 title: title + timeleft: timeleft + trackedDownloadState: null + trackedDownloadStatus: null seriesId: 6 - sizeleft: 2.3021358869347655 + sizeleft: 5.637376656633329 + quality: + quality: + name: name + id: 9 + source: null + resolution: 3 + revision: + real: 4 + version: 2 + isRepack: true statusMessages: - messages: - messages @@ -16940,928 +16898,213 @@ components: - messages title: title protocol: null + size: 5.962133916683182 + series: + profileName: profileName + tvMazeId: 6 + previousAiring: 2000-01-23T04:56:07.000+00:00 + alternateTitles: + - sceneSeasonNumber: 6 + sceneOrigin: sceneOrigin + comment: comment + seasonNumber: 1 + title: title + - sceneSeasonNumber: 6 + sceneOrigin: sceneOrigin + comment: comment + seasonNumber: 1 + title: title + year: 6 + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + imdbId: imdbId + remotePoster: remotePoster + languageProfileId: 0 + title: title + network: network + monitored: true + cleanTitle: cleanTitle + path: path + titleSlug: titleSlug + episodesChanged: true + qualityProfileId: 8 + seriesType: null + genres: + - genres + - genres + ratings: + votes: 2 + value: 6.778324963048013 + useSceneNumbering: true + seasonFolder: true + id: 1 + airTime: airTime + overview: overview + images: + - coverType: null + remoteUrl: remoteUrl + url: url + - coverType: null + remoteUrl: remoteUrl + url: url + seasons: + - images: + - coverType: null + remoteUrl: remoteUrl + url: url + - coverType: null + remoteUrl: remoteUrl + url: url + seasonNumber: 7 + monitored: true + statistics: + previousAiring: 2000-01-23T04:56:07.000+00:00 + episodeCount: 4 + totalEpisodeCount: 5 + releaseGroups: + - releaseGroups + - releaseGroups + percentOfEpisodes: 9.369310271410669 + sizeOnDisk: 9 + nextAiring: 2000-01-23T04:56:07.000+00:00 + episodeFileCount: 1 + - images: + - coverType: null + remoteUrl: remoteUrl + url: url + - coverType: null + remoteUrl: remoteUrl + url: url + seasonNumber: 7 + monitored: true + statistics: + previousAiring: 2000-01-23T04:56:07.000+00:00 + episodeCount: 4 + totalEpisodeCount: 5 + releaseGroups: + - releaseGroups + - releaseGroups + percentOfEpisodes: 9.369310271410669 + sizeOnDisk: 9 + nextAiring: 2000-01-23T04:56:07.000+00:00 + episodeFileCount: 1 + tvdbId: 6 + firstAired: 2000-01-23T04:56:07.000+00:00 + runtime: 9 + originalLanguage: + name: name + id: 7 + certification: certification + tags: + - 1 + - 1 + sortTitle: sortTitle + folder: folder + tvRageId: 3 + ended: true + nextAiring: 2000-01-23T04:56:07.000+00:00 + addOptions: + ignoreEpisodesWithFiles: true + searchForCutoffUnmetEpisodes: true + ignoreEpisodesWithoutFiles: true + monitor: null + searchForMissingEpisodes: true + status: null + statistics: + seasonCount: 6 + episodeCount: 6 + totalEpisodeCount: 3 + releaseGroups: + - releaseGroups + - releaseGroups + percentOfEpisodes: 7.143538047012306 + sizeOnDisk: 3 + episodeFileCount: 5 outputPath: outputPath id: 0 + status: status downloadClient: downloadClient - languages: - - name: name - id: 7 - - name: name - id: 7 - estimatedCompletionTime: 2000-01-23T04:56:07.000+00:00 - customFormats: - - name: name - includeCustomFormatWhenRenaming: true - id: 7 - specifications: - - presets: - - null - - null - implementationName: implementationName - negate: true - implementation: implementation - name: name - id: 1 - fields: - - helpText: helpText - hidden: hidden - advanced: true - selectOptions: - - hint: hint - name: name - value: 5 - order: 2 - - hint: hint - name: name - value: 5 - order: 2 - privacy: null - selectOptionsProviderAction: selectOptionsProviderAction - section: section - label: label - type: type - unit: unit - helpLink: helpLink - name: name - placeholder: placeholder - value: "" - order: 5 - - helpText: helpText - hidden: hidden - advanced: true - selectOptions: - - hint: hint - name: name - value: 5 - order: 2 - - hint: hint - name: name - value: 5 - order: 2 - privacy: null - selectOptionsProviderAction: selectOptionsProviderAction - section: section - label: label - type: type - unit: unit - helpLink: helpLink - name: name - placeholder: placeholder - value: "" - order: 5 - required: true - infoLink: infoLink - - presets: - - null - - null - implementationName: implementationName - negate: true - implementation: implementation - name: name - id: 1 - fields: - - helpText: helpText - hidden: hidden - advanced: true - selectOptions: - - hint: hint - name: name - value: 5 - order: 2 - - hint: hint - name: name - value: 5 - order: 2 - privacy: null - selectOptionsProviderAction: selectOptionsProviderAction - section: section - label: label - type: type - unit: unit - helpLink: helpLink - name: name - placeholder: placeholder - value: "" - order: 5 - - helpText: helpText - hidden: hidden - advanced: true - selectOptions: - - hint: hint - name: name - value: 5 - order: 2 - - hint: hint - name: name - value: 5 - order: 2 - privacy: null - selectOptionsProviderAction: selectOptionsProviderAction - section: section - label: label - type: type - unit: unit - helpLink: helpLink - name: name - placeholder: placeholder - value: "" - order: 5 - required: true - infoLink: infoLink - - name: name - includeCustomFormatWhenRenaming: true - id: 7 - specifications: - - presets: - - null - - null - implementationName: implementationName - negate: true - implementation: implementation - name: name - id: 1 - fields: - - helpText: helpText - hidden: hidden - advanced: true - selectOptions: - - hint: hint - name: name - value: 5 - order: 2 - - hint: hint - name: name - value: 5 - order: 2 - privacy: null - selectOptionsProviderAction: selectOptionsProviderAction - section: section - label: label - type: type - unit: unit - helpLink: helpLink - name: name - placeholder: placeholder - value: "" - order: 5 - - helpText: helpText - hidden: hidden - advanced: true - selectOptions: - - hint: hint - name: name - value: 5 - order: 2 - - hint: hint - name: name - value: 5 - order: 2 - privacy: null - selectOptionsProviderAction: selectOptionsProviderAction - section: section - label: label - type: type - unit: unit - helpLink: helpLink - name: name - placeholder: placeholder - value: "" - order: 5 - required: true - infoLink: infoLink - - presets: - - null - - null - implementationName: implementationName - negate: true - implementation: implementation - name: name - id: 1 - fields: - - helpText: helpText - hidden: hidden - advanced: true - selectOptions: - - hint: hint - name: name - value: 5 - order: 2 - - hint: hint - name: name - value: 5 - order: 2 - privacy: null - selectOptionsProviderAction: selectOptionsProviderAction - section: section - label: label - type: type - unit: unit - helpLink: helpLink - name: name - placeholder: placeholder - value: "" - order: 5 - - helpText: helpText - hidden: hidden - advanced: true - selectOptions: - - hint: hint - name: name - value: 5 - order: 2 - - hint: hint - name: name - value: 5 - order: 2 - privacy: null - selectOptionsProviderAction: selectOptionsProviderAction - section: section - label: label - type: type - unit: unit - helpLink: helpLink - name: name - placeholder: placeholder - value: "" - order: 5 - required: true - infoLink: infoLink - errorMessage: errorMessage - episodeHasFile: true - seasonNumber: 5 - indexer: indexer - timeleft: timeleft - trackedDownloadState: null - trackedDownloadStatus: null - quality: - quality: - name: name - id: 9 - source: null - resolution: 3 - revision: - real: 4 - version: 2 - isRepack: true - size: 5.637376656633329 - series: - profileName: profileName - tvMazeId: 6 - previousAiring: 2000-01-23T04:56:07.000+00:00 - alternateTitles: - - sceneSeasonNumber: 6 - sceneOrigin: sceneOrigin - comment: comment - seasonNumber: 1 - title: title - - sceneSeasonNumber: 6 - sceneOrigin: sceneOrigin - comment: comment - seasonNumber: 1 - title: title - year: 6 - rootFolderPath: rootFolderPath - added: 2000-01-23T04:56:07.000+00:00 - imdbId: imdbId - remotePoster: remotePoster - languageProfileId: 0 - title: title - network: network - monitored: true - cleanTitle: cleanTitle - path: path - titleSlug: titleSlug - episodesChanged: true - qualityProfileId: 8 - seriesType: null - genres: - - genres - - genres - ratings: - votes: 2 - value: 6.778324963048013 - useSceneNumbering: true - seasonFolder: true - id: 1 - airTime: airTime - overview: overview - images: - - coverType: null - remoteUrl: remoteUrl - url: url - - coverType: null - remoteUrl: remoteUrl - url: url - seasons: - - images: - - coverType: null - remoteUrl: remoteUrl - url: url - - coverType: null - remoteUrl: remoteUrl - url: url - seasonNumber: 7 - monitored: true - statistics: - previousAiring: 2000-01-23T04:56:07.000+00:00 - episodeCount: 4 - totalEpisodeCount: 5 - releaseGroups: - - releaseGroups - - releaseGroups - percentOfEpisodes: 9.369310271410669 - sizeOnDisk: 9 - nextAiring: 2000-01-23T04:56:07.000+00:00 - episodeFileCount: 1 - - images: - - coverType: null - remoteUrl: remoteUrl - url: url - - coverType: null - remoteUrl: remoteUrl - url: url - seasonNumber: 7 - monitored: true - statistics: - previousAiring: 2000-01-23T04:56:07.000+00:00 - episodeCount: 4 - totalEpisodeCount: 5 - releaseGroups: - - releaseGroups - - releaseGroups - percentOfEpisodes: 9.369310271410669 - sizeOnDisk: 9 - nextAiring: 2000-01-23T04:56:07.000+00:00 - episodeFileCount: 1 - tvdbId: 6 - firstAired: 2000-01-23T04:56:07.000+00:00 - runtime: 9 - originalLanguage: - name: name - id: 7 - certification: certification - tags: - - 1 - - 1 - sortTitle: sortTitle - folder: folder - tvRageId: 3 - ended: true - nextAiring: 2000-01-23T04:56:07.000+00:00 - addOptions: - ignoreEpisodesWithFiles: true - searchForCutoffUnmetEpisodes: true - ignoreEpisodesWithoutFiles: true - monitor: null - searchForMissingEpisodes: true - status: null - statistics: - seasonCount: 6 - episodeCount: 6 - totalEpisodeCount: 3 - releaseGroups: - - releaseGroups - - releaseGroups - percentOfEpisodes: 7.143538047012306 - sizeOnDisk: 3 - episodeFileCount: 5 - status: status - properties: - id: - format: int32 - type: integer - seriesId: - format: int32 - nullable: true - type: integer - episodeId: - format: int32 - nullable: true - type: integer - seasonNumber: - format: int32 - nullable: true - type: integer - series: - $ref: '#/components/schemas/SeriesResource' - episode: - $ref: '#/components/schemas/EpisodeResource' - languages: - items: - $ref: '#/components/schemas/Language' - nullable: true - type: array - quality: - $ref: '#/components/schemas/QualityModel' - customFormats: - items: - $ref: '#/components/schemas/CustomFormatResource' - nullable: true - type: array - size: - format: double - type: number - title: - nullable: true - type: string - sizeleft: - format: double - type: number - timeleft: - type: string - estimatedCompletionTime: - format: date-time - nullable: true - type: string - status: - nullable: true - type: string - trackedDownloadStatus: - $ref: '#/components/schemas/TrackedDownloadStatus' - trackedDownloadState: - $ref: '#/components/schemas/TrackedDownloadState' - statusMessages: - items: - $ref: '#/components/schemas/TrackedDownloadStatusMessage' - nullable: true - type: array - errorMessage: - nullable: true - type: string - downloadId: - nullable: true - type: string - protocol: - $ref: '#/components/schemas/DownloadProtocol' - downloadClient: - nullable: true - type: string - indexer: - nullable: true - type: string - outputPath: - nullable: true - type: string - episodeHasFile: - type: boolean - type: object - QueueResourcePagingResource: - additionalProperties: false - example: - sortDirection: null - totalRecords: 1 - sortKey: sortKey - records: - - downloadId: downloadId - episode: - sceneSeasonNumber: 9 - airDateUtc: 2000-01-23T04:56:07.000+00:00 - airDate: airDate - episodeFileId: 5 - title: title - episodeNumber: 2 - seriesId: 6 - monitored: true - seriesTitle: seriesTitle - absoluteEpisodeNumber: 4 - grabbed: true - id: 0 - sceneAbsoluteEpisodeNumber: 5 - overview: overview - images: - - coverType: null - remoteUrl: remoteUrl - url: url - - coverType: null - remoteUrl: remoteUrl - url: url - tvdbId: 1 - runtime: 7 - episodeFile: - languages: - - name: name - id: 7 - - name: name - id: 7 - sceneName: sceneName - customFormats: - - name: name - includeCustomFormatWhenRenaming: true - id: 7 - specifications: - - presets: - - null - - null - implementationName: implementationName - negate: true - implementation: implementation - name: name - id: 1 - fields: - - helpText: helpText - hidden: hidden - advanced: true - selectOptions: - - hint: hint - name: name - value: 5 - order: 2 - - hint: hint - name: name - value: 5 - order: 2 - privacy: null - selectOptionsProviderAction: selectOptionsProviderAction - section: section - label: label - type: type - unit: unit - helpLink: helpLink - name: name - placeholder: placeholder - value: "" - order: 5 - - helpText: helpText - hidden: hidden - advanced: true - selectOptions: - - hint: hint - name: name - value: 5 - order: 2 - - hint: hint - name: name - value: 5 - order: 2 - privacy: null - selectOptionsProviderAction: selectOptionsProviderAction - section: section - label: label - type: type - unit: unit - helpLink: helpLink - name: name - placeholder: placeholder - value: "" - order: 5 - required: true - infoLink: infoLink - - presets: - - null - - null - implementationName: implementationName - negate: true - implementation: implementation - name: name - id: 1 - fields: - - helpText: helpText - hidden: hidden - advanced: true - selectOptions: - - hint: hint - name: name - value: 5 - order: 2 - - hint: hint - name: name - value: 5 - order: 2 - privacy: null - selectOptionsProviderAction: selectOptionsProviderAction - section: section - label: label - type: type - unit: unit - helpLink: helpLink - name: name - placeholder: placeholder - value: "" - order: 5 - - helpText: helpText - hidden: hidden - advanced: true - selectOptions: - - hint: hint - name: name - value: 5 - order: 2 - - hint: hint - name: name - value: 5 - order: 2 - privacy: null - selectOptionsProviderAction: selectOptionsProviderAction - section: section - label: label - type: type - unit: unit - helpLink: helpLink - name: name - placeholder: placeholder - value: "" - order: 5 - required: true - infoLink: infoLink - - name: name - includeCustomFormatWhenRenaming: true - id: 7 - specifications: - - presets: - - null - - null - implementationName: implementationName - negate: true - implementation: implementation - name: name - id: 1 - fields: - - helpText: helpText - hidden: hidden - advanced: true - selectOptions: - - hint: hint - name: name - value: 5 - order: 2 - - hint: hint - name: name - value: 5 - order: 2 - privacy: null - selectOptionsProviderAction: selectOptionsProviderAction - section: section - label: label - type: type - unit: unit - helpLink: helpLink - name: name - placeholder: placeholder - value: "" - order: 5 - - helpText: helpText - hidden: hidden - advanced: true - selectOptions: - - hint: hint - name: name - value: 5 - order: 2 - - hint: hint - name: name - value: 5 - order: 2 - privacy: null - selectOptionsProviderAction: selectOptionsProviderAction - section: section - label: label - type: type - unit: unit - helpLink: helpLink - name: name - placeholder: placeholder - value: "" - order: 5 - required: true - infoLink: infoLink - - presets: - - null - - null - implementationName: implementationName - negate: true - implementation: implementation - name: name - id: 1 - fields: - - helpText: helpText - hidden: hidden - advanced: true - selectOptions: - - hint: hint - name: name - value: 5 - order: 2 - - hint: hint - name: name - value: 5 - order: 2 - privacy: null - selectOptionsProviderAction: selectOptionsProviderAction - section: section - label: label - type: type - unit: unit - helpLink: helpLink - name: name - placeholder: placeholder - value: "" - order: 5 - - helpText: helpText - hidden: hidden - advanced: true - selectOptions: - - hint: hint - name: name - value: 5 - order: 2 - - hint: hint - name: name - value: 5 - order: 2 - privacy: null - selectOptionsProviderAction: selectOptionsProviderAction - section: section - label: label - type: type - unit: unit - helpLink: helpLink - name: name - placeholder: placeholder - value: "" - order: 5 - required: true - infoLink: infoLink - seasonNumber: 2 - seriesId: 3 - dateAdded: 2000-01-23T04:56:07.000+00:00 - quality: - quality: - name: name - id: 9 - source: null - resolution: 3 - revision: - real: 4 - version: 2 - isRepack: true - path: path - size: 4 - relativePath: relativePath - id: 9 - mediaInfo: - subtitles: subtitles - audioLanguages: audioLanguages - videoDynamicRange: videoDynamicRange - videoBitDepth: 6 - audioStreamCount: 1 - audioCodec: audioCodec - resolution: resolution - audioBitrate: 1 - videoFps: 1.1730742509559433 - videoBitrate: 7 - audioChannels: 1.0246457001441578 - id: 7 - videoDynamicRangeType: videoDynamicRangeType - runTime: runTime - scanType: scanType - videoCodec: videoCodec - qualityCutoffNotMet: true - releaseGroup: releaseGroup - seasonNumber: 5 - sceneEpisodeNumber: 9 - grabDate: 2000-01-23T04:56:07.000+00:00 - hasFile: true - series: - profileName: profileName - tvMazeId: 6 - previousAiring: 2000-01-23T04:56:07.000+00:00 - alternateTitles: - - sceneSeasonNumber: 6 - sceneOrigin: sceneOrigin - comment: comment - seasonNumber: 1 - title: title - - sceneSeasonNumber: 6 - sceneOrigin: sceneOrigin - comment: comment - seasonNumber: 1 - title: title - year: 6 - rootFolderPath: rootFolderPath - added: 2000-01-23T04:56:07.000+00:00 - imdbId: imdbId - remotePoster: remotePoster - languageProfileId: 0 - title: title - network: network - monitored: true - cleanTitle: cleanTitle - path: path - titleSlug: titleSlug - episodesChanged: true - qualityProfileId: 8 - seriesType: null - genres: - - genres - - genres - ratings: - votes: 2 - value: 6.778324963048013 - useSceneNumbering: true - seasonFolder: true - id: 1 - airTime: airTime - overview: overview - images: - - coverType: null - remoteUrl: remoteUrl - url: url - - coverType: null - remoteUrl: remoteUrl - url: url - seasons: - - images: - - coverType: null - remoteUrl: remoteUrl - url: url - - coverType: null - remoteUrl: remoteUrl - url: url - seasonNumber: 7 - monitored: true - statistics: - previousAiring: 2000-01-23T04:56:07.000+00:00 - episodeCount: 4 - totalEpisodeCount: 5 - releaseGroups: - - releaseGroups - - releaseGroups - percentOfEpisodes: 9.369310271410669 - sizeOnDisk: 9 - nextAiring: 2000-01-23T04:56:07.000+00:00 - episodeFileCount: 1 - - images: - - coverType: null - remoteUrl: remoteUrl - url: url - - coverType: null - remoteUrl: remoteUrl - url: url - seasonNumber: 7 - monitored: true - statistics: - previousAiring: 2000-01-23T04:56:07.000+00:00 - episodeCount: 4 - totalEpisodeCount: 5 - releaseGroups: - - releaseGroups - - releaseGroups - percentOfEpisodes: 9.369310271410669 - sizeOnDisk: 9 - nextAiring: 2000-01-23T04:56:07.000+00:00 - episodeFileCount: 1 - tvdbId: 6 - firstAired: 2000-01-23T04:56:07.000+00:00 - runtime: 9 - originalLanguage: - name: name - id: 7 - certification: certification - tags: - - 1 - - 1 - sortTitle: sortTitle - folder: folder - tvRageId: 3 - ended: true - nextAiring: 2000-01-23T04:56:07.000+00:00 - addOptions: - ignoreEpisodesWithFiles: true - searchForCutoffUnmetEpisodes: true - ignoreEpisodesWithoutFiles: true - monitor: null - searchForMissingEpisodes: true - status: null - statistics: - seasonCount: 6 - episodeCount: 6 - totalEpisodeCount: 3 - releaseGroups: - - releaseGroups - - releaseGroups - percentOfEpisodes: 7.143538047012306 - sizeOnDisk: 3 - episodeFileCount: 5 - unverifiedSceneNumbering: true - endTime: 2000-01-23T04:56:07.000+00:00 - episodeId: 1 - title: title - seriesId: 6 - sizeleft: 2.3021358869347655 - statusMessages: - - messages: - - messages - - messages - title: title - - messages: - - messages - - messages - title: title - protocol: null - outputPath: outputPath - id: 0 - downloadClient: downloadClient - languages: + properties: + id: + format: int32 + type: integer + seriesId: + format: int32 + nullable: true + type: integer + episodeId: + format: int32 + nullable: true + type: integer + series: + $ref: '#/components/schemas/SeriesResource' + episode: + $ref: '#/components/schemas/EpisodeResource' + languages: + items: + $ref: '#/components/schemas/Language' + nullable: true + type: array + quality: + $ref: '#/components/schemas/QualityModel' + customFormats: + items: + $ref: '#/components/schemas/CustomFormatResource' + nullable: true + type: array + size: + format: double + type: number + title: + nullable: true + type: string + sizeleft: + format: double + type: number + timeleft: + type: string + estimatedCompletionTime: + format: date-time + nullable: true + type: string + status: + nullable: true + type: string + trackedDownloadStatus: + $ref: '#/components/schemas/TrackedDownloadStatus' + trackedDownloadState: + $ref: '#/components/schemas/TrackedDownloadState' + statusMessages: + items: + $ref: '#/components/schemas/TrackedDownloadStatusMessage' + nullable: true + type: array + errorMessage: + nullable: true + type: string + downloadId: + nullable: true + type: string + protocol: + $ref: '#/components/schemas/DownloadProtocol' + downloadClient: + nullable: true + type: string + indexer: + nullable: true + type: string + outputPath: + nullable: true + type: string + type: object + QueueResourcePagingResource: + additionalProperties: false + example: + sortDirection: null + totalRecords: 1 + sortKey: sortKey + records: + - languages: - name: name id: 7 - name: name @@ -17901,7 +17144,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 - helpText: helpText @@ -17924,7 +17166,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 required: true @@ -17958,7 +17199,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 - helpText: helpText @@ -17981,7 +17221,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 required: true @@ -18019,64 +17258,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder - value: "" - order: 5 - - helpText: helpText - hidden: hidden - advanced: true - selectOptions: - - hint: hint - name: name - value: 5 - order: 2 - - hint: hint - name: name - value: 5 - order: 2 - privacy: null - selectOptionsProviderAction: selectOptionsProviderAction - section: section - label: label - type: type - unit: unit - helpLink: helpLink - name: name - placeholder: placeholder - value: "" - order: 5 - required: true - infoLink: infoLink - - presets: - - null - - null - implementationName: implementationName - negate: true - implementation: implementation - name: name - id: 1 - fields: - - helpText: helpText - hidden: hidden - advanced: true - selectOptions: - - hint: hint - name: name - value: 5 - order: 2 - - hint: hint - name: name - value: 5 - order: 2 - privacy: null - selectOptionsProviderAction: selectOptionsProviderAction - section: section - label: label - type: type - unit: unit - helpLink: helpLink - name: name - placeholder: placeholder value: "" order: 5 - helpText: helpText @@ -18089,177 +17270,80 @@ components: order: 2 - hint: hint name: name - value: 5 - order: 2 - privacy: null - selectOptionsProviderAction: selectOptionsProviderAction - section: section - label: label - type: type - unit: unit - helpLink: helpLink - name: name - placeholder: placeholder - value: "" - order: 5 - required: true - infoLink: infoLink - errorMessage: errorMessage - episodeHasFile: true - seasonNumber: 5 - indexer: indexer - timeleft: timeleft - trackedDownloadState: null - trackedDownloadStatus: null - quality: - quality: - name: name - id: 9 - source: null - resolution: 3 - revision: - real: 4 - version: 2 - isRepack: true - size: 5.637376656633329 - series: - profileName: profileName - tvMazeId: 6 - previousAiring: 2000-01-23T04:56:07.000+00:00 - alternateTitles: - - sceneSeasonNumber: 6 - sceneOrigin: sceneOrigin - comment: comment - seasonNumber: 1 - title: title - - sceneSeasonNumber: 6 - sceneOrigin: sceneOrigin - comment: comment - seasonNumber: 1 - title: title - year: 6 - rootFolderPath: rootFolderPath - added: 2000-01-23T04:56:07.000+00:00 - imdbId: imdbId - remotePoster: remotePoster - languageProfileId: 0 - title: title - network: network - monitored: true - cleanTitle: cleanTitle - path: path - titleSlug: titleSlug - episodesChanged: true - qualityProfileId: 8 - seriesType: null - genres: - - genres - - genres - ratings: - votes: 2 - value: 6.778324963048013 - useSceneNumbering: true - seasonFolder: true - id: 1 - airTime: airTime - overview: overview - images: - - coverType: null - remoteUrl: remoteUrl - url: url - - coverType: null - remoteUrl: remoteUrl - url: url - seasons: - - images: - - coverType: null - remoteUrl: remoteUrl - url: url - - coverType: null - remoteUrl: remoteUrl - url: url - seasonNumber: 7 - monitored: true - statistics: - previousAiring: 2000-01-23T04:56:07.000+00:00 - episodeCount: 4 - totalEpisodeCount: 5 - releaseGroups: - - releaseGroups - - releaseGroups - percentOfEpisodes: 9.369310271410669 - sizeOnDisk: 9 - nextAiring: 2000-01-23T04:56:07.000+00:00 - episodeFileCount: 1 - - images: - - coverType: null - remoteUrl: remoteUrl - url: url - - coverType: null - remoteUrl: remoteUrl - url: url - seasonNumber: 7 - monitored: true - statistics: - previousAiring: 2000-01-23T04:56:07.000+00:00 - episodeCount: 4 - totalEpisodeCount: 5 - releaseGroups: - - releaseGroups - - releaseGroups - percentOfEpisodes: 9.369310271410669 - sizeOnDisk: 9 - nextAiring: 2000-01-23T04:56:07.000+00:00 - episodeFileCount: 1 - tvdbId: 6 - firstAired: 2000-01-23T04:56:07.000+00:00 - runtime: 9 - originalLanguage: + value: 5 + order: 2 + privacy: null + selectOptionsProviderAction: selectOptionsProviderAction + section: section + label: label + type: type + unit: unit + helpLink: helpLink + name: name + value: "" + order: 5 + required: true + infoLink: infoLink + - presets: + - null + - null + implementationName: implementationName + negate: true + implementation: implementation name: name - id: 7 - certification: certification - tags: - - 1 - - 1 - sortTitle: sortTitle - folder: folder - tvRageId: 3 - ended: true - nextAiring: 2000-01-23T04:56:07.000+00:00 - addOptions: - ignoreEpisodesWithFiles: true - searchForCutoffUnmetEpisodes: true - ignoreEpisodesWithoutFiles: true - monitor: null - searchForMissingEpisodes: true - status: null - statistics: - seasonCount: 6 - episodeCount: 6 - totalEpisodeCount: 3 - releaseGroups: - - releaseGroups - - releaseGroups - percentOfEpisodes: 7.143538047012306 - sizeOnDisk: 3 - episodeFileCount: 5 - status: status - - downloadId: downloadId + id: 1 + fields: + - helpText: helpText + hidden: hidden + advanced: true + selectOptions: + - hint: hint + name: name + value: 5 + order: 2 + - hint: hint + name: name + value: 5 + order: 2 + privacy: null + selectOptionsProviderAction: selectOptionsProviderAction + section: section + label: label + type: type + unit: unit + helpLink: helpLink + name: name + value: "" + order: 5 + - helpText: helpText + hidden: hidden + advanced: true + selectOptions: + - hint: hint + name: name + value: 5 + order: 2 + - hint: hint + name: name + value: 5 + order: 2 + privacy: null + selectOptionsProviderAction: selectOptionsProviderAction + section: section + label: label + type: type + unit: unit + helpLink: helpLink + name: name + value: "" + order: 5 + required: true + infoLink: infoLink + errorMessage: errorMessage + downloadId: downloadId episode: - sceneSeasonNumber: 9 - airDateUtc: 2000-01-23T04:56:07.000+00:00 - airDate: airDate - episodeFileId: 5 - title: title - episodeNumber: 2 - seriesId: 6 - monitored: true - seriesTitle: seriesTitle - absoluteEpisodeNumber: 4 - grabbed: true - id: 0 - sceneAbsoluteEpisodeNumber: 5 overview: overview + sceneSeasonNumber: 9 images: - coverType: null remoteUrl: remoteUrl @@ -18268,7 +17352,8 @@ components: remoteUrl: remoteUrl url: url tvdbId: 1 - runtime: 7 + airDateUtc: 2000-01-23T04:56:07.000+00:00 + airDate: airDate episodeFile: languages: - name: name @@ -18310,7 +17395,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 - helpText: helpText @@ -18333,7 +17417,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 required: true @@ -18367,7 +17450,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 - helpText: helpText @@ -18390,7 +17472,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 required: true @@ -18428,7 +17509,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 - helpText: helpText @@ -18451,7 +17531,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 required: true @@ -18485,7 +17564,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 - helpText: helpText @@ -18508,13 +17586,12 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 required: true infoLink: infoLink - seasonNumber: 2 - seriesId: 3 + seasonNumber: 3 + seriesId: 9 dateAdded: 2000-01-23T04:56:07.000+00:00 quality: quality: @@ -18527,30 +17604,37 @@ components: version: 2 isRepack: true path: path - size: 4 + size: 2 relativePath: relativePath - id: 9 + id: 7 mediaInfo: subtitles: subtitles audioLanguages: audioLanguages videoDynamicRange: videoDynamicRange - videoBitDepth: 6 + videoBitDepth: 1 audioStreamCount: 1 audioCodec: audioCodec resolution: resolution - audioBitrate: 1 - videoFps: 1.1730742509559433 - videoBitrate: 7 - audioChannels: 1.0246457001441578 - id: 7 + audioBitrate: 7 + videoFps: 7.457744773683766 + videoBitrate: 6 + audioChannels: 1.2315135367772556 + id: 4 videoDynamicRangeType: videoDynamicRangeType runTime: runTime scanType: scanType videoCodec: videoCodec qualityCutoffNotMet: true releaseGroup: releaseGroup + episodeFileId: 5 seasonNumber: 5 - sceneEpisodeNumber: 9 + title: title + episodeNumber: 2 + seriesId: 6 + monitored: true + sceneEpisodeNumber: 5 + seriesTitle: seriesTitle + absoluteEpisodeNumber: 1 grabDate: 2000-01-23T04:56:07.000+00:00 hasFile: true series: @@ -18675,11 +17759,28 @@ components: sizeOnDisk: 3 episodeFileCount: 5 unverifiedSceneNumbering: true + grabbed: true + id: 0 endTime: 2000-01-23T04:56:07.000+00:00 + sceneAbsoluteEpisodeNumber: 4 + indexer: indexer episodeId: 1 title: title + timeleft: timeleft + trackedDownloadState: null + trackedDownloadStatus: null seriesId: 6 - sizeleft: 2.3021358869347655 + sizeleft: 5.637376656633329 + quality: + quality: + name: name + id: 9 + source: null + resolution: 3 + revision: + real: 4 + version: 2 + isRepack: true statusMessages: - messages: - messages @@ -18690,10 +17791,133 @@ components: - messages title: title protocol: null + size: 5.962133916683182 + series: + profileName: profileName + tvMazeId: 6 + previousAiring: 2000-01-23T04:56:07.000+00:00 + alternateTitles: + - sceneSeasonNumber: 6 + sceneOrigin: sceneOrigin + comment: comment + seasonNumber: 1 + title: title + - sceneSeasonNumber: 6 + sceneOrigin: sceneOrigin + comment: comment + seasonNumber: 1 + title: title + year: 6 + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + imdbId: imdbId + remotePoster: remotePoster + languageProfileId: 0 + title: title + network: network + monitored: true + cleanTitle: cleanTitle + path: path + titleSlug: titleSlug + episodesChanged: true + qualityProfileId: 8 + seriesType: null + genres: + - genres + - genres + ratings: + votes: 2 + value: 6.778324963048013 + useSceneNumbering: true + seasonFolder: true + id: 1 + airTime: airTime + overview: overview + images: + - coverType: null + remoteUrl: remoteUrl + url: url + - coverType: null + remoteUrl: remoteUrl + url: url + seasons: + - images: + - coverType: null + remoteUrl: remoteUrl + url: url + - coverType: null + remoteUrl: remoteUrl + url: url + seasonNumber: 7 + monitored: true + statistics: + previousAiring: 2000-01-23T04:56:07.000+00:00 + episodeCount: 4 + totalEpisodeCount: 5 + releaseGroups: + - releaseGroups + - releaseGroups + percentOfEpisodes: 9.369310271410669 + sizeOnDisk: 9 + nextAiring: 2000-01-23T04:56:07.000+00:00 + episodeFileCount: 1 + - images: + - coverType: null + remoteUrl: remoteUrl + url: url + - coverType: null + remoteUrl: remoteUrl + url: url + seasonNumber: 7 + monitored: true + statistics: + previousAiring: 2000-01-23T04:56:07.000+00:00 + episodeCount: 4 + totalEpisodeCount: 5 + releaseGroups: + - releaseGroups + - releaseGroups + percentOfEpisodes: 9.369310271410669 + sizeOnDisk: 9 + nextAiring: 2000-01-23T04:56:07.000+00:00 + episodeFileCount: 1 + tvdbId: 6 + firstAired: 2000-01-23T04:56:07.000+00:00 + runtime: 9 + originalLanguage: + name: name + id: 7 + certification: certification + tags: + - 1 + - 1 + sortTitle: sortTitle + folder: folder + tvRageId: 3 + ended: true + nextAiring: 2000-01-23T04:56:07.000+00:00 + addOptions: + ignoreEpisodesWithFiles: true + searchForCutoffUnmetEpisodes: true + ignoreEpisodesWithoutFiles: true + monitor: null + searchForMissingEpisodes: true + status: null + statistics: + seasonCount: 6 + episodeCount: 6 + totalEpisodeCount: 3 + releaseGroups: + - releaseGroups + - releaseGroups + percentOfEpisodes: 7.143538047012306 + sizeOnDisk: 3 + episodeFileCount: 5 outputPath: outputPath id: 0 + status: status downloadClient: downloadClient - languages: + - languages: - name: name id: 7 - name: name @@ -18733,7 +17957,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 - helpText: helpText @@ -18756,7 +17979,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 required: true @@ -18790,7 +18012,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 - helpText: helpText @@ -18813,7 +18034,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 required: true @@ -18851,7 +18071,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 - helpText: helpText @@ -18874,7 +18093,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 required: true @@ -18908,7 +18126,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 - helpText: helpText @@ -18921,28 +18138,452 @@ components: order: 2 - hint: hint name: name - value: 5 - order: 2 - privacy: null - selectOptionsProviderAction: selectOptionsProviderAction - section: section - label: label - type: type - unit: unit - helpLink: helpLink + value: 5 + order: 2 + privacy: null + selectOptionsProviderAction: selectOptionsProviderAction + section: section + label: label + type: type + unit: unit + helpLink: helpLink + name: name + value: "" + order: 5 + required: true + infoLink: infoLink + errorMessage: errorMessage + downloadId: downloadId + episode: + overview: overview + sceneSeasonNumber: 9 + images: + - coverType: null + remoteUrl: remoteUrl + url: url + - coverType: null + remoteUrl: remoteUrl + url: url + tvdbId: 1 + airDateUtc: 2000-01-23T04:56:07.000+00:00 + airDate: airDate + episodeFile: + languages: + - name: name + id: 7 + - name: name + id: 7 + sceneName: sceneName + customFormats: + - name: name + includeCustomFormatWhenRenaming: true + id: 7 + specifications: + - presets: + - null + - null + implementationName: implementationName + negate: true + implementation: implementation + name: name + id: 1 + fields: + - helpText: helpText + hidden: hidden + advanced: true + selectOptions: + - hint: hint + name: name + value: 5 + order: 2 + - hint: hint + name: name + value: 5 + order: 2 + privacy: null + selectOptionsProviderAction: selectOptionsProviderAction + section: section + label: label + type: type + unit: unit + helpLink: helpLink + name: name + value: "" + order: 5 + - helpText: helpText + hidden: hidden + advanced: true + selectOptions: + - hint: hint + name: name + value: 5 + order: 2 + - hint: hint + name: name + value: 5 + order: 2 + privacy: null + selectOptionsProviderAction: selectOptionsProviderAction + section: section + label: label + type: type + unit: unit + helpLink: helpLink + name: name + value: "" + order: 5 + required: true + infoLink: infoLink + - presets: + - null + - null + implementationName: implementationName + negate: true + implementation: implementation + name: name + id: 1 + fields: + - helpText: helpText + hidden: hidden + advanced: true + selectOptions: + - hint: hint + name: name + value: 5 + order: 2 + - hint: hint + name: name + value: 5 + order: 2 + privacy: null + selectOptionsProviderAction: selectOptionsProviderAction + section: section + label: label + type: type + unit: unit + helpLink: helpLink + name: name + value: "" + order: 5 + - helpText: helpText + hidden: hidden + advanced: true + selectOptions: + - hint: hint + name: name + value: 5 + order: 2 + - hint: hint + name: name + value: 5 + order: 2 + privacy: null + selectOptionsProviderAction: selectOptionsProviderAction + section: section + label: label + type: type + unit: unit + helpLink: helpLink + name: name + value: "" + order: 5 + required: true + infoLink: infoLink + - name: name + includeCustomFormatWhenRenaming: true + id: 7 + specifications: + - presets: + - null + - null + implementationName: implementationName + negate: true + implementation: implementation + name: name + id: 1 + fields: + - helpText: helpText + hidden: hidden + advanced: true + selectOptions: + - hint: hint + name: name + value: 5 + order: 2 + - hint: hint + name: name + value: 5 + order: 2 + privacy: null + selectOptionsProviderAction: selectOptionsProviderAction + section: section + label: label + type: type + unit: unit + helpLink: helpLink + name: name + value: "" + order: 5 + - helpText: helpText + hidden: hidden + advanced: true + selectOptions: + - hint: hint + name: name + value: 5 + order: 2 + - hint: hint + name: name + value: 5 + order: 2 + privacy: null + selectOptionsProviderAction: selectOptionsProviderAction + section: section + label: label + type: type + unit: unit + helpLink: helpLink + name: name + value: "" + order: 5 + required: true + infoLink: infoLink + - presets: + - null + - null + implementationName: implementationName + negate: true + implementation: implementation + name: name + id: 1 + fields: + - helpText: helpText + hidden: hidden + advanced: true + selectOptions: + - hint: hint + name: name + value: 5 + order: 2 + - hint: hint + name: name + value: 5 + order: 2 + privacy: null + selectOptionsProviderAction: selectOptionsProviderAction + section: section + label: label + type: type + unit: unit + helpLink: helpLink + name: name + value: "" + order: 5 + - helpText: helpText + hidden: hidden + advanced: true + selectOptions: + - hint: hint + name: name + value: 5 + order: 2 + - hint: hint + name: name + value: 5 + order: 2 + privacy: null + selectOptionsProviderAction: selectOptionsProviderAction + section: section + label: label + type: type + unit: unit + helpLink: helpLink + name: name + value: "" + order: 5 + required: true + infoLink: infoLink + seasonNumber: 3 + seriesId: 9 + dateAdded: 2000-01-23T04:56:07.000+00:00 + quality: + quality: + name: name + id: 9 + source: null + resolution: 3 + revision: + real: 4 + version: 2 + isRepack: true + path: path + size: 2 + relativePath: relativePath + id: 7 + mediaInfo: + subtitles: subtitles + audioLanguages: audioLanguages + videoDynamicRange: videoDynamicRange + videoBitDepth: 1 + audioStreamCount: 1 + audioCodec: audioCodec + resolution: resolution + audioBitrate: 7 + videoFps: 7.457744773683766 + videoBitrate: 6 + audioChannels: 1.2315135367772556 + id: 4 + videoDynamicRangeType: videoDynamicRangeType + runTime: runTime + scanType: scanType + videoCodec: videoCodec + qualityCutoffNotMet: true + releaseGroup: releaseGroup + episodeFileId: 5 + seasonNumber: 5 + title: title + episodeNumber: 2 + seriesId: 6 + monitored: true + sceneEpisodeNumber: 5 + seriesTitle: seriesTitle + absoluteEpisodeNumber: 1 + grabDate: 2000-01-23T04:56:07.000+00:00 + hasFile: true + series: + profileName: profileName + tvMazeId: 6 + previousAiring: 2000-01-23T04:56:07.000+00:00 + alternateTitles: + - sceneSeasonNumber: 6 + sceneOrigin: sceneOrigin + comment: comment + seasonNumber: 1 + title: title + - sceneSeasonNumber: 6 + sceneOrigin: sceneOrigin + comment: comment + seasonNumber: 1 + title: title + year: 6 + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + imdbId: imdbId + remotePoster: remotePoster + languageProfileId: 0 + title: title + network: network + monitored: true + cleanTitle: cleanTitle + path: path + titleSlug: titleSlug + episodesChanged: true + qualityProfileId: 8 + seriesType: null + genres: + - genres + - genres + ratings: + votes: 2 + value: 6.778324963048013 + useSceneNumbering: true + seasonFolder: true + id: 1 + airTime: airTime + overview: overview + images: + - coverType: null + remoteUrl: remoteUrl + url: url + - coverType: null + remoteUrl: remoteUrl + url: url + seasons: + - images: + - coverType: null + remoteUrl: remoteUrl + url: url + - coverType: null + remoteUrl: remoteUrl + url: url + seasonNumber: 7 + monitored: true + statistics: + previousAiring: 2000-01-23T04:56:07.000+00:00 + episodeCount: 4 + totalEpisodeCount: 5 + releaseGroups: + - releaseGroups + - releaseGroups + percentOfEpisodes: 9.369310271410669 + sizeOnDisk: 9 + nextAiring: 2000-01-23T04:56:07.000+00:00 + episodeFileCount: 1 + - images: + - coverType: null + remoteUrl: remoteUrl + url: url + - coverType: null + remoteUrl: remoteUrl + url: url + seasonNumber: 7 + monitored: true + statistics: + previousAiring: 2000-01-23T04:56:07.000+00:00 + episodeCount: 4 + totalEpisodeCount: 5 + releaseGroups: + - releaseGroups + - releaseGroups + percentOfEpisodes: 9.369310271410669 + sizeOnDisk: 9 + nextAiring: 2000-01-23T04:56:07.000+00:00 + episodeFileCount: 1 + tvdbId: 6 + firstAired: 2000-01-23T04:56:07.000+00:00 + runtime: 9 + originalLanguage: name: name - placeholder: placeholder - value: "" - order: 5 - required: true - infoLink: infoLink - errorMessage: errorMessage - episodeHasFile: true - seasonNumber: 5 + id: 7 + certification: certification + tags: + - 1 + - 1 + sortTitle: sortTitle + folder: folder + tvRageId: 3 + ended: true + nextAiring: 2000-01-23T04:56:07.000+00:00 + addOptions: + ignoreEpisodesWithFiles: true + searchForCutoffUnmetEpisodes: true + ignoreEpisodesWithoutFiles: true + monitor: null + searchForMissingEpisodes: true + status: null + statistics: + seasonCount: 6 + episodeCount: 6 + totalEpisodeCount: 3 + releaseGroups: + - releaseGroups + - releaseGroups + percentOfEpisodes: 7.143538047012306 + sizeOnDisk: 3 + episodeFileCount: 5 + unverifiedSceneNumbering: true + grabbed: true + id: 0 + endTime: 2000-01-23T04:56:07.000+00:00 + sceneAbsoluteEpisodeNumber: 4 indexer: indexer + episodeId: 1 + title: title timeleft: timeleft trackedDownloadState: null trackedDownloadStatus: null + seriesId: 6 + sizeleft: 5.637376656633329 quality: quality: name: name @@ -18953,7 +18594,17 @@ components: real: 4 version: 2 isRepack: true - size: 5.637376656633329 + statusMessages: + - messages: + - messages + - messages + title: title + - messages: + - messages + - messages + title: title + protocol: null + size: 5.962133916683182 series: profileName: profileName tvMazeId: 6 @@ -19075,7 +18726,10 @@ components: percentOfEpisodes: 7.143538047012306 sizeOnDisk: 3 episodeFileCount: 5 + outputPath: outputPath + id: 0 status: status + downloadClient: downloadClient pageSize: 6 page: 0 filters: @@ -19172,32 +18826,6 @@ components: - permanent - temporary type: string - ReleaseEpisodeResource: - additionalProperties: false - example: - absoluteEpisodeNumber: 4 - id: 6 - seasonNumber: 7 - title: title - episodeNumber: 1 - properties: - id: - format: int32 - type: integer - seasonNumber: - format: int32 - type: integer - episodeNumber: - format: int32 - type: integer - absoluteEpisodeNumber: - format: int32 - nullable: true - type: integer - title: - nullable: true - type: string - type: object ReleaseProfileResource: additionalProperties: false example: @@ -19238,14 +18866,13 @@ components: additionalProperties: false example: ageMinutes: 5.637376656633329 - leechers: 9 + leechers: 5 releaseHash: releaseHash commentUrl: commentUrl publishDate: 2000-01-23T04:56:07.000+00:00 downloadUrl: downloadUrl - episodeId: 3 - seriesId: 6 - shouldOverride: true + episodeId: 9 + seriesId: 9 approved: true protocol: null infoUrl: infoUrl @@ -19262,13 +18889,12 @@ components: episodeNumbers: - 2 - 2 - mappedSeriesId: 1 - tvdbId: 5 + tvdbId: 1 subGroup: subGroup ageHours: 5.962133916683182 isPossibleSpecialEpisode: true indexer: indexer - customFormatScore: 6 + customFormatScore: 1 quality: quality: name: name @@ -19296,29 +18922,17 @@ components: rejections: - rejections - rejections - downloadClientId: 1 rejected: true airDate: airDate - mappedEpisodeInfo: - - absoluteEpisodeNumber: 4 - id: 6 - seasonNumber: 7 - title: title - episodeNumber: 1 - - absoluteEpisodeNumber: 4 - id: 6 - seasonNumber: 7 - title: title - episodeNumber: 1 mappedAbsoluteEpisodeNumbers: - 1 - 1 infoHash: infoHash title: title seriesTitle: seriesTitle - seeders: 8 + seeders: 4 fullSeason: true - releaseWeight: 9 + releaseWeight: 7 languages: - name: name id: 7 @@ -19358,7 +18972,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 - helpText: helpText @@ -19381,7 +18994,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 required: true @@ -19415,7 +19027,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 - helpText: helpText @@ -19438,7 +19049,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 required: true @@ -19476,7 +19086,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 - helpText: helpText @@ -19499,7 +19108,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 required: true @@ -19533,7 +19141,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 - helpText: helpText @@ -19556,7 +19163,6 @@ components: unit: unit helpLink: helpLink name: name - placeholder: placeholder value: "" order: 5 required: true @@ -19565,11 +19171,8 @@ components: temporarilyRejected: true seasonNumber: 9 special: true - episodeIds: - - 6 - - 6 mappedSeasonNumber: 7 - tvRageId: 9 + tvRageId: 6 age: 1 properties: id: @@ -19662,15 +19265,6 @@ components: type: integer nullable: true type: array - mappedSeriesId: - format: int32 - nullable: true - type: integer - mappedEpisodeInfo: - items: - $ref: '#/components/schemas/ReleaseEpisodeResource' - nullable: true - type: array approved: type: boolean temporarilyRejected: @@ -19749,19 +19343,6 @@ components: format: int32 nullable: true type: integer - episodeIds: - items: - format: int32 - type: integer - nullable: true - type: array - downloadClientId: - format: int32 - nullable: true - type: integer - shouldOverride: - nullable: true - type: boolean type: object RemotePathMappingResource: additionalProperties: false diff --git a/sonarr/api_api_info.go b/sonarr/api_api_info.go index 6a429b9..3b8c3a3 100644 --- a/sonarr/api_api_info.go +++ b/sonarr/api_api_info.go @@ -19,11 +19,11 @@ import ( ) -// ApiInfoAPIService ApiInfoAPI service -type ApiInfoAPIService service +// ApiInfoApiService ApiInfoApi service +type ApiInfoApiService service type ApiGetApiRequest struct { ctx context.Context - ApiService *ApiInfoAPIService + ApiService *ApiInfoApiService } func (r ApiGetApiRequest) Execute() (*http.Response, error) { @@ -36,7 +36,7 @@ GetApi Method for GetApi @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetApiRequest */ -func (a *ApiInfoAPIService) GetApi(ctx context.Context) ApiGetApiRequest { +func (a *ApiInfoApiService) GetApi(ctx context.Context) ApiGetApiRequest { return ApiGetApiRequest{ ApiService: a, ctx: ctx, @@ -44,14 +44,14 @@ func (a *ApiInfoAPIService) GetApi(ctx context.Context) ApiGetApiRequest { } // Execute executes the request -func (a *ApiInfoAPIService) GetApiExecute(r ApiGetApiRequest) (*http.Response, error) { +func (a *ApiInfoApiService) GetApiExecute(r ApiGetApiRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ApiInfoAPIService.GetApi") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ApiInfoApiService.GetApi") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } diff --git a/sonarr/api_authentication.go b/sonarr/api_authentication.go index ce5a022..efdc736 100644 --- a/sonarr/api_authentication.go +++ b/sonarr/api_authentication.go @@ -19,11 +19,11 @@ import ( ) -// AuthenticationAPIService AuthenticationAPI service -type AuthenticationAPIService service +// AuthenticationApiService AuthenticationApi service +type AuthenticationApiService service type ApiCreateLoginRequest struct { ctx context.Context - ApiService *AuthenticationAPIService + ApiService *AuthenticationApiService returnUrl *string username *string password *string @@ -60,7 +60,7 @@ CreateLogin Method for CreateLogin @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateLoginRequest */ -func (a *AuthenticationAPIService) CreateLogin(ctx context.Context) ApiCreateLoginRequest { +func (a *AuthenticationApiService) CreateLogin(ctx context.Context) ApiCreateLoginRequest { return ApiCreateLoginRequest{ ApiService: a, ctx: ctx, @@ -68,14 +68,14 @@ func (a *AuthenticationAPIService) CreateLogin(ctx context.Context) ApiCreateLog } // Execute executes the request -func (a *AuthenticationAPIService) CreateLoginExecute(r ApiCreateLoginRequest) (*http.Response, error) { +func (a *AuthenticationApiService) CreateLoginExecute(r ApiCreateLoginRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AuthenticationAPIService.CreateLogin") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AuthenticationApiService.CreateLogin") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -172,7 +172,7 @@ func (a *AuthenticationAPIService) CreateLoginExecute(r ApiCreateLoginRequest) ( } type ApiGetLogoutRequest struct { ctx context.Context - ApiService *AuthenticationAPIService + ApiService *AuthenticationApiService } func (r ApiGetLogoutRequest) Execute() (*http.Response, error) { @@ -185,7 +185,7 @@ GetLogout Method for GetLogout @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetLogoutRequest */ -func (a *AuthenticationAPIService) GetLogout(ctx context.Context) ApiGetLogoutRequest { +func (a *AuthenticationApiService) GetLogout(ctx context.Context) ApiGetLogoutRequest { return ApiGetLogoutRequest{ ApiService: a, ctx: ctx, @@ -193,14 +193,14 @@ func (a *AuthenticationAPIService) GetLogout(ctx context.Context) ApiGetLogoutRe } // Execute executes the request -func (a *AuthenticationAPIService) GetLogoutExecute(r ApiGetLogoutRequest) (*http.Response, error) { +func (a *AuthenticationApiService) GetLogoutExecute(r ApiGetLogoutRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AuthenticationAPIService.GetLogout") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AuthenticationApiService.GetLogout") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } diff --git a/sonarr/api_auto_tagging.go b/sonarr/api_auto_tagging.go index 58e3478..6f3f8a3 100644 --- a/sonarr/api_auto_tagging.go +++ b/sonarr/api_auto_tagging.go @@ -20,11 +20,11 @@ import ( ) -// AutoTaggingAPIService AutoTaggingAPI service -type AutoTaggingAPIService service +// AutoTaggingApiService AutoTaggingApi service +type AutoTaggingApiService service type ApiCreateAutoTaggingRequest struct { ctx context.Context - ApiService *AutoTaggingAPIService + ApiService *AutoTaggingApiService autoTaggingResource *AutoTaggingResource } @@ -43,7 +43,7 @@ CreateAutoTagging Method for CreateAutoTagging @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateAutoTaggingRequest */ -func (a *AutoTaggingAPIService) CreateAutoTagging(ctx context.Context) ApiCreateAutoTaggingRequest { +func (a *AutoTaggingApiService) CreateAutoTagging(ctx context.Context) ApiCreateAutoTaggingRequest { return ApiCreateAutoTaggingRequest{ ApiService: a, ctx: ctx, @@ -52,7 +52,7 @@ func (a *AutoTaggingAPIService) CreateAutoTagging(ctx context.Context) ApiCreate // Execute executes the request // @return AutoTaggingResource -func (a *AutoTaggingAPIService) CreateAutoTaggingExecute(r ApiCreateAutoTaggingRequest) (*AutoTaggingResource, *http.Response, error) { +func (a *AutoTaggingApiService) CreateAutoTaggingExecute(r ApiCreateAutoTaggingRequest) (*AutoTaggingResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -60,7 +60,7 @@ func (a *AutoTaggingAPIService) CreateAutoTaggingExecute(r ApiCreateAutoTaggingR localVarReturnValue *AutoTaggingResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AutoTaggingAPIService.CreateAutoTagging") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AutoTaggingApiService.CreateAutoTagging") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -156,7 +156,7 @@ func (a *AutoTaggingAPIService) CreateAutoTaggingExecute(r ApiCreateAutoTaggingR } type ApiDeleteAutoTaggingRequest struct { ctx context.Context - ApiService *AutoTaggingAPIService + ApiService *AutoTaggingApiService id int32 } @@ -171,7 +171,7 @@ DeleteAutoTagging Method for DeleteAutoTagging @param id @return ApiDeleteAutoTaggingRequest */ -func (a *AutoTaggingAPIService) DeleteAutoTagging(ctx context.Context, id int32) ApiDeleteAutoTaggingRequest { +func (a *AutoTaggingApiService) DeleteAutoTagging(ctx context.Context, id int32) ApiDeleteAutoTaggingRequest { return ApiDeleteAutoTaggingRequest{ ApiService: a, ctx: ctx, @@ -180,14 +180,14 @@ func (a *AutoTaggingAPIService) DeleteAutoTagging(ctx context.Context, id int32) } // Execute executes the request -func (a *AutoTaggingAPIService) DeleteAutoTaggingExecute(r ApiDeleteAutoTaggingRequest) (*http.Response, error) { +func (a *AutoTaggingApiService) DeleteAutoTaggingExecute(r ApiDeleteAutoTaggingRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AutoTaggingAPIService.DeleteAutoTagging") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AutoTaggingApiService.DeleteAutoTagging") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -273,7 +273,7 @@ func (a *AutoTaggingAPIService) DeleteAutoTaggingExecute(r ApiDeleteAutoTaggingR } type ApiGetAutoTaggingByIdRequest struct { ctx context.Context - ApiService *AutoTaggingAPIService + ApiService *AutoTaggingApiService id int32 } @@ -288,7 +288,7 @@ GetAutoTaggingById Method for GetAutoTaggingById @param id @return ApiGetAutoTaggingByIdRequest */ -func (a *AutoTaggingAPIService) GetAutoTaggingById(ctx context.Context, id int32) ApiGetAutoTaggingByIdRequest { +func (a *AutoTaggingApiService) GetAutoTaggingById(ctx context.Context, id int32) ApiGetAutoTaggingByIdRequest { return ApiGetAutoTaggingByIdRequest{ ApiService: a, ctx: ctx, @@ -298,7 +298,7 @@ func (a *AutoTaggingAPIService) GetAutoTaggingById(ctx context.Context, id int32 // Execute executes the request // @return AutoTaggingResource -func (a *AutoTaggingAPIService) GetAutoTaggingByIdExecute(r ApiGetAutoTaggingByIdRequest) (*AutoTaggingResource, *http.Response, error) { +func (a *AutoTaggingApiService) GetAutoTaggingByIdExecute(r ApiGetAutoTaggingByIdRequest) (*AutoTaggingResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -306,7 +306,7 @@ func (a *AutoTaggingAPIService) GetAutoTaggingByIdExecute(r ApiGetAutoTaggingByI localVarReturnValue *AutoTaggingResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AutoTaggingAPIService.GetAutoTaggingById") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AutoTaggingApiService.GetAutoTaggingById") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -401,7 +401,7 @@ func (a *AutoTaggingAPIService) GetAutoTaggingByIdExecute(r ApiGetAutoTaggingByI } type ApiGetAutoTaggingSchemaRequest struct { ctx context.Context - ApiService *AutoTaggingAPIService + ApiService *AutoTaggingApiService } func (r ApiGetAutoTaggingSchemaRequest) Execute() (*http.Response, error) { @@ -414,7 +414,7 @@ GetAutoTaggingSchema Method for GetAutoTaggingSchema @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetAutoTaggingSchemaRequest */ -func (a *AutoTaggingAPIService) GetAutoTaggingSchema(ctx context.Context) ApiGetAutoTaggingSchemaRequest { +func (a *AutoTaggingApiService) GetAutoTaggingSchema(ctx context.Context) ApiGetAutoTaggingSchemaRequest { return ApiGetAutoTaggingSchemaRequest{ ApiService: a, ctx: ctx, @@ -422,14 +422,14 @@ func (a *AutoTaggingAPIService) GetAutoTaggingSchema(ctx context.Context) ApiGet } // Execute executes the request -func (a *AutoTaggingAPIService) GetAutoTaggingSchemaExecute(r ApiGetAutoTaggingSchemaRequest) (*http.Response, error) { +func (a *AutoTaggingApiService) GetAutoTaggingSchemaExecute(r ApiGetAutoTaggingSchemaRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AutoTaggingAPIService.GetAutoTaggingSchema") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AutoTaggingApiService.GetAutoTaggingSchema") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -514,7 +514,7 @@ func (a *AutoTaggingAPIService) GetAutoTaggingSchemaExecute(r ApiGetAutoTaggingS } type ApiListAutoTaggingRequest struct { ctx context.Context - ApiService *AutoTaggingAPIService + ApiService *AutoTaggingApiService } func (r ApiListAutoTaggingRequest) Execute() ([]*AutoTaggingResource, *http.Response, error) { @@ -527,7 +527,7 @@ ListAutoTagging Method for ListAutoTagging @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListAutoTaggingRequest */ -func (a *AutoTaggingAPIService) ListAutoTagging(ctx context.Context) ApiListAutoTaggingRequest { +func (a *AutoTaggingApiService) ListAutoTagging(ctx context.Context) ApiListAutoTaggingRequest { return ApiListAutoTaggingRequest{ ApiService: a, ctx: ctx, @@ -536,7 +536,7 @@ func (a *AutoTaggingAPIService) ListAutoTagging(ctx context.Context) ApiListAuto // Execute executes the request // @return []AutoTaggingResource -func (a *AutoTaggingAPIService) ListAutoTaggingExecute(r ApiListAutoTaggingRequest) ([]*AutoTaggingResource, *http.Response, error) { +func (a *AutoTaggingApiService) ListAutoTaggingExecute(r ApiListAutoTaggingRequest) ([]*AutoTaggingResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -544,7 +544,7 @@ func (a *AutoTaggingAPIService) ListAutoTaggingExecute(r ApiListAutoTaggingReque localVarReturnValue []*AutoTaggingResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AutoTaggingAPIService.ListAutoTagging") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AutoTaggingApiService.ListAutoTagging") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -638,7 +638,7 @@ func (a *AutoTaggingAPIService) ListAutoTaggingExecute(r ApiListAutoTaggingReque } type ApiUpdateAutoTaggingRequest struct { ctx context.Context - ApiService *AutoTaggingAPIService + ApiService *AutoTaggingApiService id string autoTaggingResource *AutoTaggingResource } @@ -659,7 +659,7 @@ UpdateAutoTagging Method for UpdateAutoTagging @param id @return ApiUpdateAutoTaggingRequest */ -func (a *AutoTaggingAPIService) UpdateAutoTagging(ctx context.Context, id string) ApiUpdateAutoTaggingRequest { +func (a *AutoTaggingApiService) UpdateAutoTagging(ctx context.Context, id string) ApiUpdateAutoTaggingRequest { return ApiUpdateAutoTaggingRequest{ ApiService: a, ctx: ctx, @@ -669,7 +669,7 @@ func (a *AutoTaggingAPIService) UpdateAutoTagging(ctx context.Context, id string // Execute executes the request // @return AutoTaggingResource -func (a *AutoTaggingAPIService) UpdateAutoTaggingExecute(r ApiUpdateAutoTaggingRequest) (*AutoTaggingResource, *http.Response, error) { +func (a *AutoTaggingApiService) UpdateAutoTaggingExecute(r ApiUpdateAutoTaggingRequest) (*AutoTaggingResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} @@ -677,7 +677,7 @@ func (a *AutoTaggingAPIService) UpdateAutoTaggingExecute(r ApiUpdateAutoTaggingR localVarReturnValue *AutoTaggingResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AutoTaggingAPIService.UpdateAutoTagging") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AutoTaggingApiService.UpdateAutoTagging") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } diff --git a/sonarr/api_backup.go b/sonarr/api_backup.go index e54a413..b07c3ed 100644 --- a/sonarr/api_backup.go +++ b/sonarr/api_backup.go @@ -20,11 +20,11 @@ import ( ) -// BackupAPIService BackupAPI service -type BackupAPIService service +// BackupApiService BackupApi service +type BackupApiService service type ApiCreateSystemBackupRestoreByIdRequest struct { ctx context.Context - ApiService *BackupAPIService + ApiService *BackupApiService id int32 } @@ -39,7 +39,7 @@ CreateSystemBackupRestoreById Method for CreateSystemBackupRestoreById @param id @return ApiCreateSystemBackupRestoreByIdRequest */ -func (a *BackupAPIService) CreateSystemBackupRestoreById(ctx context.Context, id int32) ApiCreateSystemBackupRestoreByIdRequest { +func (a *BackupApiService) CreateSystemBackupRestoreById(ctx context.Context, id int32) ApiCreateSystemBackupRestoreByIdRequest { return ApiCreateSystemBackupRestoreByIdRequest{ ApiService: a, ctx: ctx, @@ -48,14 +48,14 @@ func (a *BackupAPIService) CreateSystemBackupRestoreById(ctx context.Context, id } // Execute executes the request -func (a *BackupAPIService) CreateSystemBackupRestoreByIdExecute(r ApiCreateSystemBackupRestoreByIdRequest) (*http.Response, error) { +func (a *BackupApiService) CreateSystemBackupRestoreByIdExecute(r ApiCreateSystemBackupRestoreByIdRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "BackupAPIService.CreateSystemBackupRestoreById") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "BackupApiService.CreateSystemBackupRestoreById") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -141,7 +141,7 @@ func (a *BackupAPIService) CreateSystemBackupRestoreByIdExecute(r ApiCreateSyste } type ApiCreateSystemBackupRestoreUploadRequest struct { ctx context.Context - ApiService *BackupAPIService + ApiService *BackupApiService } func (r ApiCreateSystemBackupRestoreUploadRequest) Execute() (*http.Response, error) { @@ -154,7 +154,7 @@ CreateSystemBackupRestoreUpload Method for CreateSystemBackupRestoreUpload @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateSystemBackupRestoreUploadRequest */ -func (a *BackupAPIService) CreateSystemBackupRestoreUpload(ctx context.Context) ApiCreateSystemBackupRestoreUploadRequest { +func (a *BackupApiService) CreateSystemBackupRestoreUpload(ctx context.Context) ApiCreateSystemBackupRestoreUploadRequest { return ApiCreateSystemBackupRestoreUploadRequest{ ApiService: a, ctx: ctx, @@ -162,14 +162,14 @@ func (a *BackupAPIService) CreateSystemBackupRestoreUpload(ctx context.Context) } // Execute executes the request -func (a *BackupAPIService) CreateSystemBackupRestoreUploadExecute(r ApiCreateSystemBackupRestoreUploadRequest) (*http.Response, error) { +func (a *BackupApiService) CreateSystemBackupRestoreUploadExecute(r ApiCreateSystemBackupRestoreUploadRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "BackupAPIService.CreateSystemBackupRestoreUpload") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "BackupApiService.CreateSystemBackupRestoreUpload") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -254,7 +254,7 @@ func (a *BackupAPIService) CreateSystemBackupRestoreUploadExecute(r ApiCreateSys } type ApiDeleteSystemBackupRequest struct { ctx context.Context - ApiService *BackupAPIService + ApiService *BackupApiService id int32 } @@ -269,7 +269,7 @@ DeleteSystemBackup Method for DeleteSystemBackup @param id @return ApiDeleteSystemBackupRequest */ -func (a *BackupAPIService) DeleteSystemBackup(ctx context.Context, id int32) ApiDeleteSystemBackupRequest { +func (a *BackupApiService) DeleteSystemBackup(ctx context.Context, id int32) ApiDeleteSystemBackupRequest { return ApiDeleteSystemBackupRequest{ ApiService: a, ctx: ctx, @@ -278,14 +278,14 @@ func (a *BackupAPIService) DeleteSystemBackup(ctx context.Context, id int32) Api } // Execute executes the request -func (a *BackupAPIService) DeleteSystemBackupExecute(r ApiDeleteSystemBackupRequest) (*http.Response, error) { +func (a *BackupApiService) DeleteSystemBackupExecute(r ApiDeleteSystemBackupRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "BackupAPIService.DeleteSystemBackup") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "BackupApiService.DeleteSystemBackup") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -371,7 +371,7 @@ func (a *BackupAPIService) DeleteSystemBackupExecute(r ApiDeleteSystemBackupRequ } type ApiListSystemBackupRequest struct { ctx context.Context - ApiService *BackupAPIService + ApiService *BackupApiService } func (r ApiListSystemBackupRequest) Execute() ([]*BackupResource, *http.Response, error) { @@ -384,7 +384,7 @@ ListSystemBackup Method for ListSystemBackup @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListSystemBackupRequest */ -func (a *BackupAPIService) ListSystemBackup(ctx context.Context) ApiListSystemBackupRequest { +func (a *BackupApiService) ListSystemBackup(ctx context.Context) ApiListSystemBackupRequest { return ApiListSystemBackupRequest{ ApiService: a, ctx: ctx, @@ -393,7 +393,7 @@ func (a *BackupAPIService) ListSystemBackup(ctx context.Context) ApiListSystemBa // Execute executes the request // @return []BackupResource -func (a *BackupAPIService) ListSystemBackupExecute(r ApiListSystemBackupRequest) ([]*BackupResource, *http.Response, error) { +func (a *BackupApiService) ListSystemBackupExecute(r ApiListSystemBackupRequest) ([]*BackupResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -401,7 +401,7 @@ func (a *BackupAPIService) ListSystemBackupExecute(r ApiListSystemBackupRequest) localVarReturnValue []*BackupResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "BackupAPIService.ListSystemBackup") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "BackupApiService.ListSystemBackup") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } diff --git a/sonarr/api_blocklist.go b/sonarr/api_blocklist.go index 06bcaf5..f4a22d3 100644 --- a/sonarr/api_blocklist.go +++ b/sonarr/api_blocklist.go @@ -20,11 +20,11 @@ import ( ) -// BlocklistAPIService BlocklistAPI service -type BlocklistAPIService service +// BlocklistApiService BlocklistApi service +type BlocklistApiService service type ApiDeleteBlocklistRequest struct { ctx context.Context - ApiService *BlocklistAPIService + ApiService *BlocklistApiService id int32 } @@ -39,7 +39,7 @@ DeleteBlocklist Method for DeleteBlocklist @param id @return ApiDeleteBlocklistRequest */ -func (a *BlocklistAPIService) DeleteBlocklist(ctx context.Context, id int32) ApiDeleteBlocklistRequest { +func (a *BlocklistApiService) DeleteBlocklist(ctx context.Context, id int32) ApiDeleteBlocklistRequest { return ApiDeleteBlocklistRequest{ ApiService: a, ctx: ctx, @@ -48,14 +48,14 @@ func (a *BlocklistAPIService) DeleteBlocklist(ctx context.Context, id int32) Api } // Execute executes the request -func (a *BlocklistAPIService) DeleteBlocklistExecute(r ApiDeleteBlocklistRequest) (*http.Response, error) { +func (a *BlocklistApiService) DeleteBlocklistExecute(r ApiDeleteBlocklistRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "BlocklistAPIService.DeleteBlocklist") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "BlocklistApiService.DeleteBlocklist") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -141,7 +141,7 @@ func (a *BlocklistAPIService) DeleteBlocklistExecute(r ApiDeleteBlocklistRequest } type ApiDeleteBlocklistBulkRequest struct { ctx context.Context - ApiService *BlocklistAPIService + ApiService *BlocklistApiService blocklistBulkResource *BlocklistBulkResource } @@ -160,7 +160,7 @@ DeleteBlocklistBulk Method for DeleteBlocklistBulk @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiDeleteBlocklistBulkRequest */ -func (a *BlocklistAPIService) DeleteBlocklistBulk(ctx context.Context) ApiDeleteBlocklistBulkRequest { +func (a *BlocklistApiService) DeleteBlocklistBulk(ctx context.Context) ApiDeleteBlocklistBulkRequest { return ApiDeleteBlocklistBulkRequest{ ApiService: a, ctx: ctx, @@ -168,14 +168,14 @@ func (a *BlocklistAPIService) DeleteBlocklistBulk(ctx context.Context) ApiDelete } // Execute executes the request -func (a *BlocklistAPIService) DeleteBlocklistBulkExecute(r ApiDeleteBlocklistBulkRequest) (*http.Response, error) { +func (a *BlocklistApiService) DeleteBlocklistBulkExecute(r ApiDeleteBlocklistBulkRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "BlocklistAPIService.DeleteBlocklistBulk") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "BlocklistApiService.DeleteBlocklistBulk") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -262,7 +262,7 @@ func (a *BlocklistAPIService) DeleteBlocklistBulkExecute(r ApiDeleteBlocklistBul } type ApiGetBlocklistRequest struct { ctx context.Context - ApiService *BlocklistAPIService + ApiService *BlocklistApiService } func (r ApiGetBlocklistRequest) Execute() (*BlocklistResourcePagingResource, *http.Response, error) { @@ -275,7 +275,7 @@ GetBlocklist Method for GetBlocklist @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetBlocklistRequest */ -func (a *BlocklistAPIService) GetBlocklist(ctx context.Context) ApiGetBlocklistRequest { +func (a *BlocklistApiService) GetBlocklist(ctx context.Context) ApiGetBlocklistRequest { return ApiGetBlocklistRequest{ ApiService: a, ctx: ctx, @@ -284,7 +284,7 @@ func (a *BlocklistAPIService) GetBlocklist(ctx context.Context) ApiGetBlocklistR // Execute executes the request // @return BlocklistResourcePagingResource -func (a *BlocklistAPIService) GetBlocklistExecute(r ApiGetBlocklistRequest) (*BlocklistResourcePagingResource, *http.Response, error) { +func (a *BlocklistApiService) GetBlocklistExecute(r ApiGetBlocklistRequest) (*BlocklistResourcePagingResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -292,7 +292,7 @@ func (a *BlocklistAPIService) GetBlocklistExecute(r ApiGetBlocklistRequest) (*Bl localVarReturnValue *BlocklistResourcePagingResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "BlocklistAPIService.GetBlocklist") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "BlocklistApiService.GetBlocklist") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } diff --git a/sonarr/api_calendar.go b/sonarr/api_calendar.go index a3b26d1..1d4d534 100644 --- a/sonarr/api_calendar.go +++ b/sonarr/api_calendar.go @@ -21,11 +21,11 @@ import ( ) -// CalendarAPIService CalendarAPI service -type CalendarAPIService service +// CalendarApiService CalendarApi service +type CalendarApiService service type ApiGetCalendarByIdRequest struct { ctx context.Context - ApiService *CalendarAPIService + ApiService *CalendarApiService id int32 } @@ -40,7 +40,7 @@ GetCalendarById Method for GetCalendarById @param id @return ApiGetCalendarByIdRequest */ -func (a *CalendarAPIService) GetCalendarById(ctx context.Context, id int32) ApiGetCalendarByIdRequest { +func (a *CalendarApiService) GetCalendarById(ctx context.Context, id int32) ApiGetCalendarByIdRequest { return ApiGetCalendarByIdRequest{ ApiService: a, ctx: ctx, @@ -50,7 +50,7 @@ func (a *CalendarAPIService) GetCalendarById(ctx context.Context, id int32) ApiG // Execute executes the request // @return EpisodeResource -func (a *CalendarAPIService) GetCalendarByIdExecute(r ApiGetCalendarByIdRequest) (*EpisodeResource, *http.Response, error) { +func (a *CalendarApiService) GetCalendarByIdExecute(r ApiGetCalendarByIdRequest) (*EpisodeResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -58,7 +58,7 @@ func (a *CalendarAPIService) GetCalendarByIdExecute(r ApiGetCalendarByIdRequest) localVarReturnValue *EpisodeResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CalendarAPIService.GetCalendarById") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CalendarApiService.GetCalendarById") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -153,14 +153,13 @@ func (a *CalendarAPIService) GetCalendarByIdExecute(r ApiGetCalendarByIdRequest) } type ApiListCalendarRequest struct { ctx context.Context - ApiService *CalendarAPIService + ApiService *CalendarApiService start *time.Time end *time.Time unmonitored *bool includeSeries *bool includeEpisodeFile *bool includeEpisodeImages *bool - tags *string } func (r ApiListCalendarRequest) Start(start time.Time) ApiListCalendarRequest { @@ -193,11 +192,6 @@ func (r ApiListCalendarRequest) IncludeEpisodeImages(includeEpisodeImages bool) return r } -func (r ApiListCalendarRequest) Tags(tags string) ApiListCalendarRequest { - r.tags = &tags - return r -} - func (r ApiListCalendarRequest) Execute() ([]*EpisodeResource, *http.Response, error) { return r.ApiService.ListCalendarExecute(r) } @@ -208,7 +202,7 @@ ListCalendar Method for ListCalendar @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListCalendarRequest */ -func (a *CalendarAPIService) ListCalendar(ctx context.Context) ApiListCalendarRequest { +func (a *CalendarApiService) ListCalendar(ctx context.Context) ApiListCalendarRequest { return ApiListCalendarRequest{ ApiService: a, ctx: ctx, @@ -217,7 +211,7 @@ func (a *CalendarAPIService) ListCalendar(ctx context.Context) ApiListCalendarRe // Execute executes the request // @return []EpisodeResource -func (a *CalendarAPIService) ListCalendarExecute(r ApiListCalendarRequest) ([]*EpisodeResource, *http.Response, error) { +func (a *CalendarApiService) ListCalendarExecute(r ApiListCalendarRequest) ([]*EpisodeResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -225,7 +219,7 @@ func (a *CalendarAPIService) ListCalendarExecute(r ApiListCalendarRequest) ([]*E localVarReturnValue []*EpisodeResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CalendarAPIService.ListCalendar") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CalendarApiService.ListCalendar") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -254,9 +248,6 @@ func (a *CalendarAPIService) ListCalendarExecute(r ApiListCalendarRequest) ([]*E if r.includeEpisodeImages != nil { localVarQueryParams.Add("includeEpisodeImages", parameterToString(*r.includeEpisodeImages, "")) } - if r.tags != nil { - localVarQueryParams.Add("tags", parameterToString(*r.tags, "")) - } // to determine the Content-Type header localVarHTTPContentTypes := []string{} diff --git a/sonarr/api_calendar_feed.go b/sonarr/api_calendar_feed.go index 1db4a5b..07b9eb0 100644 --- a/sonarr/api_calendar_feed.go +++ b/sonarr/api_calendar_feed.go @@ -19,14 +19,14 @@ import ( ) -// CalendarFeedAPIService CalendarFeedAPI service -type CalendarFeedAPIService service +// CalendarFeedApiService CalendarFeedApi service +type CalendarFeedApiService service type ApiGetFeedV3CalendarSonarrIcsRequest struct { ctx context.Context - ApiService *CalendarFeedAPIService + ApiService *CalendarFeedApiService pastDays *int32 futureDays *int32 - tags *string + tagList *string unmonitored *bool premieresOnly *bool asAllDay *bool @@ -42,8 +42,8 @@ func (r ApiGetFeedV3CalendarSonarrIcsRequest) FutureDays(futureDays int32) ApiGe return r } -func (r ApiGetFeedV3CalendarSonarrIcsRequest) Tags(tags string) ApiGetFeedV3CalendarSonarrIcsRequest { - r.tags = &tags +func (r ApiGetFeedV3CalendarSonarrIcsRequest) TagList(tagList string) ApiGetFeedV3CalendarSonarrIcsRequest { + r.tagList = &tagList return r } @@ -72,7 +72,7 @@ GetFeedV3CalendarSonarrIcs Method for GetFeedV3CalendarSonarrIcs @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetFeedV3CalendarSonarrIcsRequest */ -func (a *CalendarFeedAPIService) GetFeedV3CalendarSonarrIcs(ctx context.Context) ApiGetFeedV3CalendarSonarrIcsRequest { +func (a *CalendarFeedApiService) GetFeedV3CalendarSonarrIcs(ctx context.Context) ApiGetFeedV3CalendarSonarrIcsRequest { return ApiGetFeedV3CalendarSonarrIcsRequest{ ApiService: a, ctx: ctx, @@ -80,14 +80,14 @@ func (a *CalendarFeedAPIService) GetFeedV3CalendarSonarrIcs(ctx context.Context) } // Execute executes the request -func (a *CalendarFeedAPIService) GetFeedV3CalendarSonarrIcsExecute(r ApiGetFeedV3CalendarSonarrIcsRequest) (*http.Response, error) { +func (a *CalendarFeedApiService) GetFeedV3CalendarSonarrIcsExecute(r ApiGetFeedV3CalendarSonarrIcsRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CalendarFeedAPIService.GetFeedV3CalendarSonarrIcs") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CalendarFeedApiService.GetFeedV3CalendarSonarrIcs") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -104,8 +104,8 @@ func (a *CalendarFeedAPIService) GetFeedV3CalendarSonarrIcsExecute(r ApiGetFeedV if r.futureDays != nil { localVarQueryParams.Add("futureDays", parameterToString(*r.futureDays, "")) } - if r.tags != nil { - localVarQueryParams.Add("tags", parameterToString(*r.tags, "")) + if r.tagList != nil { + localVarQueryParams.Add("tagList", parameterToString(*r.tagList, "")) } if r.unmonitored != nil { localVarQueryParams.Add("unmonitored", parameterToString(*r.unmonitored, "")) diff --git a/sonarr/api_command.go b/sonarr/api_command.go index 4229cc2..761e7db 100644 --- a/sonarr/api_command.go +++ b/sonarr/api_command.go @@ -20,11 +20,11 @@ import ( ) -// CommandAPIService CommandAPI service -type CommandAPIService service +// CommandApiService CommandApi service +type CommandApiService service type ApiCreateCommandRequest struct { ctx context.Context - ApiService *CommandAPIService + ApiService *CommandApiService commandResource *CommandResource } @@ -43,7 +43,7 @@ CreateCommand Method for CreateCommand @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateCommandRequest */ -func (a *CommandAPIService) CreateCommand(ctx context.Context) ApiCreateCommandRequest { +func (a *CommandApiService) CreateCommand(ctx context.Context) ApiCreateCommandRequest { return ApiCreateCommandRequest{ ApiService: a, ctx: ctx, @@ -52,7 +52,7 @@ func (a *CommandAPIService) CreateCommand(ctx context.Context) ApiCreateCommandR // Execute executes the request // @return CommandResource -func (a *CommandAPIService) CreateCommandExecute(r ApiCreateCommandRequest) (*CommandResource, *http.Response, error) { +func (a *CommandApiService) CreateCommandExecute(r ApiCreateCommandRequest) (*CommandResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -60,7 +60,7 @@ func (a *CommandAPIService) CreateCommandExecute(r ApiCreateCommandRequest) (*Co localVarReturnValue *CommandResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CommandAPIService.CreateCommand") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CommandApiService.CreateCommand") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -156,7 +156,7 @@ func (a *CommandAPIService) CreateCommandExecute(r ApiCreateCommandRequest) (*Co } type ApiDeleteCommandRequest struct { ctx context.Context - ApiService *CommandAPIService + ApiService *CommandApiService id int32 } @@ -171,7 +171,7 @@ DeleteCommand Method for DeleteCommand @param id @return ApiDeleteCommandRequest */ -func (a *CommandAPIService) DeleteCommand(ctx context.Context, id int32) ApiDeleteCommandRequest { +func (a *CommandApiService) DeleteCommand(ctx context.Context, id int32) ApiDeleteCommandRequest { return ApiDeleteCommandRequest{ ApiService: a, ctx: ctx, @@ -180,14 +180,14 @@ func (a *CommandAPIService) DeleteCommand(ctx context.Context, id int32) ApiDele } // Execute executes the request -func (a *CommandAPIService) DeleteCommandExecute(r ApiDeleteCommandRequest) (*http.Response, error) { +func (a *CommandApiService) DeleteCommandExecute(r ApiDeleteCommandRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CommandAPIService.DeleteCommand") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CommandApiService.DeleteCommand") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -273,7 +273,7 @@ func (a *CommandAPIService) DeleteCommandExecute(r ApiDeleteCommandRequest) (*ht } type ApiGetCommandByIdRequest struct { ctx context.Context - ApiService *CommandAPIService + ApiService *CommandApiService id int32 } @@ -288,7 +288,7 @@ GetCommandById Method for GetCommandById @param id @return ApiGetCommandByIdRequest */ -func (a *CommandAPIService) GetCommandById(ctx context.Context, id int32) ApiGetCommandByIdRequest { +func (a *CommandApiService) GetCommandById(ctx context.Context, id int32) ApiGetCommandByIdRequest { return ApiGetCommandByIdRequest{ ApiService: a, ctx: ctx, @@ -298,7 +298,7 @@ func (a *CommandAPIService) GetCommandById(ctx context.Context, id int32) ApiGet // Execute executes the request // @return CommandResource -func (a *CommandAPIService) GetCommandByIdExecute(r ApiGetCommandByIdRequest) (*CommandResource, *http.Response, error) { +func (a *CommandApiService) GetCommandByIdExecute(r ApiGetCommandByIdRequest) (*CommandResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -306,7 +306,7 @@ func (a *CommandAPIService) GetCommandByIdExecute(r ApiGetCommandByIdRequest) (* localVarReturnValue *CommandResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CommandAPIService.GetCommandById") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CommandApiService.GetCommandById") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -401,7 +401,7 @@ func (a *CommandAPIService) GetCommandByIdExecute(r ApiGetCommandByIdRequest) (* } type ApiListCommandRequest struct { ctx context.Context - ApiService *CommandAPIService + ApiService *CommandApiService } func (r ApiListCommandRequest) Execute() ([]*CommandResource, *http.Response, error) { @@ -414,7 +414,7 @@ ListCommand Method for ListCommand @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListCommandRequest */ -func (a *CommandAPIService) ListCommand(ctx context.Context) ApiListCommandRequest { +func (a *CommandApiService) ListCommand(ctx context.Context) ApiListCommandRequest { return ApiListCommandRequest{ ApiService: a, ctx: ctx, @@ -423,7 +423,7 @@ func (a *CommandAPIService) ListCommand(ctx context.Context) ApiListCommandReque // Execute executes the request // @return []CommandResource -func (a *CommandAPIService) ListCommandExecute(r ApiListCommandRequest) ([]*CommandResource, *http.Response, error) { +func (a *CommandApiService) ListCommandExecute(r ApiListCommandRequest) ([]*CommandResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -431,7 +431,7 @@ func (a *CommandAPIService) ListCommandExecute(r ApiListCommandRequest) ([]*Comm localVarReturnValue []*CommandResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CommandAPIService.ListCommand") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CommandApiService.ListCommand") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } diff --git a/sonarr/api_custom_filter.go b/sonarr/api_custom_filter.go index 47ddc75..8a0d6c9 100644 --- a/sonarr/api_custom_filter.go +++ b/sonarr/api_custom_filter.go @@ -20,11 +20,11 @@ import ( ) -// CustomFilterAPIService CustomFilterAPI service -type CustomFilterAPIService service +// CustomFilterApiService CustomFilterApi service +type CustomFilterApiService service type ApiCreateCustomFilterRequest struct { ctx context.Context - ApiService *CustomFilterAPIService + ApiService *CustomFilterApiService customFilterResource *CustomFilterResource } @@ -43,7 +43,7 @@ CreateCustomFilter Method for CreateCustomFilter @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateCustomFilterRequest */ -func (a *CustomFilterAPIService) CreateCustomFilter(ctx context.Context) ApiCreateCustomFilterRequest { +func (a *CustomFilterApiService) CreateCustomFilter(ctx context.Context) ApiCreateCustomFilterRequest { return ApiCreateCustomFilterRequest{ ApiService: a, ctx: ctx, @@ -52,7 +52,7 @@ func (a *CustomFilterAPIService) CreateCustomFilter(ctx context.Context) ApiCrea // Execute executes the request // @return CustomFilterResource -func (a *CustomFilterAPIService) CreateCustomFilterExecute(r ApiCreateCustomFilterRequest) (*CustomFilterResource, *http.Response, error) { +func (a *CustomFilterApiService) CreateCustomFilterExecute(r ApiCreateCustomFilterRequest) (*CustomFilterResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -60,7 +60,7 @@ func (a *CustomFilterAPIService) CreateCustomFilterExecute(r ApiCreateCustomFilt localVarReturnValue *CustomFilterResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CustomFilterAPIService.CreateCustomFilter") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CustomFilterApiService.CreateCustomFilter") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -156,7 +156,7 @@ func (a *CustomFilterAPIService) CreateCustomFilterExecute(r ApiCreateCustomFilt } type ApiDeleteCustomFilterRequest struct { ctx context.Context - ApiService *CustomFilterAPIService + ApiService *CustomFilterApiService id int32 } @@ -171,7 +171,7 @@ DeleteCustomFilter Method for DeleteCustomFilter @param id @return ApiDeleteCustomFilterRequest */ -func (a *CustomFilterAPIService) DeleteCustomFilter(ctx context.Context, id int32) ApiDeleteCustomFilterRequest { +func (a *CustomFilterApiService) DeleteCustomFilter(ctx context.Context, id int32) ApiDeleteCustomFilterRequest { return ApiDeleteCustomFilterRequest{ ApiService: a, ctx: ctx, @@ -180,14 +180,14 @@ func (a *CustomFilterAPIService) DeleteCustomFilter(ctx context.Context, id int3 } // Execute executes the request -func (a *CustomFilterAPIService) DeleteCustomFilterExecute(r ApiDeleteCustomFilterRequest) (*http.Response, error) { +func (a *CustomFilterApiService) DeleteCustomFilterExecute(r ApiDeleteCustomFilterRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CustomFilterAPIService.DeleteCustomFilter") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CustomFilterApiService.DeleteCustomFilter") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -273,7 +273,7 @@ func (a *CustomFilterAPIService) DeleteCustomFilterExecute(r ApiDeleteCustomFilt } type ApiGetCustomFilterByIdRequest struct { ctx context.Context - ApiService *CustomFilterAPIService + ApiService *CustomFilterApiService id int32 } @@ -288,7 +288,7 @@ GetCustomFilterById Method for GetCustomFilterById @param id @return ApiGetCustomFilterByIdRequest */ -func (a *CustomFilterAPIService) GetCustomFilterById(ctx context.Context, id int32) ApiGetCustomFilterByIdRequest { +func (a *CustomFilterApiService) GetCustomFilterById(ctx context.Context, id int32) ApiGetCustomFilterByIdRequest { return ApiGetCustomFilterByIdRequest{ ApiService: a, ctx: ctx, @@ -298,7 +298,7 @@ func (a *CustomFilterAPIService) GetCustomFilterById(ctx context.Context, id int // Execute executes the request // @return CustomFilterResource -func (a *CustomFilterAPIService) GetCustomFilterByIdExecute(r ApiGetCustomFilterByIdRequest) (*CustomFilterResource, *http.Response, error) { +func (a *CustomFilterApiService) GetCustomFilterByIdExecute(r ApiGetCustomFilterByIdRequest) (*CustomFilterResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -306,7 +306,7 @@ func (a *CustomFilterAPIService) GetCustomFilterByIdExecute(r ApiGetCustomFilter localVarReturnValue *CustomFilterResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CustomFilterAPIService.GetCustomFilterById") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CustomFilterApiService.GetCustomFilterById") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -401,7 +401,7 @@ func (a *CustomFilterAPIService) GetCustomFilterByIdExecute(r ApiGetCustomFilter } type ApiListCustomFilterRequest struct { ctx context.Context - ApiService *CustomFilterAPIService + ApiService *CustomFilterApiService } func (r ApiListCustomFilterRequest) Execute() ([]*CustomFilterResource, *http.Response, error) { @@ -414,7 +414,7 @@ ListCustomFilter Method for ListCustomFilter @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListCustomFilterRequest */ -func (a *CustomFilterAPIService) ListCustomFilter(ctx context.Context) ApiListCustomFilterRequest { +func (a *CustomFilterApiService) ListCustomFilter(ctx context.Context) ApiListCustomFilterRequest { return ApiListCustomFilterRequest{ ApiService: a, ctx: ctx, @@ -423,7 +423,7 @@ func (a *CustomFilterAPIService) ListCustomFilter(ctx context.Context) ApiListCu // Execute executes the request // @return []CustomFilterResource -func (a *CustomFilterAPIService) ListCustomFilterExecute(r ApiListCustomFilterRequest) ([]*CustomFilterResource, *http.Response, error) { +func (a *CustomFilterApiService) ListCustomFilterExecute(r ApiListCustomFilterRequest) ([]*CustomFilterResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -431,7 +431,7 @@ func (a *CustomFilterAPIService) ListCustomFilterExecute(r ApiListCustomFilterRe localVarReturnValue []*CustomFilterResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CustomFilterAPIService.ListCustomFilter") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CustomFilterApiService.ListCustomFilter") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -525,7 +525,7 @@ func (a *CustomFilterAPIService) ListCustomFilterExecute(r ApiListCustomFilterRe } type ApiUpdateCustomFilterRequest struct { ctx context.Context - ApiService *CustomFilterAPIService + ApiService *CustomFilterApiService id string customFilterResource *CustomFilterResource } @@ -546,7 +546,7 @@ UpdateCustomFilter Method for UpdateCustomFilter @param id @return ApiUpdateCustomFilterRequest */ -func (a *CustomFilterAPIService) UpdateCustomFilter(ctx context.Context, id string) ApiUpdateCustomFilterRequest { +func (a *CustomFilterApiService) UpdateCustomFilter(ctx context.Context, id string) ApiUpdateCustomFilterRequest { return ApiUpdateCustomFilterRequest{ ApiService: a, ctx: ctx, @@ -556,7 +556,7 @@ func (a *CustomFilterAPIService) UpdateCustomFilter(ctx context.Context, id stri // Execute executes the request // @return CustomFilterResource -func (a *CustomFilterAPIService) UpdateCustomFilterExecute(r ApiUpdateCustomFilterRequest) (*CustomFilterResource, *http.Response, error) { +func (a *CustomFilterApiService) UpdateCustomFilterExecute(r ApiUpdateCustomFilterRequest) (*CustomFilterResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} @@ -564,7 +564,7 @@ func (a *CustomFilterAPIService) UpdateCustomFilterExecute(r ApiUpdateCustomFilt localVarReturnValue *CustomFilterResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CustomFilterAPIService.UpdateCustomFilter") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CustomFilterApiService.UpdateCustomFilter") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } diff --git a/sonarr/api_custom_format.go b/sonarr/api_custom_format.go index 0d8702f..b4156ad 100644 --- a/sonarr/api_custom_format.go +++ b/sonarr/api_custom_format.go @@ -20,11 +20,11 @@ import ( ) -// CustomFormatAPIService CustomFormatAPI service -type CustomFormatAPIService service +// CustomFormatApiService CustomFormatApi service +type CustomFormatApiService service type ApiCreateCustomFormatRequest struct { ctx context.Context - ApiService *CustomFormatAPIService + ApiService *CustomFormatApiService customFormatResource *CustomFormatResource } @@ -43,7 +43,7 @@ CreateCustomFormat Method for CreateCustomFormat @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateCustomFormatRequest */ -func (a *CustomFormatAPIService) CreateCustomFormat(ctx context.Context) ApiCreateCustomFormatRequest { +func (a *CustomFormatApiService) CreateCustomFormat(ctx context.Context) ApiCreateCustomFormatRequest { return ApiCreateCustomFormatRequest{ ApiService: a, ctx: ctx, @@ -52,7 +52,7 @@ func (a *CustomFormatAPIService) CreateCustomFormat(ctx context.Context) ApiCrea // Execute executes the request // @return CustomFormatResource -func (a *CustomFormatAPIService) CreateCustomFormatExecute(r ApiCreateCustomFormatRequest) (*CustomFormatResource, *http.Response, error) { +func (a *CustomFormatApiService) CreateCustomFormatExecute(r ApiCreateCustomFormatRequest) (*CustomFormatResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -60,7 +60,7 @@ func (a *CustomFormatAPIService) CreateCustomFormatExecute(r ApiCreateCustomForm localVarReturnValue *CustomFormatResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CustomFormatAPIService.CreateCustomFormat") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CustomFormatApiService.CreateCustomFormat") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -156,7 +156,7 @@ func (a *CustomFormatAPIService) CreateCustomFormatExecute(r ApiCreateCustomForm } type ApiDeleteCustomFormatRequest struct { ctx context.Context - ApiService *CustomFormatAPIService + ApiService *CustomFormatApiService id int32 } @@ -171,7 +171,7 @@ DeleteCustomFormat Method for DeleteCustomFormat @param id @return ApiDeleteCustomFormatRequest */ -func (a *CustomFormatAPIService) DeleteCustomFormat(ctx context.Context, id int32) ApiDeleteCustomFormatRequest { +func (a *CustomFormatApiService) DeleteCustomFormat(ctx context.Context, id int32) ApiDeleteCustomFormatRequest { return ApiDeleteCustomFormatRequest{ ApiService: a, ctx: ctx, @@ -180,14 +180,14 @@ func (a *CustomFormatAPIService) DeleteCustomFormat(ctx context.Context, id int3 } // Execute executes the request -func (a *CustomFormatAPIService) DeleteCustomFormatExecute(r ApiDeleteCustomFormatRequest) (*http.Response, error) { +func (a *CustomFormatApiService) DeleteCustomFormatExecute(r ApiDeleteCustomFormatRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CustomFormatAPIService.DeleteCustomFormat") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CustomFormatApiService.DeleteCustomFormat") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -273,7 +273,7 @@ func (a *CustomFormatAPIService) DeleteCustomFormatExecute(r ApiDeleteCustomForm } type ApiGetCustomFormatByIdRequest struct { ctx context.Context - ApiService *CustomFormatAPIService + ApiService *CustomFormatApiService id int32 } @@ -288,7 +288,7 @@ GetCustomFormatById Method for GetCustomFormatById @param id @return ApiGetCustomFormatByIdRequest */ -func (a *CustomFormatAPIService) GetCustomFormatById(ctx context.Context, id int32) ApiGetCustomFormatByIdRequest { +func (a *CustomFormatApiService) GetCustomFormatById(ctx context.Context, id int32) ApiGetCustomFormatByIdRequest { return ApiGetCustomFormatByIdRequest{ ApiService: a, ctx: ctx, @@ -298,7 +298,7 @@ func (a *CustomFormatAPIService) GetCustomFormatById(ctx context.Context, id int // Execute executes the request // @return CustomFormatResource -func (a *CustomFormatAPIService) GetCustomFormatByIdExecute(r ApiGetCustomFormatByIdRequest) (*CustomFormatResource, *http.Response, error) { +func (a *CustomFormatApiService) GetCustomFormatByIdExecute(r ApiGetCustomFormatByIdRequest) (*CustomFormatResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -306,7 +306,7 @@ func (a *CustomFormatAPIService) GetCustomFormatByIdExecute(r ApiGetCustomFormat localVarReturnValue *CustomFormatResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CustomFormatAPIService.GetCustomFormatById") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CustomFormatApiService.GetCustomFormatById") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -401,7 +401,7 @@ func (a *CustomFormatAPIService) GetCustomFormatByIdExecute(r ApiGetCustomFormat } type ApiGetCustomFormatSchemaRequest struct { ctx context.Context - ApiService *CustomFormatAPIService + ApiService *CustomFormatApiService } func (r ApiGetCustomFormatSchemaRequest) Execute() (*http.Response, error) { @@ -414,7 +414,7 @@ GetCustomFormatSchema Method for GetCustomFormatSchema @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetCustomFormatSchemaRequest */ -func (a *CustomFormatAPIService) GetCustomFormatSchema(ctx context.Context) ApiGetCustomFormatSchemaRequest { +func (a *CustomFormatApiService) GetCustomFormatSchema(ctx context.Context) ApiGetCustomFormatSchemaRequest { return ApiGetCustomFormatSchemaRequest{ ApiService: a, ctx: ctx, @@ -422,14 +422,14 @@ func (a *CustomFormatAPIService) GetCustomFormatSchema(ctx context.Context) ApiG } // Execute executes the request -func (a *CustomFormatAPIService) GetCustomFormatSchemaExecute(r ApiGetCustomFormatSchemaRequest) (*http.Response, error) { +func (a *CustomFormatApiService) GetCustomFormatSchemaExecute(r ApiGetCustomFormatSchemaRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CustomFormatAPIService.GetCustomFormatSchema") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CustomFormatApiService.GetCustomFormatSchema") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -514,7 +514,7 @@ func (a *CustomFormatAPIService) GetCustomFormatSchemaExecute(r ApiGetCustomForm } type ApiListCustomFormatRequest struct { ctx context.Context - ApiService *CustomFormatAPIService + ApiService *CustomFormatApiService } func (r ApiListCustomFormatRequest) Execute() ([]*CustomFormatResource, *http.Response, error) { @@ -527,7 +527,7 @@ ListCustomFormat Method for ListCustomFormat @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListCustomFormatRequest */ -func (a *CustomFormatAPIService) ListCustomFormat(ctx context.Context) ApiListCustomFormatRequest { +func (a *CustomFormatApiService) ListCustomFormat(ctx context.Context) ApiListCustomFormatRequest { return ApiListCustomFormatRequest{ ApiService: a, ctx: ctx, @@ -536,7 +536,7 @@ func (a *CustomFormatAPIService) ListCustomFormat(ctx context.Context) ApiListCu // Execute executes the request // @return []CustomFormatResource -func (a *CustomFormatAPIService) ListCustomFormatExecute(r ApiListCustomFormatRequest) ([]*CustomFormatResource, *http.Response, error) { +func (a *CustomFormatApiService) ListCustomFormatExecute(r ApiListCustomFormatRequest) ([]*CustomFormatResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -544,7 +544,7 @@ func (a *CustomFormatAPIService) ListCustomFormatExecute(r ApiListCustomFormatRe localVarReturnValue []*CustomFormatResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CustomFormatAPIService.ListCustomFormat") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CustomFormatApiService.ListCustomFormat") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -638,7 +638,7 @@ func (a *CustomFormatAPIService) ListCustomFormatExecute(r ApiListCustomFormatRe } type ApiUpdateCustomFormatRequest struct { ctx context.Context - ApiService *CustomFormatAPIService + ApiService *CustomFormatApiService id string customFormatResource *CustomFormatResource } @@ -659,7 +659,7 @@ UpdateCustomFormat Method for UpdateCustomFormat @param id @return ApiUpdateCustomFormatRequest */ -func (a *CustomFormatAPIService) UpdateCustomFormat(ctx context.Context, id string) ApiUpdateCustomFormatRequest { +func (a *CustomFormatApiService) UpdateCustomFormat(ctx context.Context, id string) ApiUpdateCustomFormatRequest { return ApiUpdateCustomFormatRequest{ ApiService: a, ctx: ctx, @@ -669,7 +669,7 @@ func (a *CustomFormatAPIService) UpdateCustomFormat(ctx context.Context, id stri // Execute executes the request // @return CustomFormatResource -func (a *CustomFormatAPIService) UpdateCustomFormatExecute(r ApiUpdateCustomFormatRequest) (*CustomFormatResource, *http.Response, error) { +func (a *CustomFormatApiService) UpdateCustomFormatExecute(r ApiUpdateCustomFormatRequest) (*CustomFormatResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} @@ -677,7 +677,7 @@ func (a *CustomFormatAPIService) UpdateCustomFormatExecute(r ApiUpdateCustomForm localVarReturnValue *CustomFormatResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CustomFormatAPIService.UpdateCustomFormat") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CustomFormatApiService.UpdateCustomFormat") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } diff --git a/sonarr/api_cutoff.go b/sonarr/api_cutoff.go index af09c70..c75382d 100644 --- a/sonarr/api_cutoff.go +++ b/sonarr/api_cutoff.go @@ -20,11 +20,11 @@ import ( ) -// CutoffAPIService CutoffAPI service -type CutoffAPIService service +// CutoffApiService CutoffApi service +type CutoffApiService service type ApiGetWantedCutoffRequest struct { ctx context.Context - ApiService *CutoffAPIService + ApiService *CutoffApiService includeSeries *bool includeEpisodeFile *bool includeImages *bool @@ -55,7 +55,7 @@ GetWantedCutoff Method for GetWantedCutoff @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetWantedCutoffRequest */ -func (a *CutoffAPIService) GetWantedCutoff(ctx context.Context) ApiGetWantedCutoffRequest { +func (a *CutoffApiService) GetWantedCutoff(ctx context.Context) ApiGetWantedCutoffRequest { return ApiGetWantedCutoffRequest{ ApiService: a, ctx: ctx, @@ -64,7 +64,7 @@ func (a *CutoffAPIService) GetWantedCutoff(ctx context.Context) ApiGetWantedCuto // Execute executes the request // @return EpisodeResourcePagingResource -func (a *CutoffAPIService) GetWantedCutoffExecute(r ApiGetWantedCutoffRequest) (*EpisodeResourcePagingResource, *http.Response, error) { +func (a *CutoffApiService) GetWantedCutoffExecute(r ApiGetWantedCutoffRequest) (*EpisodeResourcePagingResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -72,7 +72,7 @@ func (a *CutoffAPIService) GetWantedCutoffExecute(r ApiGetWantedCutoffRequest) ( localVarReturnValue *EpisodeResourcePagingResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CutoffAPIService.GetWantedCutoff") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CutoffApiService.GetWantedCutoff") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -175,7 +175,7 @@ func (a *CutoffAPIService) GetWantedCutoffExecute(r ApiGetWantedCutoffRequest) ( } type ApiGetWantedCutoffByIdRequest struct { ctx context.Context - ApiService *CutoffAPIService + ApiService *CutoffApiService id int32 } @@ -190,7 +190,7 @@ GetWantedCutoffById Method for GetWantedCutoffById @param id @return ApiGetWantedCutoffByIdRequest */ -func (a *CutoffAPIService) GetWantedCutoffById(ctx context.Context, id int32) ApiGetWantedCutoffByIdRequest { +func (a *CutoffApiService) GetWantedCutoffById(ctx context.Context, id int32) ApiGetWantedCutoffByIdRequest { return ApiGetWantedCutoffByIdRequest{ ApiService: a, ctx: ctx, @@ -200,7 +200,7 @@ func (a *CutoffAPIService) GetWantedCutoffById(ctx context.Context, id int32) Ap // Execute executes the request // @return EpisodeResource -func (a *CutoffAPIService) GetWantedCutoffByIdExecute(r ApiGetWantedCutoffByIdRequest) (*EpisodeResource, *http.Response, error) { +func (a *CutoffApiService) GetWantedCutoffByIdExecute(r ApiGetWantedCutoffByIdRequest) (*EpisodeResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -208,7 +208,7 @@ func (a *CutoffAPIService) GetWantedCutoffByIdExecute(r ApiGetWantedCutoffByIdRe localVarReturnValue *EpisodeResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CutoffAPIService.GetWantedCutoffById") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CutoffApiService.GetWantedCutoffById") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } diff --git a/sonarr/api_delay_profile.go b/sonarr/api_delay_profile.go index 437e90b..bee865c 100644 --- a/sonarr/api_delay_profile.go +++ b/sonarr/api_delay_profile.go @@ -20,11 +20,11 @@ import ( ) -// DelayProfileAPIService DelayProfileAPI service -type DelayProfileAPIService service +// DelayProfileApiService DelayProfileApi service +type DelayProfileApiService service type ApiCreateDelayProfileRequest struct { ctx context.Context - ApiService *DelayProfileAPIService + ApiService *DelayProfileApiService delayProfileResource *DelayProfileResource } @@ -43,7 +43,7 @@ CreateDelayProfile Method for CreateDelayProfile @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateDelayProfileRequest */ -func (a *DelayProfileAPIService) CreateDelayProfile(ctx context.Context) ApiCreateDelayProfileRequest { +func (a *DelayProfileApiService) CreateDelayProfile(ctx context.Context) ApiCreateDelayProfileRequest { return ApiCreateDelayProfileRequest{ ApiService: a, ctx: ctx, @@ -52,7 +52,7 @@ func (a *DelayProfileAPIService) CreateDelayProfile(ctx context.Context) ApiCrea // Execute executes the request // @return DelayProfileResource -func (a *DelayProfileAPIService) CreateDelayProfileExecute(r ApiCreateDelayProfileRequest) (*DelayProfileResource, *http.Response, error) { +func (a *DelayProfileApiService) CreateDelayProfileExecute(r ApiCreateDelayProfileRequest) (*DelayProfileResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -60,7 +60,7 @@ func (a *DelayProfileAPIService) CreateDelayProfileExecute(r ApiCreateDelayProfi localVarReturnValue *DelayProfileResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DelayProfileAPIService.CreateDelayProfile") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DelayProfileApiService.CreateDelayProfile") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -156,7 +156,7 @@ func (a *DelayProfileAPIService) CreateDelayProfileExecute(r ApiCreateDelayProfi } type ApiDeleteDelayProfileRequest struct { ctx context.Context - ApiService *DelayProfileAPIService + ApiService *DelayProfileApiService id int32 } @@ -171,7 +171,7 @@ DeleteDelayProfile Method for DeleteDelayProfile @param id @return ApiDeleteDelayProfileRequest */ -func (a *DelayProfileAPIService) DeleteDelayProfile(ctx context.Context, id int32) ApiDeleteDelayProfileRequest { +func (a *DelayProfileApiService) DeleteDelayProfile(ctx context.Context, id int32) ApiDeleteDelayProfileRequest { return ApiDeleteDelayProfileRequest{ ApiService: a, ctx: ctx, @@ -180,14 +180,14 @@ func (a *DelayProfileAPIService) DeleteDelayProfile(ctx context.Context, id int3 } // Execute executes the request -func (a *DelayProfileAPIService) DeleteDelayProfileExecute(r ApiDeleteDelayProfileRequest) (*http.Response, error) { +func (a *DelayProfileApiService) DeleteDelayProfileExecute(r ApiDeleteDelayProfileRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DelayProfileAPIService.DeleteDelayProfile") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DelayProfileApiService.DeleteDelayProfile") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -273,7 +273,7 @@ func (a *DelayProfileAPIService) DeleteDelayProfileExecute(r ApiDeleteDelayProfi } type ApiGetDelayProfileByIdRequest struct { ctx context.Context - ApiService *DelayProfileAPIService + ApiService *DelayProfileApiService id int32 } @@ -288,7 +288,7 @@ GetDelayProfileById Method for GetDelayProfileById @param id @return ApiGetDelayProfileByIdRequest */ -func (a *DelayProfileAPIService) GetDelayProfileById(ctx context.Context, id int32) ApiGetDelayProfileByIdRequest { +func (a *DelayProfileApiService) GetDelayProfileById(ctx context.Context, id int32) ApiGetDelayProfileByIdRequest { return ApiGetDelayProfileByIdRequest{ ApiService: a, ctx: ctx, @@ -298,7 +298,7 @@ func (a *DelayProfileAPIService) GetDelayProfileById(ctx context.Context, id int // Execute executes the request // @return DelayProfileResource -func (a *DelayProfileAPIService) GetDelayProfileByIdExecute(r ApiGetDelayProfileByIdRequest) (*DelayProfileResource, *http.Response, error) { +func (a *DelayProfileApiService) GetDelayProfileByIdExecute(r ApiGetDelayProfileByIdRequest) (*DelayProfileResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -306,7 +306,7 @@ func (a *DelayProfileAPIService) GetDelayProfileByIdExecute(r ApiGetDelayProfile localVarReturnValue *DelayProfileResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DelayProfileAPIService.GetDelayProfileById") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DelayProfileApiService.GetDelayProfileById") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -401,7 +401,7 @@ func (a *DelayProfileAPIService) GetDelayProfileByIdExecute(r ApiGetDelayProfile } type ApiListDelayProfileRequest struct { ctx context.Context - ApiService *DelayProfileAPIService + ApiService *DelayProfileApiService } func (r ApiListDelayProfileRequest) Execute() ([]*DelayProfileResource, *http.Response, error) { @@ -414,7 +414,7 @@ ListDelayProfile Method for ListDelayProfile @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListDelayProfileRequest */ -func (a *DelayProfileAPIService) ListDelayProfile(ctx context.Context) ApiListDelayProfileRequest { +func (a *DelayProfileApiService) ListDelayProfile(ctx context.Context) ApiListDelayProfileRequest { return ApiListDelayProfileRequest{ ApiService: a, ctx: ctx, @@ -423,7 +423,7 @@ func (a *DelayProfileAPIService) ListDelayProfile(ctx context.Context) ApiListDe // Execute executes the request // @return []DelayProfileResource -func (a *DelayProfileAPIService) ListDelayProfileExecute(r ApiListDelayProfileRequest) ([]*DelayProfileResource, *http.Response, error) { +func (a *DelayProfileApiService) ListDelayProfileExecute(r ApiListDelayProfileRequest) ([]*DelayProfileResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -431,7 +431,7 @@ func (a *DelayProfileAPIService) ListDelayProfileExecute(r ApiListDelayProfileRe localVarReturnValue []*DelayProfileResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DelayProfileAPIService.ListDelayProfile") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DelayProfileApiService.ListDelayProfile") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -525,7 +525,7 @@ func (a *DelayProfileAPIService) ListDelayProfileExecute(r ApiListDelayProfileRe } type ApiUpdateDelayProfileRequest struct { ctx context.Context - ApiService *DelayProfileAPIService + ApiService *DelayProfileApiService id string delayProfileResource *DelayProfileResource } @@ -546,7 +546,7 @@ UpdateDelayProfile Method for UpdateDelayProfile @param id @return ApiUpdateDelayProfileRequest */ -func (a *DelayProfileAPIService) UpdateDelayProfile(ctx context.Context, id string) ApiUpdateDelayProfileRequest { +func (a *DelayProfileApiService) UpdateDelayProfile(ctx context.Context, id string) ApiUpdateDelayProfileRequest { return ApiUpdateDelayProfileRequest{ ApiService: a, ctx: ctx, @@ -556,7 +556,7 @@ func (a *DelayProfileAPIService) UpdateDelayProfile(ctx context.Context, id stri // Execute executes the request // @return DelayProfileResource -func (a *DelayProfileAPIService) UpdateDelayProfileExecute(r ApiUpdateDelayProfileRequest) (*DelayProfileResource, *http.Response, error) { +func (a *DelayProfileApiService) UpdateDelayProfileExecute(r ApiUpdateDelayProfileRequest) (*DelayProfileResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} @@ -564,7 +564,7 @@ func (a *DelayProfileAPIService) UpdateDelayProfileExecute(r ApiUpdateDelayProfi localVarReturnValue *DelayProfileResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DelayProfileAPIService.UpdateDelayProfile") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DelayProfileApiService.UpdateDelayProfile") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -661,7 +661,7 @@ func (a *DelayProfileAPIService) UpdateDelayProfileExecute(r ApiUpdateDelayProfi } type ApiUpdateDelayProfileReorderRequest struct { ctx context.Context - ApiService *DelayProfileAPIService + ApiService *DelayProfileApiService id int32 after *int32 } @@ -682,7 +682,7 @@ UpdateDelayProfileReorder Method for UpdateDelayProfileReorder @param id @return ApiUpdateDelayProfileReorderRequest */ -func (a *DelayProfileAPIService) UpdateDelayProfileReorder(ctx context.Context, id int32) ApiUpdateDelayProfileReorderRequest { +func (a *DelayProfileApiService) UpdateDelayProfileReorder(ctx context.Context, id int32) ApiUpdateDelayProfileReorderRequest { return ApiUpdateDelayProfileReorderRequest{ ApiService: a, ctx: ctx, @@ -692,7 +692,7 @@ func (a *DelayProfileAPIService) UpdateDelayProfileReorder(ctx context.Context, // Execute executes the request // @return []DelayProfileResource -func (a *DelayProfileAPIService) UpdateDelayProfileReorderExecute(r ApiUpdateDelayProfileReorderRequest) ([]*DelayProfileResource, *http.Response, error) { +func (a *DelayProfileApiService) UpdateDelayProfileReorderExecute(r ApiUpdateDelayProfileReorderRequest) ([]*DelayProfileResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} @@ -700,7 +700,7 @@ func (a *DelayProfileAPIService) UpdateDelayProfileReorderExecute(r ApiUpdateDel localVarReturnValue []*DelayProfileResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DelayProfileAPIService.UpdateDelayProfileReorder") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DelayProfileApiService.UpdateDelayProfileReorder") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } diff --git a/sonarr/api_disk_space.go b/sonarr/api_disk_space.go index 5a9e9c7..4ecb9dd 100644 --- a/sonarr/api_disk_space.go +++ b/sonarr/api_disk_space.go @@ -19,11 +19,11 @@ import ( ) -// DiskSpaceAPIService DiskSpaceAPI service -type DiskSpaceAPIService service +// DiskSpaceApiService DiskSpaceApi service +type DiskSpaceApiService service type ApiListDiskSpaceRequest struct { ctx context.Context - ApiService *DiskSpaceAPIService + ApiService *DiskSpaceApiService } func (r ApiListDiskSpaceRequest) Execute() ([]*DiskSpaceResource, *http.Response, error) { @@ -36,7 +36,7 @@ ListDiskSpace Method for ListDiskSpace @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListDiskSpaceRequest */ -func (a *DiskSpaceAPIService) ListDiskSpace(ctx context.Context) ApiListDiskSpaceRequest { +func (a *DiskSpaceApiService) ListDiskSpace(ctx context.Context) ApiListDiskSpaceRequest { return ApiListDiskSpaceRequest{ ApiService: a, ctx: ctx, @@ -45,7 +45,7 @@ func (a *DiskSpaceAPIService) ListDiskSpace(ctx context.Context) ApiListDiskSpac // Execute executes the request // @return []DiskSpaceResource -func (a *DiskSpaceAPIService) ListDiskSpaceExecute(r ApiListDiskSpaceRequest) ([]*DiskSpaceResource, *http.Response, error) { +func (a *DiskSpaceApiService) ListDiskSpaceExecute(r ApiListDiskSpaceRequest) ([]*DiskSpaceResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -53,7 +53,7 @@ func (a *DiskSpaceAPIService) ListDiskSpaceExecute(r ApiListDiskSpaceRequest) ([ localVarReturnValue []*DiskSpaceResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DiskSpaceAPIService.ListDiskSpace") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DiskSpaceApiService.ListDiskSpace") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } diff --git a/sonarr/api_download_client.go b/sonarr/api_download_client.go index bff527f..1154817 100644 --- a/sonarr/api_download_client.go +++ b/sonarr/api_download_client.go @@ -20,11 +20,11 @@ import ( ) -// DownloadClientAPIService DownloadClientAPI service -type DownloadClientAPIService service +// DownloadClientApiService DownloadClientApi service +type DownloadClientApiService service type ApiCreateDownloadClientRequest struct { ctx context.Context - ApiService *DownloadClientAPIService + ApiService *DownloadClientApiService downloadClientResource *DownloadClientResource } @@ -43,7 +43,7 @@ CreateDownloadClient Method for CreateDownloadClient @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateDownloadClientRequest */ -func (a *DownloadClientAPIService) CreateDownloadClient(ctx context.Context) ApiCreateDownloadClientRequest { +func (a *DownloadClientApiService) CreateDownloadClient(ctx context.Context) ApiCreateDownloadClientRequest { return ApiCreateDownloadClientRequest{ ApiService: a, ctx: ctx, @@ -52,7 +52,7 @@ func (a *DownloadClientAPIService) CreateDownloadClient(ctx context.Context) Api // Execute executes the request // @return DownloadClientResource -func (a *DownloadClientAPIService) CreateDownloadClientExecute(r ApiCreateDownloadClientRequest) (*DownloadClientResource, *http.Response, error) { +func (a *DownloadClientApiService) CreateDownloadClientExecute(r ApiCreateDownloadClientRequest) (*DownloadClientResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -60,7 +60,7 @@ func (a *DownloadClientAPIService) CreateDownloadClientExecute(r ApiCreateDownlo localVarReturnValue *DownloadClientResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DownloadClientAPIService.CreateDownloadClient") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DownloadClientApiService.CreateDownloadClient") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -156,7 +156,7 @@ func (a *DownloadClientAPIService) CreateDownloadClientExecute(r ApiCreateDownlo } type ApiCreateDownloadClientActionByNameRequest struct { ctx context.Context - ApiService *DownloadClientAPIService + ApiService *DownloadClientApiService name string downloadClientResource *DownloadClientResource } @@ -177,7 +177,7 @@ CreateDownloadClientActionByName Method for CreateDownloadClientActionByName @param name @return ApiCreateDownloadClientActionByNameRequest */ -func (a *DownloadClientAPIService) CreateDownloadClientActionByName(ctx context.Context, name string) ApiCreateDownloadClientActionByNameRequest { +func (a *DownloadClientApiService) CreateDownloadClientActionByName(ctx context.Context, name string) ApiCreateDownloadClientActionByNameRequest { return ApiCreateDownloadClientActionByNameRequest{ ApiService: a, ctx: ctx, @@ -186,14 +186,14 @@ func (a *DownloadClientAPIService) CreateDownloadClientActionByName(ctx context. } // Execute executes the request -func (a *DownloadClientAPIService) CreateDownloadClientActionByNameExecute(r ApiCreateDownloadClientActionByNameRequest) (*http.Response, error) { +func (a *DownloadClientApiService) CreateDownloadClientActionByNameExecute(r ApiCreateDownloadClientActionByNameRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DownloadClientAPIService.CreateDownloadClientActionByName") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DownloadClientApiService.CreateDownloadClientActionByName") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -281,7 +281,7 @@ func (a *DownloadClientAPIService) CreateDownloadClientActionByNameExecute(r Api } type ApiDeleteDownloadClientRequest struct { ctx context.Context - ApiService *DownloadClientAPIService + ApiService *DownloadClientApiService id int32 } @@ -296,7 +296,7 @@ DeleteDownloadClient Method for DeleteDownloadClient @param id @return ApiDeleteDownloadClientRequest */ -func (a *DownloadClientAPIService) DeleteDownloadClient(ctx context.Context, id int32) ApiDeleteDownloadClientRequest { +func (a *DownloadClientApiService) DeleteDownloadClient(ctx context.Context, id int32) ApiDeleteDownloadClientRequest { return ApiDeleteDownloadClientRequest{ ApiService: a, ctx: ctx, @@ -305,14 +305,14 @@ func (a *DownloadClientAPIService) DeleteDownloadClient(ctx context.Context, id } // Execute executes the request -func (a *DownloadClientAPIService) DeleteDownloadClientExecute(r ApiDeleteDownloadClientRequest) (*http.Response, error) { +func (a *DownloadClientApiService) DeleteDownloadClientExecute(r ApiDeleteDownloadClientRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DownloadClientAPIService.DeleteDownloadClient") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DownloadClientApiService.DeleteDownloadClient") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -398,7 +398,7 @@ func (a *DownloadClientAPIService) DeleteDownloadClientExecute(r ApiDeleteDownlo } type ApiGetDownloadClientByIdRequest struct { ctx context.Context - ApiService *DownloadClientAPIService + ApiService *DownloadClientApiService id int32 } @@ -413,7 +413,7 @@ GetDownloadClientById Method for GetDownloadClientById @param id @return ApiGetDownloadClientByIdRequest */ -func (a *DownloadClientAPIService) GetDownloadClientById(ctx context.Context, id int32) ApiGetDownloadClientByIdRequest { +func (a *DownloadClientApiService) GetDownloadClientById(ctx context.Context, id int32) ApiGetDownloadClientByIdRequest { return ApiGetDownloadClientByIdRequest{ ApiService: a, ctx: ctx, @@ -423,7 +423,7 @@ func (a *DownloadClientAPIService) GetDownloadClientById(ctx context.Context, id // Execute executes the request // @return DownloadClientResource -func (a *DownloadClientAPIService) GetDownloadClientByIdExecute(r ApiGetDownloadClientByIdRequest) (*DownloadClientResource, *http.Response, error) { +func (a *DownloadClientApiService) GetDownloadClientByIdExecute(r ApiGetDownloadClientByIdRequest) (*DownloadClientResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -431,7 +431,7 @@ func (a *DownloadClientAPIService) GetDownloadClientByIdExecute(r ApiGetDownload localVarReturnValue *DownloadClientResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DownloadClientAPIService.GetDownloadClientById") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DownloadClientApiService.GetDownloadClientById") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -526,7 +526,7 @@ func (a *DownloadClientAPIService) GetDownloadClientByIdExecute(r ApiGetDownload } type ApiListDownloadClientRequest struct { ctx context.Context - ApiService *DownloadClientAPIService + ApiService *DownloadClientApiService } func (r ApiListDownloadClientRequest) Execute() ([]*DownloadClientResource, *http.Response, error) { @@ -539,7 +539,7 @@ ListDownloadClient Method for ListDownloadClient @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListDownloadClientRequest */ -func (a *DownloadClientAPIService) ListDownloadClient(ctx context.Context) ApiListDownloadClientRequest { +func (a *DownloadClientApiService) ListDownloadClient(ctx context.Context) ApiListDownloadClientRequest { return ApiListDownloadClientRequest{ ApiService: a, ctx: ctx, @@ -548,7 +548,7 @@ func (a *DownloadClientAPIService) ListDownloadClient(ctx context.Context) ApiLi // Execute executes the request // @return []DownloadClientResource -func (a *DownloadClientAPIService) ListDownloadClientExecute(r ApiListDownloadClientRequest) ([]*DownloadClientResource, *http.Response, error) { +func (a *DownloadClientApiService) ListDownloadClientExecute(r ApiListDownloadClientRequest) ([]*DownloadClientResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -556,7 +556,7 @@ func (a *DownloadClientAPIService) ListDownloadClientExecute(r ApiListDownloadCl localVarReturnValue []*DownloadClientResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DownloadClientAPIService.ListDownloadClient") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DownloadClientApiService.ListDownloadClient") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -650,7 +650,7 @@ func (a *DownloadClientAPIService) ListDownloadClientExecute(r ApiListDownloadCl } type ApiListDownloadClientSchemaRequest struct { ctx context.Context - ApiService *DownloadClientAPIService + ApiService *DownloadClientApiService } func (r ApiListDownloadClientSchemaRequest) Execute() ([]*DownloadClientResource, *http.Response, error) { @@ -663,7 +663,7 @@ ListDownloadClientSchema Method for ListDownloadClientSchema @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListDownloadClientSchemaRequest */ -func (a *DownloadClientAPIService) ListDownloadClientSchema(ctx context.Context) ApiListDownloadClientSchemaRequest { +func (a *DownloadClientApiService) ListDownloadClientSchema(ctx context.Context) ApiListDownloadClientSchemaRequest { return ApiListDownloadClientSchemaRequest{ ApiService: a, ctx: ctx, @@ -672,7 +672,7 @@ func (a *DownloadClientAPIService) ListDownloadClientSchema(ctx context.Context) // Execute executes the request // @return []DownloadClientResource -func (a *DownloadClientAPIService) ListDownloadClientSchemaExecute(r ApiListDownloadClientSchemaRequest) ([]*DownloadClientResource, *http.Response, error) { +func (a *DownloadClientApiService) ListDownloadClientSchemaExecute(r ApiListDownloadClientSchemaRequest) ([]*DownloadClientResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -680,7 +680,7 @@ func (a *DownloadClientAPIService) ListDownloadClientSchemaExecute(r ApiListDown localVarReturnValue []*DownloadClientResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DownloadClientAPIService.ListDownloadClientSchema") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DownloadClientApiService.ListDownloadClientSchema") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -774,7 +774,7 @@ func (a *DownloadClientAPIService) ListDownloadClientSchemaExecute(r ApiListDown } type ApiTestDownloadClientRequest struct { ctx context.Context - ApiService *DownloadClientAPIService + ApiService *DownloadClientApiService downloadClientResource *DownloadClientResource } @@ -793,7 +793,7 @@ TestDownloadClient Method for TestDownloadClient @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiTestDownloadClientRequest */ -func (a *DownloadClientAPIService) TestDownloadClient(ctx context.Context) ApiTestDownloadClientRequest { +func (a *DownloadClientApiService) TestDownloadClient(ctx context.Context) ApiTestDownloadClientRequest { return ApiTestDownloadClientRequest{ ApiService: a, ctx: ctx, @@ -801,14 +801,14 @@ func (a *DownloadClientAPIService) TestDownloadClient(ctx context.Context) ApiTe } // Execute executes the request -func (a *DownloadClientAPIService) TestDownloadClientExecute(r ApiTestDownloadClientRequest) (*http.Response, error) { +func (a *DownloadClientApiService) TestDownloadClientExecute(r ApiTestDownloadClientRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DownloadClientAPIService.TestDownloadClient") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DownloadClientApiService.TestDownloadClient") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -895,7 +895,7 @@ func (a *DownloadClientAPIService) TestDownloadClientExecute(r ApiTestDownloadCl } type ApiTestallDownloadClientRequest struct { ctx context.Context - ApiService *DownloadClientAPIService + ApiService *DownloadClientApiService } func (r ApiTestallDownloadClientRequest) Execute() (*http.Response, error) { @@ -908,7 +908,7 @@ TestallDownloadClient Method for TestallDownloadClient @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiTestallDownloadClientRequest */ -func (a *DownloadClientAPIService) TestallDownloadClient(ctx context.Context) ApiTestallDownloadClientRequest { +func (a *DownloadClientApiService) TestallDownloadClient(ctx context.Context) ApiTestallDownloadClientRequest { return ApiTestallDownloadClientRequest{ ApiService: a, ctx: ctx, @@ -916,14 +916,14 @@ func (a *DownloadClientAPIService) TestallDownloadClient(ctx context.Context) Ap } // Execute executes the request -func (a *DownloadClientAPIService) TestallDownloadClientExecute(r ApiTestallDownloadClientRequest) (*http.Response, error) { +func (a *DownloadClientApiService) TestallDownloadClientExecute(r ApiTestallDownloadClientRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DownloadClientAPIService.TestallDownloadClient") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DownloadClientApiService.TestallDownloadClient") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -1008,7 +1008,7 @@ func (a *DownloadClientAPIService) TestallDownloadClientExecute(r ApiTestallDown } type ApiUpdateDownloadClientRequest struct { ctx context.Context - ApiService *DownloadClientAPIService + ApiService *DownloadClientApiService id string downloadClientResource *DownloadClientResource } @@ -1029,7 +1029,7 @@ UpdateDownloadClient Method for UpdateDownloadClient @param id @return ApiUpdateDownloadClientRequest */ -func (a *DownloadClientAPIService) UpdateDownloadClient(ctx context.Context, id string) ApiUpdateDownloadClientRequest { +func (a *DownloadClientApiService) UpdateDownloadClient(ctx context.Context, id string) ApiUpdateDownloadClientRequest { return ApiUpdateDownloadClientRequest{ ApiService: a, ctx: ctx, @@ -1039,7 +1039,7 @@ func (a *DownloadClientAPIService) UpdateDownloadClient(ctx context.Context, id // Execute executes the request // @return DownloadClientResource -func (a *DownloadClientAPIService) UpdateDownloadClientExecute(r ApiUpdateDownloadClientRequest) (*DownloadClientResource, *http.Response, error) { +func (a *DownloadClientApiService) UpdateDownloadClientExecute(r ApiUpdateDownloadClientRequest) (*DownloadClientResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} @@ -1047,7 +1047,7 @@ func (a *DownloadClientAPIService) UpdateDownloadClientExecute(r ApiUpdateDownlo localVarReturnValue *DownloadClientResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DownloadClientAPIService.UpdateDownloadClient") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DownloadClientApiService.UpdateDownloadClient") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } diff --git a/sonarr/api_download_client_config.go b/sonarr/api_download_client_config.go index d67d9f4..410218b 100644 --- a/sonarr/api_download_client_config.go +++ b/sonarr/api_download_client_config.go @@ -20,11 +20,11 @@ import ( ) -// DownloadClientConfigAPIService DownloadClientConfigAPI service -type DownloadClientConfigAPIService service +// DownloadClientConfigApiService DownloadClientConfigApi service +type DownloadClientConfigApiService service type ApiGetDownloadClientConfigRequest struct { ctx context.Context - ApiService *DownloadClientConfigAPIService + ApiService *DownloadClientConfigApiService } func (r ApiGetDownloadClientConfigRequest) Execute() (*DownloadClientConfigResource, *http.Response, error) { @@ -37,7 +37,7 @@ GetDownloadClientConfig Method for GetDownloadClientConfig @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetDownloadClientConfigRequest */ -func (a *DownloadClientConfigAPIService) GetDownloadClientConfig(ctx context.Context) ApiGetDownloadClientConfigRequest { +func (a *DownloadClientConfigApiService) GetDownloadClientConfig(ctx context.Context) ApiGetDownloadClientConfigRequest { return ApiGetDownloadClientConfigRequest{ ApiService: a, ctx: ctx, @@ -46,7 +46,7 @@ func (a *DownloadClientConfigAPIService) GetDownloadClientConfig(ctx context.Con // Execute executes the request // @return DownloadClientConfigResource -func (a *DownloadClientConfigAPIService) GetDownloadClientConfigExecute(r ApiGetDownloadClientConfigRequest) (*DownloadClientConfigResource, *http.Response, error) { +func (a *DownloadClientConfigApiService) GetDownloadClientConfigExecute(r ApiGetDownloadClientConfigRequest) (*DownloadClientConfigResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -54,7 +54,7 @@ func (a *DownloadClientConfigAPIService) GetDownloadClientConfigExecute(r ApiGet localVarReturnValue *DownloadClientConfigResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DownloadClientConfigAPIService.GetDownloadClientConfig") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DownloadClientConfigApiService.GetDownloadClientConfig") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -148,7 +148,7 @@ func (a *DownloadClientConfigAPIService) GetDownloadClientConfigExecute(r ApiGet } type ApiGetDownloadClientConfigByIdRequest struct { ctx context.Context - ApiService *DownloadClientConfigAPIService + ApiService *DownloadClientConfigApiService id int32 } @@ -163,7 +163,7 @@ GetDownloadClientConfigById Method for GetDownloadClientConfigById @param id @return ApiGetDownloadClientConfigByIdRequest */ -func (a *DownloadClientConfigAPIService) GetDownloadClientConfigById(ctx context.Context, id int32) ApiGetDownloadClientConfigByIdRequest { +func (a *DownloadClientConfigApiService) GetDownloadClientConfigById(ctx context.Context, id int32) ApiGetDownloadClientConfigByIdRequest { return ApiGetDownloadClientConfigByIdRequest{ ApiService: a, ctx: ctx, @@ -173,7 +173,7 @@ func (a *DownloadClientConfigAPIService) GetDownloadClientConfigById(ctx context // Execute executes the request // @return DownloadClientConfigResource -func (a *DownloadClientConfigAPIService) GetDownloadClientConfigByIdExecute(r ApiGetDownloadClientConfigByIdRequest) (*DownloadClientConfigResource, *http.Response, error) { +func (a *DownloadClientConfigApiService) GetDownloadClientConfigByIdExecute(r ApiGetDownloadClientConfigByIdRequest) (*DownloadClientConfigResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -181,7 +181,7 @@ func (a *DownloadClientConfigAPIService) GetDownloadClientConfigByIdExecute(r Ap localVarReturnValue *DownloadClientConfigResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DownloadClientConfigAPIService.GetDownloadClientConfigById") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DownloadClientConfigApiService.GetDownloadClientConfigById") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -276,7 +276,7 @@ func (a *DownloadClientConfigAPIService) GetDownloadClientConfigByIdExecute(r Ap } type ApiUpdateDownloadClientConfigRequest struct { ctx context.Context - ApiService *DownloadClientConfigAPIService + ApiService *DownloadClientConfigApiService id string downloadClientConfigResource *DownloadClientConfigResource } @@ -297,7 +297,7 @@ UpdateDownloadClientConfig Method for UpdateDownloadClientConfig @param id @return ApiUpdateDownloadClientConfigRequest */ -func (a *DownloadClientConfigAPIService) UpdateDownloadClientConfig(ctx context.Context, id string) ApiUpdateDownloadClientConfigRequest { +func (a *DownloadClientConfigApiService) UpdateDownloadClientConfig(ctx context.Context, id string) ApiUpdateDownloadClientConfigRequest { return ApiUpdateDownloadClientConfigRequest{ ApiService: a, ctx: ctx, @@ -307,7 +307,7 @@ func (a *DownloadClientConfigAPIService) UpdateDownloadClientConfig(ctx context. // Execute executes the request // @return DownloadClientConfigResource -func (a *DownloadClientConfigAPIService) UpdateDownloadClientConfigExecute(r ApiUpdateDownloadClientConfigRequest) (*DownloadClientConfigResource, *http.Response, error) { +func (a *DownloadClientConfigApiService) UpdateDownloadClientConfigExecute(r ApiUpdateDownloadClientConfigRequest) (*DownloadClientConfigResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} @@ -315,7 +315,7 @@ func (a *DownloadClientConfigAPIService) UpdateDownloadClientConfigExecute(r Api localVarReturnValue *DownloadClientConfigResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DownloadClientConfigAPIService.UpdateDownloadClientConfig") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DownloadClientConfigApiService.UpdateDownloadClientConfig") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } diff --git a/sonarr/api_episode.go b/sonarr/api_episode.go index 1026333..9080dd7 100644 --- a/sonarr/api_episode.go +++ b/sonarr/api_episode.go @@ -21,11 +21,11 @@ import ( ) -// EpisodeAPIService EpisodeAPI service -type EpisodeAPIService service +// EpisodeApiService EpisodeApi service +type EpisodeApiService service type ApiGetEpisodeByIdRequest struct { ctx context.Context - ApiService *EpisodeAPIService + ApiService *EpisodeApiService id int32 } @@ -40,7 +40,7 @@ GetEpisodeById Method for GetEpisodeById @param id @return ApiGetEpisodeByIdRequest */ -func (a *EpisodeAPIService) GetEpisodeById(ctx context.Context, id int32) ApiGetEpisodeByIdRequest { +func (a *EpisodeApiService) GetEpisodeById(ctx context.Context, id int32) ApiGetEpisodeByIdRequest { return ApiGetEpisodeByIdRequest{ ApiService: a, ctx: ctx, @@ -50,7 +50,7 @@ func (a *EpisodeAPIService) GetEpisodeById(ctx context.Context, id int32) ApiGet // Execute executes the request // @return EpisodeResource -func (a *EpisodeAPIService) GetEpisodeByIdExecute(r ApiGetEpisodeByIdRequest) (*EpisodeResource, *http.Response, error) { +func (a *EpisodeApiService) GetEpisodeByIdExecute(r ApiGetEpisodeByIdRequest) (*EpisodeResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -58,7 +58,7 @@ func (a *EpisodeAPIService) GetEpisodeByIdExecute(r ApiGetEpisodeByIdRequest) (* localVarReturnValue *EpisodeResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "EpisodeAPIService.GetEpisodeById") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "EpisodeApiService.GetEpisodeById") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -153,7 +153,7 @@ func (a *EpisodeAPIService) GetEpisodeByIdExecute(r ApiGetEpisodeByIdRequest) (* } type ApiListEpisodeRequest struct { ctx context.Context - ApiService *EpisodeAPIService + ApiService *EpisodeApiService seriesId *int32 seasonNumber *int32 episodeIds *[]int32 @@ -196,7 +196,7 @@ ListEpisode Method for ListEpisode @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListEpisodeRequest */ -func (a *EpisodeAPIService) ListEpisode(ctx context.Context) ApiListEpisodeRequest { +func (a *EpisodeApiService) ListEpisode(ctx context.Context) ApiListEpisodeRequest { return ApiListEpisodeRequest{ ApiService: a, ctx: ctx, @@ -205,7 +205,7 @@ func (a *EpisodeAPIService) ListEpisode(ctx context.Context) ApiListEpisodeReque // Execute executes the request // @return []EpisodeResource -func (a *EpisodeAPIService) ListEpisodeExecute(r ApiListEpisodeRequest) ([]*EpisodeResource, *http.Response, error) { +func (a *EpisodeApiService) ListEpisodeExecute(r ApiListEpisodeRequest) ([]*EpisodeResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -213,7 +213,7 @@ func (a *EpisodeAPIService) ListEpisodeExecute(r ApiListEpisodeRequest) ([]*Epis localVarReturnValue []*EpisodeResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "EpisodeAPIService.ListEpisode") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "EpisodeApiService.ListEpisode") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -330,16 +330,10 @@ func (a *EpisodeAPIService) ListEpisodeExecute(r ApiListEpisodeRequest) ([]*Epis } type ApiPutEpisodeMonitorRequest struct { ctx context.Context - ApiService *EpisodeAPIService - includeImages *bool + ApiService *EpisodeApiService episodesMonitoredResource *EpisodesMonitoredResource } -func (r ApiPutEpisodeMonitorRequest) IncludeImages(includeImages bool) ApiPutEpisodeMonitorRequest { - r.includeImages = &includeImages - return r -} - func (r ApiPutEpisodeMonitorRequest) EpisodesMonitoredResource(episodesMonitoredResource EpisodesMonitoredResource) ApiPutEpisodeMonitorRequest { r.episodesMonitoredResource = &episodesMonitoredResource return r @@ -355,7 +349,7 @@ PutEpisodeMonitor Method for PutEpisodeMonitor @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiPutEpisodeMonitorRequest */ -func (a *EpisodeAPIService) PutEpisodeMonitor(ctx context.Context) ApiPutEpisodeMonitorRequest { +func (a *EpisodeApiService) PutEpisodeMonitor(ctx context.Context) ApiPutEpisodeMonitorRequest { return ApiPutEpisodeMonitorRequest{ ApiService: a, ctx: ctx, @@ -363,14 +357,14 @@ func (a *EpisodeAPIService) PutEpisodeMonitor(ctx context.Context) ApiPutEpisode } // Execute executes the request -func (a *EpisodeAPIService) PutEpisodeMonitorExecute(r ApiPutEpisodeMonitorRequest) (*http.Response, error) { +func (a *EpisodeApiService) PutEpisodeMonitorExecute(r ApiPutEpisodeMonitorRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "EpisodeAPIService.PutEpisodeMonitor") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "EpisodeApiService.PutEpisodeMonitor") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -381,9 +375,6 @@ func (a *EpisodeAPIService) PutEpisodeMonitorExecute(r ApiPutEpisodeMonitorReque localVarQueryParams := url.Values{} localVarFormParams := url.Values{} - if r.includeImages != nil { - localVarQueryParams.Add("includeImages", parameterToString(*r.includeImages, "")) - } // to determine the Content-Type header localVarHTTPContentTypes := []string{"application/json"} @@ -460,7 +451,7 @@ func (a *EpisodeAPIService) PutEpisodeMonitorExecute(r ApiPutEpisodeMonitorReque } type ApiUpdateEpisodeRequest struct { ctx context.Context - ApiService *EpisodeAPIService + ApiService *EpisodeApiService id int32 episodeResource *EpisodeResource } @@ -481,7 +472,7 @@ UpdateEpisode Method for UpdateEpisode @param id @return ApiUpdateEpisodeRequest */ -func (a *EpisodeAPIService) UpdateEpisode(ctx context.Context, id int32) ApiUpdateEpisodeRequest { +func (a *EpisodeApiService) UpdateEpisode(ctx context.Context, id int32) ApiUpdateEpisodeRequest { return ApiUpdateEpisodeRequest{ ApiService: a, ctx: ctx, @@ -491,7 +482,7 @@ func (a *EpisodeAPIService) UpdateEpisode(ctx context.Context, id int32) ApiUpda // Execute executes the request // @return EpisodeResource -func (a *EpisodeAPIService) UpdateEpisodeExecute(r ApiUpdateEpisodeRequest) (*EpisodeResource, *http.Response, error) { +func (a *EpisodeApiService) UpdateEpisodeExecute(r ApiUpdateEpisodeRequest) (*EpisodeResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} @@ -499,7 +490,7 @@ func (a *EpisodeAPIService) UpdateEpisodeExecute(r ApiUpdateEpisodeRequest) (*Ep localVarReturnValue *EpisodeResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "EpisodeAPIService.UpdateEpisode") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "EpisodeApiService.UpdateEpisode") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } diff --git a/sonarr/api_episode_file.go b/sonarr/api_episode_file.go index e763645..3e00ae9 100644 --- a/sonarr/api_episode_file.go +++ b/sonarr/api_episode_file.go @@ -21,11 +21,11 @@ import ( ) -// EpisodeFileAPIService EpisodeFileAPI service -type EpisodeFileAPIService service +// EpisodeFileApiService EpisodeFileApi service +type EpisodeFileApiService service type ApiDeleteEpisodeFileRequest struct { ctx context.Context - ApiService *EpisodeFileAPIService + ApiService *EpisodeFileApiService id int32 } @@ -40,7 +40,7 @@ DeleteEpisodeFile Method for DeleteEpisodeFile @param id @return ApiDeleteEpisodeFileRequest */ -func (a *EpisodeFileAPIService) DeleteEpisodeFile(ctx context.Context, id int32) ApiDeleteEpisodeFileRequest { +func (a *EpisodeFileApiService) DeleteEpisodeFile(ctx context.Context, id int32) ApiDeleteEpisodeFileRequest { return ApiDeleteEpisodeFileRequest{ ApiService: a, ctx: ctx, @@ -49,14 +49,14 @@ func (a *EpisodeFileAPIService) DeleteEpisodeFile(ctx context.Context, id int32) } // Execute executes the request -func (a *EpisodeFileAPIService) DeleteEpisodeFileExecute(r ApiDeleteEpisodeFileRequest) (*http.Response, error) { +func (a *EpisodeFileApiService) DeleteEpisodeFileExecute(r ApiDeleteEpisodeFileRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "EpisodeFileAPIService.DeleteEpisodeFile") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "EpisodeFileApiService.DeleteEpisodeFile") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -142,7 +142,7 @@ func (a *EpisodeFileAPIService) DeleteEpisodeFileExecute(r ApiDeleteEpisodeFileR } type ApiDeleteEpisodeFileBulkRequest struct { ctx context.Context - ApiService *EpisodeFileAPIService + ApiService *EpisodeFileApiService episodeFileListResource *EpisodeFileListResource } @@ -161,7 +161,7 @@ DeleteEpisodeFileBulk Method for DeleteEpisodeFileBulk @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiDeleteEpisodeFileBulkRequest */ -func (a *EpisodeFileAPIService) DeleteEpisodeFileBulk(ctx context.Context) ApiDeleteEpisodeFileBulkRequest { +func (a *EpisodeFileApiService) DeleteEpisodeFileBulk(ctx context.Context) ApiDeleteEpisodeFileBulkRequest { return ApiDeleteEpisodeFileBulkRequest{ ApiService: a, ctx: ctx, @@ -169,14 +169,14 @@ func (a *EpisodeFileAPIService) DeleteEpisodeFileBulk(ctx context.Context) ApiDe } // Execute executes the request -func (a *EpisodeFileAPIService) DeleteEpisodeFileBulkExecute(r ApiDeleteEpisodeFileBulkRequest) (*http.Response, error) { +func (a *EpisodeFileApiService) DeleteEpisodeFileBulkExecute(r ApiDeleteEpisodeFileBulkRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "EpisodeFileAPIService.DeleteEpisodeFileBulk") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "EpisodeFileApiService.DeleteEpisodeFileBulk") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -263,7 +263,7 @@ func (a *EpisodeFileAPIService) DeleteEpisodeFileBulkExecute(r ApiDeleteEpisodeF } type ApiGetEpisodeFileByIdRequest struct { ctx context.Context - ApiService *EpisodeFileAPIService + ApiService *EpisodeFileApiService id int32 } @@ -278,7 +278,7 @@ GetEpisodeFileById Method for GetEpisodeFileById @param id @return ApiGetEpisodeFileByIdRequest */ -func (a *EpisodeFileAPIService) GetEpisodeFileById(ctx context.Context, id int32) ApiGetEpisodeFileByIdRequest { +func (a *EpisodeFileApiService) GetEpisodeFileById(ctx context.Context, id int32) ApiGetEpisodeFileByIdRequest { return ApiGetEpisodeFileByIdRequest{ ApiService: a, ctx: ctx, @@ -288,7 +288,7 @@ func (a *EpisodeFileAPIService) GetEpisodeFileById(ctx context.Context, id int32 // Execute executes the request // @return EpisodeFileResource -func (a *EpisodeFileAPIService) GetEpisodeFileByIdExecute(r ApiGetEpisodeFileByIdRequest) (*EpisodeFileResource, *http.Response, error) { +func (a *EpisodeFileApiService) GetEpisodeFileByIdExecute(r ApiGetEpisodeFileByIdRequest) (*EpisodeFileResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -296,7 +296,7 @@ func (a *EpisodeFileAPIService) GetEpisodeFileByIdExecute(r ApiGetEpisodeFileByI localVarReturnValue *EpisodeFileResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "EpisodeFileAPIService.GetEpisodeFileById") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "EpisodeFileApiService.GetEpisodeFileById") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -391,7 +391,7 @@ func (a *EpisodeFileAPIService) GetEpisodeFileByIdExecute(r ApiGetEpisodeFileByI } type ApiListEpisodeFileRequest struct { ctx context.Context - ApiService *EpisodeFileAPIService + ApiService *EpisodeFileApiService seriesId *int32 episodeFileIds *[]int32 } @@ -416,7 +416,7 @@ ListEpisodeFile Method for ListEpisodeFile @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListEpisodeFileRequest */ -func (a *EpisodeFileAPIService) ListEpisodeFile(ctx context.Context) ApiListEpisodeFileRequest { +func (a *EpisodeFileApiService) ListEpisodeFile(ctx context.Context) ApiListEpisodeFileRequest { return ApiListEpisodeFileRequest{ ApiService: a, ctx: ctx, @@ -425,7 +425,7 @@ func (a *EpisodeFileAPIService) ListEpisodeFile(ctx context.Context) ApiListEpis // Execute executes the request // @return []EpisodeFileResource -func (a *EpisodeFileAPIService) ListEpisodeFileExecute(r ApiListEpisodeFileRequest) ([]*EpisodeFileResource, *http.Response, error) { +func (a *EpisodeFileApiService) ListEpisodeFileExecute(r ApiListEpisodeFileRequest) ([]*EpisodeFileResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -433,7 +433,7 @@ func (a *EpisodeFileAPIService) ListEpisodeFileExecute(r ApiListEpisodeFileReque localVarReturnValue []*EpisodeFileResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "EpisodeFileAPIService.ListEpisodeFile") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "EpisodeFileApiService.ListEpisodeFile") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -541,7 +541,7 @@ func (a *EpisodeFileAPIService) ListEpisodeFileExecute(r ApiListEpisodeFileReque } type ApiPutEpisodeFileBulkRequest struct { ctx context.Context - ApiService *EpisodeFileAPIService + ApiService *EpisodeFileApiService episodeFileResource *[]EpisodeFileResource } @@ -560,7 +560,7 @@ PutEpisodeFileBulk Method for PutEpisodeFileBulk @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiPutEpisodeFileBulkRequest */ -func (a *EpisodeFileAPIService) PutEpisodeFileBulk(ctx context.Context) ApiPutEpisodeFileBulkRequest { +func (a *EpisodeFileApiService) PutEpisodeFileBulk(ctx context.Context) ApiPutEpisodeFileBulkRequest { return ApiPutEpisodeFileBulkRequest{ ApiService: a, ctx: ctx, @@ -568,14 +568,14 @@ func (a *EpisodeFileAPIService) PutEpisodeFileBulk(ctx context.Context) ApiPutEp } // Execute executes the request -func (a *EpisodeFileAPIService) PutEpisodeFileBulkExecute(r ApiPutEpisodeFileBulkRequest) (*http.Response, error) { +func (a *EpisodeFileApiService) PutEpisodeFileBulkExecute(r ApiPutEpisodeFileBulkRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "EpisodeFileAPIService.PutEpisodeFileBulk") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "EpisodeFileApiService.PutEpisodeFileBulk") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -662,7 +662,7 @@ func (a *EpisodeFileAPIService) PutEpisodeFileBulkExecute(r ApiPutEpisodeFileBul } type ApiPutEpisodeFileEditorRequest struct { ctx context.Context - ApiService *EpisodeFileAPIService + ApiService *EpisodeFileApiService episodeFileListResource *EpisodeFileListResource } @@ -681,7 +681,7 @@ PutEpisodeFileEditor Method for PutEpisodeFileEditor @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiPutEpisodeFileEditorRequest */ -func (a *EpisodeFileAPIService) PutEpisodeFileEditor(ctx context.Context) ApiPutEpisodeFileEditorRequest { +func (a *EpisodeFileApiService) PutEpisodeFileEditor(ctx context.Context) ApiPutEpisodeFileEditorRequest { return ApiPutEpisodeFileEditorRequest{ ApiService: a, ctx: ctx, @@ -689,14 +689,14 @@ func (a *EpisodeFileAPIService) PutEpisodeFileEditor(ctx context.Context) ApiPut } // Execute executes the request -func (a *EpisodeFileAPIService) PutEpisodeFileEditorExecute(r ApiPutEpisodeFileEditorRequest) (*http.Response, error) { +func (a *EpisodeFileApiService) PutEpisodeFileEditorExecute(r ApiPutEpisodeFileEditorRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "EpisodeFileAPIService.PutEpisodeFileEditor") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "EpisodeFileApiService.PutEpisodeFileEditor") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -783,7 +783,7 @@ func (a *EpisodeFileAPIService) PutEpisodeFileEditorExecute(r ApiPutEpisodeFileE } type ApiUpdateEpisodeFileRequest struct { ctx context.Context - ApiService *EpisodeFileAPIService + ApiService *EpisodeFileApiService id string episodeFileResource *EpisodeFileResource } @@ -804,7 +804,7 @@ UpdateEpisodeFile Method for UpdateEpisodeFile @param id @return ApiUpdateEpisodeFileRequest */ -func (a *EpisodeFileAPIService) UpdateEpisodeFile(ctx context.Context, id string) ApiUpdateEpisodeFileRequest { +func (a *EpisodeFileApiService) UpdateEpisodeFile(ctx context.Context, id string) ApiUpdateEpisodeFileRequest { return ApiUpdateEpisodeFileRequest{ ApiService: a, ctx: ctx, @@ -814,7 +814,7 @@ func (a *EpisodeFileAPIService) UpdateEpisodeFile(ctx context.Context, id string // Execute executes the request // @return EpisodeFileResource -func (a *EpisodeFileAPIService) UpdateEpisodeFileExecute(r ApiUpdateEpisodeFileRequest) (*EpisodeFileResource, *http.Response, error) { +func (a *EpisodeFileApiService) UpdateEpisodeFileExecute(r ApiUpdateEpisodeFileRequest) (*EpisodeFileResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} @@ -822,7 +822,7 @@ func (a *EpisodeFileAPIService) UpdateEpisodeFileExecute(r ApiUpdateEpisodeFileR localVarReturnValue *EpisodeFileResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "EpisodeFileAPIService.UpdateEpisodeFile") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "EpisodeFileApiService.UpdateEpisodeFile") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } diff --git a/sonarr/api_file_system.go b/sonarr/api_file_system.go index fc61dd3..768c7d0 100644 --- a/sonarr/api_file_system.go +++ b/sonarr/api_file_system.go @@ -19,11 +19,11 @@ import ( ) -// FileSystemAPIService FileSystemAPI service -type FileSystemAPIService service +// FileSystemApiService FileSystemApi service +type FileSystemApiService service type ApiGetFileSystemRequest struct { ctx context.Context - ApiService *FileSystemAPIService + ApiService *FileSystemApiService path *string includeFiles *bool allowFoldersWithoutTrailingSlashes *bool @@ -54,7 +54,7 @@ GetFileSystem Method for GetFileSystem @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetFileSystemRequest */ -func (a *FileSystemAPIService) GetFileSystem(ctx context.Context) ApiGetFileSystemRequest { +func (a *FileSystemApiService) GetFileSystem(ctx context.Context) ApiGetFileSystemRequest { return ApiGetFileSystemRequest{ ApiService: a, ctx: ctx, @@ -62,14 +62,14 @@ func (a *FileSystemAPIService) GetFileSystem(ctx context.Context) ApiGetFileSyst } // Execute executes the request -func (a *FileSystemAPIService) GetFileSystemExecute(r ApiGetFileSystemRequest) (*http.Response, error) { +func (a *FileSystemApiService) GetFileSystemExecute(r ApiGetFileSystemRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "FileSystemAPIService.GetFileSystem") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "FileSystemApiService.GetFileSystem") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -163,7 +163,7 @@ func (a *FileSystemAPIService) GetFileSystemExecute(r ApiGetFileSystemRequest) ( } type ApiGetFileSystemMediafilesRequest struct { ctx context.Context - ApiService *FileSystemAPIService + ApiService *FileSystemApiService path *string } @@ -182,7 +182,7 @@ GetFileSystemMediafiles Method for GetFileSystemMediafiles @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetFileSystemMediafilesRequest */ -func (a *FileSystemAPIService) GetFileSystemMediafiles(ctx context.Context) ApiGetFileSystemMediafilesRequest { +func (a *FileSystemApiService) GetFileSystemMediafiles(ctx context.Context) ApiGetFileSystemMediafilesRequest { return ApiGetFileSystemMediafilesRequest{ ApiService: a, ctx: ctx, @@ -190,14 +190,14 @@ func (a *FileSystemAPIService) GetFileSystemMediafiles(ctx context.Context) ApiG } // Execute executes the request -func (a *FileSystemAPIService) GetFileSystemMediafilesExecute(r ApiGetFileSystemMediafilesRequest) (*http.Response, error) { +func (a *FileSystemApiService) GetFileSystemMediafilesExecute(r ApiGetFileSystemMediafilesRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "FileSystemAPIService.GetFileSystemMediafiles") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "FileSystemApiService.GetFileSystemMediafiles") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -285,7 +285,7 @@ func (a *FileSystemAPIService) GetFileSystemMediafilesExecute(r ApiGetFileSystem } type ApiGetFileSystemTypeRequest struct { ctx context.Context - ApiService *FileSystemAPIService + ApiService *FileSystemApiService path *string } @@ -304,7 +304,7 @@ GetFileSystemType Method for GetFileSystemType @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetFileSystemTypeRequest */ -func (a *FileSystemAPIService) GetFileSystemType(ctx context.Context) ApiGetFileSystemTypeRequest { +func (a *FileSystemApiService) GetFileSystemType(ctx context.Context) ApiGetFileSystemTypeRequest { return ApiGetFileSystemTypeRequest{ ApiService: a, ctx: ctx, @@ -312,14 +312,14 @@ func (a *FileSystemAPIService) GetFileSystemType(ctx context.Context) ApiGetFile } // Execute executes the request -func (a *FileSystemAPIService) GetFileSystemTypeExecute(r ApiGetFileSystemTypeRequest) (*http.Response, error) { +func (a *FileSystemApiService) GetFileSystemTypeExecute(r ApiGetFileSystemTypeRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "FileSystemAPIService.GetFileSystemType") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "FileSystemApiService.GetFileSystemType") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } diff --git a/sonarr/api_health.go b/sonarr/api_health.go index 58ce8c9..578a3f1 100644 --- a/sonarr/api_health.go +++ b/sonarr/api_health.go @@ -20,11 +20,11 @@ import ( ) -// HealthAPIService HealthAPI service -type HealthAPIService service +// HealthApiService HealthApi service +type HealthApiService service type ApiGetHealthByIdRequest struct { ctx context.Context - ApiService *HealthAPIService + ApiService *HealthApiService id int32 } @@ -39,7 +39,7 @@ GetHealthById Method for GetHealthById @param id @return ApiGetHealthByIdRequest */ -func (a *HealthAPIService) GetHealthById(ctx context.Context, id int32) ApiGetHealthByIdRequest { +func (a *HealthApiService) GetHealthById(ctx context.Context, id int32) ApiGetHealthByIdRequest { return ApiGetHealthByIdRequest{ ApiService: a, ctx: ctx, @@ -49,7 +49,7 @@ func (a *HealthAPIService) GetHealthById(ctx context.Context, id int32) ApiGetHe // Execute executes the request // @return HealthResource -func (a *HealthAPIService) GetHealthByIdExecute(r ApiGetHealthByIdRequest) (*HealthResource, *http.Response, error) { +func (a *HealthApiService) GetHealthByIdExecute(r ApiGetHealthByIdRequest) (*HealthResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -57,7 +57,7 @@ func (a *HealthAPIService) GetHealthByIdExecute(r ApiGetHealthByIdRequest) (*Hea localVarReturnValue *HealthResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "HealthAPIService.GetHealthById") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "HealthApiService.GetHealthById") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -152,7 +152,7 @@ func (a *HealthAPIService) GetHealthByIdExecute(r ApiGetHealthByIdRequest) (*Hea } type ApiListHealthRequest struct { ctx context.Context - ApiService *HealthAPIService + ApiService *HealthApiService } func (r ApiListHealthRequest) Execute() ([]*HealthResource, *http.Response, error) { @@ -165,7 +165,7 @@ ListHealth Method for ListHealth @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListHealthRequest */ -func (a *HealthAPIService) ListHealth(ctx context.Context) ApiListHealthRequest { +func (a *HealthApiService) ListHealth(ctx context.Context) ApiListHealthRequest { return ApiListHealthRequest{ ApiService: a, ctx: ctx, @@ -174,7 +174,7 @@ func (a *HealthAPIService) ListHealth(ctx context.Context) ApiListHealthRequest // Execute executes the request // @return []HealthResource -func (a *HealthAPIService) ListHealthExecute(r ApiListHealthRequest) ([]*HealthResource, *http.Response, error) { +func (a *HealthApiService) ListHealthExecute(r ApiListHealthRequest) ([]*HealthResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -182,7 +182,7 @@ func (a *HealthAPIService) ListHealthExecute(r ApiListHealthRequest) ([]*HealthR localVarReturnValue []*HealthResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "HealthAPIService.ListHealth") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "HealthApiService.ListHealth") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } diff --git a/sonarr/api_history.go b/sonarr/api_history.go index d7c32e0..9c2360d 100644 --- a/sonarr/api_history.go +++ b/sonarr/api_history.go @@ -21,11 +21,11 @@ import ( ) -// HistoryAPIService HistoryAPI service -type HistoryAPIService service +// HistoryApiService HistoryApi service +type HistoryApiService service type ApiCreateHistoryFailedByIdRequest struct { ctx context.Context - ApiService *HistoryAPIService + ApiService *HistoryApiService id int32 } @@ -40,7 +40,7 @@ CreateHistoryFailedById Method for CreateHistoryFailedById @param id @return ApiCreateHistoryFailedByIdRequest */ -func (a *HistoryAPIService) CreateHistoryFailedById(ctx context.Context, id int32) ApiCreateHistoryFailedByIdRequest { +func (a *HistoryApiService) CreateHistoryFailedById(ctx context.Context, id int32) ApiCreateHistoryFailedByIdRequest { return ApiCreateHistoryFailedByIdRequest{ ApiService: a, ctx: ctx, @@ -49,14 +49,14 @@ func (a *HistoryAPIService) CreateHistoryFailedById(ctx context.Context, id int3 } // Execute executes the request -func (a *HistoryAPIService) CreateHistoryFailedByIdExecute(r ApiCreateHistoryFailedByIdRequest) (*http.Response, error) { +func (a *HistoryApiService) CreateHistoryFailedByIdExecute(r ApiCreateHistoryFailedByIdRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "HistoryAPIService.CreateHistoryFailedById") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "HistoryApiService.CreateHistoryFailedById") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -142,7 +142,7 @@ func (a *HistoryAPIService) CreateHistoryFailedByIdExecute(r ApiCreateHistoryFai } type ApiGetHistoryRequest struct { ctx context.Context - ApiService *HistoryAPIService + ApiService *HistoryApiService includeSeries *bool includeEpisode *bool } @@ -167,7 +167,7 @@ GetHistory Method for GetHistory @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetHistoryRequest */ -func (a *HistoryAPIService) GetHistory(ctx context.Context) ApiGetHistoryRequest { +func (a *HistoryApiService) GetHistory(ctx context.Context) ApiGetHistoryRequest { return ApiGetHistoryRequest{ ApiService: a, ctx: ctx, @@ -176,7 +176,7 @@ func (a *HistoryAPIService) GetHistory(ctx context.Context) ApiGetHistoryRequest // Execute executes the request // @return HistoryResourcePagingResource -func (a *HistoryAPIService) GetHistoryExecute(r ApiGetHistoryRequest) (*HistoryResourcePagingResource, *http.Response, error) { +func (a *HistoryApiService) GetHistoryExecute(r ApiGetHistoryRequest) (*HistoryResourcePagingResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -184,7 +184,7 @@ func (a *HistoryAPIService) GetHistoryExecute(r ApiGetHistoryRequest) (*HistoryR localVarReturnValue *HistoryResourcePagingResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "HistoryAPIService.GetHistory") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "HistoryApiService.GetHistory") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -284,7 +284,7 @@ func (a *HistoryAPIService) GetHistoryExecute(r ApiGetHistoryRequest) (*HistoryR } type ApiListHistorySeriesRequest struct { ctx context.Context - ApiService *HistoryAPIService + ApiService *HistoryApiService seriesId *int32 seasonNumber *int32 eventType *EpisodeHistoryEventType @@ -327,7 +327,7 @@ ListHistorySeries Method for ListHistorySeries @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListHistorySeriesRequest */ -func (a *HistoryAPIService) ListHistorySeries(ctx context.Context) ApiListHistorySeriesRequest { +func (a *HistoryApiService) ListHistorySeries(ctx context.Context) ApiListHistorySeriesRequest { return ApiListHistorySeriesRequest{ ApiService: a, ctx: ctx, @@ -336,7 +336,7 @@ func (a *HistoryAPIService) ListHistorySeries(ctx context.Context) ApiListHistor // Execute executes the request // @return []HistoryResource -func (a *HistoryAPIService) ListHistorySeriesExecute(r ApiListHistorySeriesRequest) ([]*HistoryResource, *http.Response, error) { +func (a *HistoryApiService) ListHistorySeriesExecute(r ApiListHistorySeriesRequest) ([]*HistoryResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -344,7 +344,7 @@ func (a *HistoryAPIService) ListHistorySeriesExecute(r ApiListHistorySeriesReque localVarReturnValue []*HistoryResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "HistoryAPIService.ListHistorySeries") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "HistoryApiService.ListHistorySeries") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -453,7 +453,7 @@ func (a *HistoryAPIService) ListHistorySeriesExecute(r ApiListHistorySeriesReque } type ApiListHistorySinceRequest struct { ctx context.Context - ApiService *HistoryAPIService + ApiService *HistoryApiService date *time.Time eventType *EpisodeHistoryEventType includeSeries *bool @@ -490,7 +490,7 @@ ListHistorySince Method for ListHistorySince @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListHistorySinceRequest */ -func (a *HistoryAPIService) ListHistorySince(ctx context.Context) ApiListHistorySinceRequest { +func (a *HistoryApiService) ListHistorySince(ctx context.Context) ApiListHistorySinceRequest { return ApiListHistorySinceRequest{ ApiService: a, ctx: ctx, @@ -499,7 +499,7 @@ func (a *HistoryAPIService) ListHistorySince(ctx context.Context) ApiListHistory // Execute executes the request // @return []HistoryResource -func (a *HistoryAPIService) ListHistorySinceExecute(r ApiListHistorySinceRequest) ([]*HistoryResource, *http.Response, error) { +func (a *HistoryApiService) ListHistorySinceExecute(r ApiListHistorySinceRequest) ([]*HistoryResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -507,7 +507,7 @@ func (a *HistoryAPIService) ListHistorySinceExecute(r ApiListHistorySinceRequest localVarReturnValue []*HistoryResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "HistoryAPIService.ListHistorySince") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "HistoryApiService.ListHistorySince") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } diff --git a/sonarr/api_host_config.go b/sonarr/api_host_config.go index ce85405..2ad9818 100644 --- a/sonarr/api_host_config.go +++ b/sonarr/api_host_config.go @@ -20,11 +20,11 @@ import ( ) -// HostConfigAPIService HostConfigAPI service -type HostConfigAPIService service +// HostConfigApiService HostConfigApi service +type HostConfigApiService service type ApiGetHostConfigRequest struct { ctx context.Context - ApiService *HostConfigAPIService + ApiService *HostConfigApiService } func (r ApiGetHostConfigRequest) Execute() (*HostConfigResource, *http.Response, error) { @@ -37,7 +37,7 @@ GetHostConfig Method for GetHostConfig @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetHostConfigRequest */ -func (a *HostConfigAPIService) GetHostConfig(ctx context.Context) ApiGetHostConfigRequest { +func (a *HostConfigApiService) GetHostConfig(ctx context.Context) ApiGetHostConfigRequest { return ApiGetHostConfigRequest{ ApiService: a, ctx: ctx, @@ -46,7 +46,7 @@ func (a *HostConfigAPIService) GetHostConfig(ctx context.Context) ApiGetHostConf // Execute executes the request // @return HostConfigResource -func (a *HostConfigAPIService) GetHostConfigExecute(r ApiGetHostConfigRequest) (*HostConfigResource, *http.Response, error) { +func (a *HostConfigApiService) GetHostConfigExecute(r ApiGetHostConfigRequest) (*HostConfigResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -54,7 +54,7 @@ func (a *HostConfigAPIService) GetHostConfigExecute(r ApiGetHostConfigRequest) ( localVarReturnValue *HostConfigResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "HostConfigAPIService.GetHostConfig") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "HostConfigApiService.GetHostConfig") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -148,7 +148,7 @@ func (a *HostConfigAPIService) GetHostConfigExecute(r ApiGetHostConfigRequest) ( } type ApiGetHostConfigByIdRequest struct { ctx context.Context - ApiService *HostConfigAPIService + ApiService *HostConfigApiService id int32 } @@ -163,7 +163,7 @@ GetHostConfigById Method for GetHostConfigById @param id @return ApiGetHostConfigByIdRequest */ -func (a *HostConfigAPIService) GetHostConfigById(ctx context.Context, id int32) ApiGetHostConfigByIdRequest { +func (a *HostConfigApiService) GetHostConfigById(ctx context.Context, id int32) ApiGetHostConfigByIdRequest { return ApiGetHostConfigByIdRequest{ ApiService: a, ctx: ctx, @@ -173,7 +173,7 @@ func (a *HostConfigAPIService) GetHostConfigById(ctx context.Context, id int32) // Execute executes the request // @return HostConfigResource -func (a *HostConfigAPIService) GetHostConfigByIdExecute(r ApiGetHostConfigByIdRequest) (*HostConfigResource, *http.Response, error) { +func (a *HostConfigApiService) GetHostConfigByIdExecute(r ApiGetHostConfigByIdRequest) (*HostConfigResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -181,7 +181,7 @@ func (a *HostConfigAPIService) GetHostConfigByIdExecute(r ApiGetHostConfigByIdRe localVarReturnValue *HostConfigResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "HostConfigAPIService.GetHostConfigById") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "HostConfigApiService.GetHostConfigById") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -276,7 +276,7 @@ func (a *HostConfigAPIService) GetHostConfigByIdExecute(r ApiGetHostConfigByIdRe } type ApiUpdateHostConfigRequest struct { ctx context.Context - ApiService *HostConfigAPIService + ApiService *HostConfigApiService id string hostConfigResource *HostConfigResource } @@ -297,7 +297,7 @@ UpdateHostConfig Method for UpdateHostConfig @param id @return ApiUpdateHostConfigRequest */ -func (a *HostConfigAPIService) UpdateHostConfig(ctx context.Context, id string) ApiUpdateHostConfigRequest { +func (a *HostConfigApiService) UpdateHostConfig(ctx context.Context, id string) ApiUpdateHostConfigRequest { return ApiUpdateHostConfigRequest{ ApiService: a, ctx: ctx, @@ -307,7 +307,7 @@ func (a *HostConfigAPIService) UpdateHostConfig(ctx context.Context, id string) // Execute executes the request // @return HostConfigResource -func (a *HostConfigAPIService) UpdateHostConfigExecute(r ApiUpdateHostConfigRequest) (*HostConfigResource, *http.Response, error) { +func (a *HostConfigApiService) UpdateHostConfigExecute(r ApiUpdateHostConfigRequest) (*HostConfigResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} @@ -315,7 +315,7 @@ func (a *HostConfigAPIService) UpdateHostConfigExecute(r ApiUpdateHostConfigRequ localVarReturnValue *HostConfigResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "HostConfigAPIService.UpdateHostConfig") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "HostConfigApiService.UpdateHostConfig") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } diff --git a/sonarr/api_import_list.go b/sonarr/api_import_list.go index 5cd752e..8dcc2c9 100644 --- a/sonarr/api_import_list.go +++ b/sonarr/api_import_list.go @@ -20,11 +20,11 @@ import ( ) -// ImportListAPIService ImportListAPI service -type ImportListAPIService service +// ImportListApiService ImportListApi service +type ImportListApiService service type ApiCreateImportListRequest struct { ctx context.Context - ApiService *ImportListAPIService + ApiService *ImportListApiService importListResource *ImportListResource } @@ -43,7 +43,7 @@ CreateImportList Method for CreateImportList @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateImportListRequest */ -func (a *ImportListAPIService) CreateImportList(ctx context.Context) ApiCreateImportListRequest { +func (a *ImportListApiService) CreateImportList(ctx context.Context) ApiCreateImportListRequest { return ApiCreateImportListRequest{ ApiService: a, ctx: ctx, @@ -52,7 +52,7 @@ func (a *ImportListAPIService) CreateImportList(ctx context.Context) ApiCreateIm // Execute executes the request // @return ImportListResource -func (a *ImportListAPIService) CreateImportListExecute(r ApiCreateImportListRequest) (*ImportListResource, *http.Response, error) { +func (a *ImportListApiService) CreateImportListExecute(r ApiCreateImportListRequest) (*ImportListResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -60,7 +60,7 @@ func (a *ImportListAPIService) CreateImportListExecute(r ApiCreateImportListRequ localVarReturnValue *ImportListResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ImportListAPIService.CreateImportList") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ImportListApiService.CreateImportList") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -156,7 +156,7 @@ func (a *ImportListAPIService) CreateImportListExecute(r ApiCreateImportListRequ } type ApiCreateImportListActionByNameRequest struct { ctx context.Context - ApiService *ImportListAPIService + ApiService *ImportListApiService name string importListResource *ImportListResource } @@ -177,7 +177,7 @@ CreateImportListActionByName Method for CreateImportListActionByName @param name @return ApiCreateImportListActionByNameRequest */ -func (a *ImportListAPIService) CreateImportListActionByName(ctx context.Context, name string) ApiCreateImportListActionByNameRequest { +func (a *ImportListApiService) CreateImportListActionByName(ctx context.Context, name string) ApiCreateImportListActionByNameRequest { return ApiCreateImportListActionByNameRequest{ ApiService: a, ctx: ctx, @@ -186,14 +186,14 @@ func (a *ImportListAPIService) CreateImportListActionByName(ctx context.Context, } // Execute executes the request -func (a *ImportListAPIService) CreateImportListActionByNameExecute(r ApiCreateImportListActionByNameRequest) (*http.Response, error) { +func (a *ImportListApiService) CreateImportListActionByNameExecute(r ApiCreateImportListActionByNameRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ImportListAPIService.CreateImportListActionByName") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ImportListApiService.CreateImportListActionByName") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -281,7 +281,7 @@ func (a *ImportListAPIService) CreateImportListActionByNameExecute(r ApiCreateIm } type ApiDeleteImportListRequest struct { ctx context.Context - ApiService *ImportListAPIService + ApiService *ImportListApiService id int32 } @@ -296,7 +296,7 @@ DeleteImportList Method for DeleteImportList @param id @return ApiDeleteImportListRequest */ -func (a *ImportListAPIService) DeleteImportList(ctx context.Context, id int32) ApiDeleteImportListRequest { +func (a *ImportListApiService) DeleteImportList(ctx context.Context, id int32) ApiDeleteImportListRequest { return ApiDeleteImportListRequest{ ApiService: a, ctx: ctx, @@ -305,14 +305,14 @@ func (a *ImportListAPIService) DeleteImportList(ctx context.Context, id int32) A } // Execute executes the request -func (a *ImportListAPIService) DeleteImportListExecute(r ApiDeleteImportListRequest) (*http.Response, error) { +func (a *ImportListApiService) DeleteImportListExecute(r ApiDeleteImportListRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ImportListAPIService.DeleteImportList") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ImportListApiService.DeleteImportList") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -398,7 +398,7 @@ func (a *ImportListAPIService) DeleteImportListExecute(r ApiDeleteImportListRequ } type ApiGetImportListByIdRequest struct { ctx context.Context - ApiService *ImportListAPIService + ApiService *ImportListApiService id int32 } @@ -413,7 +413,7 @@ GetImportListById Method for GetImportListById @param id @return ApiGetImportListByIdRequest */ -func (a *ImportListAPIService) GetImportListById(ctx context.Context, id int32) ApiGetImportListByIdRequest { +func (a *ImportListApiService) GetImportListById(ctx context.Context, id int32) ApiGetImportListByIdRequest { return ApiGetImportListByIdRequest{ ApiService: a, ctx: ctx, @@ -423,7 +423,7 @@ func (a *ImportListAPIService) GetImportListById(ctx context.Context, id int32) // Execute executes the request // @return ImportListResource -func (a *ImportListAPIService) GetImportListByIdExecute(r ApiGetImportListByIdRequest) (*ImportListResource, *http.Response, error) { +func (a *ImportListApiService) GetImportListByIdExecute(r ApiGetImportListByIdRequest) (*ImportListResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -431,7 +431,7 @@ func (a *ImportListAPIService) GetImportListByIdExecute(r ApiGetImportListByIdRe localVarReturnValue *ImportListResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ImportListAPIService.GetImportListById") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ImportListApiService.GetImportListById") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -526,7 +526,7 @@ func (a *ImportListAPIService) GetImportListByIdExecute(r ApiGetImportListByIdRe } type ApiListImportListRequest struct { ctx context.Context - ApiService *ImportListAPIService + ApiService *ImportListApiService } func (r ApiListImportListRequest) Execute() ([]*ImportListResource, *http.Response, error) { @@ -539,7 +539,7 @@ ListImportList Method for ListImportList @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListImportListRequest */ -func (a *ImportListAPIService) ListImportList(ctx context.Context) ApiListImportListRequest { +func (a *ImportListApiService) ListImportList(ctx context.Context) ApiListImportListRequest { return ApiListImportListRequest{ ApiService: a, ctx: ctx, @@ -548,7 +548,7 @@ func (a *ImportListAPIService) ListImportList(ctx context.Context) ApiListImport // Execute executes the request // @return []ImportListResource -func (a *ImportListAPIService) ListImportListExecute(r ApiListImportListRequest) ([]*ImportListResource, *http.Response, error) { +func (a *ImportListApiService) ListImportListExecute(r ApiListImportListRequest) ([]*ImportListResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -556,7 +556,7 @@ func (a *ImportListAPIService) ListImportListExecute(r ApiListImportListRequest) localVarReturnValue []*ImportListResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ImportListAPIService.ListImportList") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ImportListApiService.ListImportList") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -650,7 +650,7 @@ func (a *ImportListAPIService) ListImportListExecute(r ApiListImportListRequest) } type ApiListImportListSchemaRequest struct { ctx context.Context - ApiService *ImportListAPIService + ApiService *ImportListApiService } func (r ApiListImportListSchemaRequest) Execute() ([]*ImportListResource, *http.Response, error) { @@ -663,7 +663,7 @@ ListImportListSchema Method for ListImportListSchema @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListImportListSchemaRequest */ -func (a *ImportListAPIService) ListImportListSchema(ctx context.Context) ApiListImportListSchemaRequest { +func (a *ImportListApiService) ListImportListSchema(ctx context.Context) ApiListImportListSchemaRequest { return ApiListImportListSchemaRequest{ ApiService: a, ctx: ctx, @@ -672,7 +672,7 @@ func (a *ImportListAPIService) ListImportListSchema(ctx context.Context) ApiList // Execute executes the request // @return []ImportListResource -func (a *ImportListAPIService) ListImportListSchemaExecute(r ApiListImportListSchemaRequest) ([]*ImportListResource, *http.Response, error) { +func (a *ImportListApiService) ListImportListSchemaExecute(r ApiListImportListSchemaRequest) ([]*ImportListResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -680,7 +680,7 @@ func (a *ImportListAPIService) ListImportListSchemaExecute(r ApiListImportListSc localVarReturnValue []*ImportListResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ImportListAPIService.ListImportListSchema") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ImportListApiService.ListImportListSchema") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -774,7 +774,7 @@ func (a *ImportListAPIService) ListImportListSchemaExecute(r ApiListImportListSc } type ApiTestImportListRequest struct { ctx context.Context - ApiService *ImportListAPIService + ApiService *ImportListApiService importListResource *ImportListResource } @@ -793,7 +793,7 @@ TestImportList Method for TestImportList @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiTestImportListRequest */ -func (a *ImportListAPIService) TestImportList(ctx context.Context) ApiTestImportListRequest { +func (a *ImportListApiService) TestImportList(ctx context.Context) ApiTestImportListRequest { return ApiTestImportListRequest{ ApiService: a, ctx: ctx, @@ -801,14 +801,14 @@ func (a *ImportListAPIService) TestImportList(ctx context.Context) ApiTestImport } // Execute executes the request -func (a *ImportListAPIService) TestImportListExecute(r ApiTestImportListRequest) (*http.Response, error) { +func (a *ImportListApiService) TestImportListExecute(r ApiTestImportListRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ImportListAPIService.TestImportList") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ImportListApiService.TestImportList") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -895,7 +895,7 @@ func (a *ImportListAPIService) TestImportListExecute(r ApiTestImportListRequest) } type ApiTestallImportListRequest struct { ctx context.Context - ApiService *ImportListAPIService + ApiService *ImportListApiService } func (r ApiTestallImportListRequest) Execute() (*http.Response, error) { @@ -908,7 +908,7 @@ TestallImportList Method for TestallImportList @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiTestallImportListRequest */ -func (a *ImportListAPIService) TestallImportList(ctx context.Context) ApiTestallImportListRequest { +func (a *ImportListApiService) TestallImportList(ctx context.Context) ApiTestallImportListRequest { return ApiTestallImportListRequest{ ApiService: a, ctx: ctx, @@ -916,14 +916,14 @@ func (a *ImportListAPIService) TestallImportList(ctx context.Context) ApiTestall } // Execute executes the request -func (a *ImportListAPIService) TestallImportListExecute(r ApiTestallImportListRequest) (*http.Response, error) { +func (a *ImportListApiService) TestallImportListExecute(r ApiTestallImportListRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ImportListAPIService.TestallImportList") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ImportListApiService.TestallImportList") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -1008,7 +1008,7 @@ func (a *ImportListAPIService) TestallImportListExecute(r ApiTestallImportListRe } type ApiUpdateImportListRequest struct { ctx context.Context - ApiService *ImportListAPIService + ApiService *ImportListApiService id string importListResource *ImportListResource } @@ -1029,7 +1029,7 @@ UpdateImportList Method for UpdateImportList @param id @return ApiUpdateImportListRequest */ -func (a *ImportListAPIService) UpdateImportList(ctx context.Context, id string) ApiUpdateImportListRequest { +func (a *ImportListApiService) UpdateImportList(ctx context.Context, id string) ApiUpdateImportListRequest { return ApiUpdateImportListRequest{ ApiService: a, ctx: ctx, @@ -1039,7 +1039,7 @@ func (a *ImportListAPIService) UpdateImportList(ctx context.Context, id string) // Execute executes the request // @return ImportListResource -func (a *ImportListAPIService) UpdateImportListExecute(r ApiUpdateImportListRequest) (*ImportListResource, *http.Response, error) { +func (a *ImportListApiService) UpdateImportListExecute(r ApiUpdateImportListRequest) (*ImportListResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} @@ -1047,7 +1047,7 @@ func (a *ImportListAPIService) UpdateImportListExecute(r ApiUpdateImportListRequ localVarReturnValue *ImportListResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ImportListAPIService.UpdateImportList") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ImportListApiService.UpdateImportList") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } diff --git a/sonarr/api_import_list_exclusion.go b/sonarr/api_import_list_exclusion.go index 6d594af..13862c8 100644 --- a/sonarr/api_import_list_exclusion.go +++ b/sonarr/api_import_list_exclusion.go @@ -20,11 +20,11 @@ import ( ) -// ImportListExclusionAPIService ImportListExclusionAPI service -type ImportListExclusionAPIService service +// ImportListExclusionApiService ImportListExclusionApi service +type ImportListExclusionApiService service type ApiCreateImportListExclusionRequest struct { ctx context.Context - ApiService *ImportListExclusionAPIService + ApiService *ImportListExclusionApiService importListExclusionResource *ImportListExclusionResource } @@ -43,7 +43,7 @@ CreateImportListExclusion Method for CreateImportListExclusion @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateImportListExclusionRequest */ -func (a *ImportListExclusionAPIService) CreateImportListExclusion(ctx context.Context) ApiCreateImportListExclusionRequest { +func (a *ImportListExclusionApiService) CreateImportListExclusion(ctx context.Context) ApiCreateImportListExclusionRequest { return ApiCreateImportListExclusionRequest{ ApiService: a, ctx: ctx, @@ -52,7 +52,7 @@ func (a *ImportListExclusionAPIService) CreateImportListExclusion(ctx context.Co // Execute executes the request // @return ImportListExclusionResource -func (a *ImportListExclusionAPIService) CreateImportListExclusionExecute(r ApiCreateImportListExclusionRequest) (*ImportListExclusionResource, *http.Response, error) { +func (a *ImportListExclusionApiService) CreateImportListExclusionExecute(r ApiCreateImportListExclusionRequest) (*ImportListExclusionResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -60,7 +60,7 @@ func (a *ImportListExclusionAPIService) CreateImportListExclusionExecute(r ApiCr localVarReturnValue *ImportListExclusionResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ImportListExclusionAPIService.CreateImportListExclusion") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ImportListExclusionApiService.CreateImportListExclusion") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -156,7 +156,7 @@ func (a *ImportListExclusionAPIService) CreateImportListExclusionExecute(r ApiCr } type ApiDeleteImportListExclusionRequest struct { ctx context.Context - ApiService *ImportListExclusionAPIService + ApiService *ImportListExclusionApiService id int32 } @@ -171,7 +171,7 @@ DeleteImportListExclusion Method for DeleteImportListExclusion @param id @return ApiDeleteImportListExclusionRequest */ -func (a *ImportListExclusionAPIService) DeleteImportListExclusion(ctx context.Context, id int32) ApiDeleteImportListExclusionRequest { +func (a *ImportListExclusionApiService) DeleteImportListExclusion(ctx context.Context, id int32) ApiDeleteImportListExclusionRequest { return ApiDeleteImportListExclusionRequest{ ApiService: a, ctx: ctx, @@ -180,14 +180,14 @@ func (a *ImportListExclusionAPIService) DeleteImportListExclusion(ctx context.Co } // Execute executes the request -func (a *ImportListExclusionAPIService) DeleteImportListExclusionExecute(r ApiDeleteImportListExclusionRequest) (*http.Response, error) { +func (a *ImportListExclusionApiService) DeleteImportListExclusionExecute(r ApiDeleteImportListExclusionRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ImportListExclusionAPIService.DeleteImportListExclusion") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ImportListExclusionApiService.DeleteImportListExclusion") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -273,7 +273,7 @@ func (a *ImportListExclusionAPIService) DeleteImportListExclusionExecute(r ApiDe } type ApiGetImportListExclusionByIdRequest struct { ctx context.Context - ApiService *ImportListExclusionAPIService + ApiService *ImportListExclusionApiService id int32 } @@ -288,7 +288,7 @@ GetImportListExclusionById Method for GetImportListExclusionById @param id @return ApiGetImportListExclusionByIdRequest */ -func (a *ImportListExclusionAPIService) GetImportListExclusionById(ctx context.Context, id int32) ApiGetImportListExclusionByIdRequest { +func (a *ImportListExclusionApiService) GetImportListExclusionById(ctx context.Context, id int32) ApiGetImportListExclusionByIdRequest { return ApiGetImportListExclusionByIdRequest{ ApiService: a, ctx: ctx, @@ -298,7 +298,7 @@ func (a *ImportListExclusionAPIService) GetImportListExclusionById(ctx context.C // Execute executes the request // @return ImportListExclusionResource -func (a *ImportListExclusionAPIService) GetImportListExclusionByIdExecute(r ApiGetImportListExclusionByIdRequest) (*ImportListExclusionResource, *http.Response, error) { +func (a *ImportListExclusionApiService) GetImportListExclusionByIdExecute(r ApiGetImportListExclusionByIdRequest) (*ImportListExclusionResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -306,7 +306,7 @@ func (a *ImportListExclusionAPIService) GetImportListExclusionByIdExecute(r ApiG localVarReturnValue *ImportListExclusionResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ImportListExclusionAPIService.GetImportListExclusionById") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ImportListExclusionApiService.GetImportListExclusionById") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -401,7 +401,7 @@ func (a *ImportListExclusionAPIService) GetImportListExclusionByIdExecute(r ApiG } type ApiListImportListExclusionRequest struct { ctx context.Context - ApiService *ImportListExclusionAPIService + ApiService *ImportListExclusionApiService } func (r ApiListImportListExclusionRequest) Execute() ([]*ImportListExclusionResource, *http.Response, error) { @@ -414,7 +414,7 @@ ListImportListExclusion Method for ListImportListExclusion @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListImportListExclusionRequest */ -func (a *ImportListExclusionAPIService) ListImportListExclusion(ctx context.Context) ApiListImportListExclusionRequest { +func (a *ImportListExclusionApiService) ListImportListExclusion(ctx context.Context) ApiListImportListExclusionRequest { return ApiListImportListExclusionRequest{ ApiService: a, ctx: ctx, @@ -423,7 +423,7 @@ func (a *ImportListExclusionAPIService) ListImportListExclusion(ctx context.Cont // Execute executes the request // @return []ImportListExclusionResource -func (a *ImportListExclusionAPIService) ListImportListExclusionExecute(r ApiListImportListExclusionRequest) ([]*ImportListExclusionResource, *http.Response, error) { +func (a *ImportListExclusionApiService) ListImportListExclusionExecute(r ApiListImportListExclusionRequest) ([]*ImportListExclusionResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -431,7 +431,7 @@ func (a *ImportListExclusionAPIService) ListImportListExclusionExecute(r ApiList localVarReturnValue []*ImportListExclusionResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ImportListExclusionAPIService.ListImportListExclusion") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ImportListExclusionApiService.ListImportListExclusion") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -525,7 +525,7 @@ func (a *ImportListExclusionAPIService) ListImportListExclusionExecute(r ApiList } type ApiUpdateImportListExclusionRequest struct { ctx context.Context - ApiService *ImportListExclusionAPIService + ApiService *ImportListExclusionApiService id string importListExclusionResource *ImportListExclusionResource } @@ -546,7 +546,7 @@ UpdateImportListExclusion Method for UpdateImportListExclusion @param id @return ApiUpdateImportListExclusionRequest */ -func (a *ImportListExclusionAPIService) UpdateImportListExclusion(ctx context.Context, id string) ApiUpdateImportListExclusionRequest { +func (a *ImportListExclusionApiService) UpdateImportListExclusion(ctx context.Context, id string) ApiUpdateImportListExclusionRequest { return ApiUpdateImportListExclusionRequest{ ApiService: a, ctx: ctx, @@ -556,7 +556,7 @@ func (a *ImportListExclusionAPIService) UpdateImportListExclusion(ctx context.Co // Execute executes the request // @return ImportListExclusionResource -func (a *ImportListExclusionAPIService) UpdateImportListExclusionExecute(r ApiUpdateImportListExclusionRequest) (*ImportListExclusionResource, *http.Response, error) { +func (a *ImportListExclusionApiService) UpdateImportListExclusionExecute(r ApiUpdateImportListExclusionRequest) (*ImportListExclusionResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} @@ -564,7 +564,7 @@ func (a *ImportListExclusionAPIService) UpdateImportListExclusionExecute(r ApiUp localVarReturnValue *ImportListExclusionResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ImportListExclusionAPIService.UpdateImportListExclusion") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ImportListExclusionApiService.UpdateImportListExclusion") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } diff --git a/sonarr/api_indexer.go b/sonarr/api_indexer.go index c1b892e..55a78f7 100644 --- a/sonarr/api_indexer.go +++ b/sonarr/api_indexer.go @@ -20,11 +20,11 @@ import ( ) -// IndexerAPIService IndexerAPI service -type IndexerAPIService service +// IndexerApiService IndexerApi service +type IndexerApiService service type ApiCreateIndexerRequest struct { ctx context.Context - ApiService *IndexerAPIService + ApiService *IndexerApiService indexerResource *IndexerResource } @@ -43,7 +43,7 @@ CreateIndexer Method for CreateIndexer @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateIndexerRequest */ -func (a *IndexerAPIService) CreateIndexer(ctx context.Context) ApiCreateIndexerRequest { +func (a *IndexerApiService) CreateIndexer(ctx context.Context) ApiCreateIndexerRequest { return ApiCreateIndexerRequest{ ApiService: a, ctx: ctx, @@ -52,7 +52,7 @@ func (a *IndexerAPIService) CreateIndexer(ctx context.Context) ApiCreateIndexerR // Execute executes the request // @return IndexerResource -func (a *IndexerAPIService) CreateIndexerExecute(r ApiCreateIndexerRequest) (*IndexerResource, *http.Response, error) { +func (a *IndexerApiService) CreateIndexerExecute(r ApiCreateIndexerRequest) (*IndexerResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -60,7 +60,7 @@ func (a *IndexerAPIService) CreateIndexerExecute(r ApiCreateIndexerRequest) (*In localVarReturnValue *IndexerResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IndexerAPIService.CreateIndexer") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IndexerApiService.CreateIndexer") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -156,7 +156,7 @@ func (a *IndexerAPIService) CreateIndexerExecute(r ApiCreateIndexerRequest) (*In } type ApiCreateIndexerActionByNameRequest struct { ctx context.Context - ApiService *IndexerAPIService + ApiService *IndexerApiService name string indexerResource *IndexerResource } @@ -177,7 +177,7 @@ CreateIndexerActionByName Method for CreateIndexerActionByName @param name @return ApiCreateIndexerActionByNameRequest */ -func (a *IndexerAPIService) CreateIndexerActionByName(ctx context.Context, name string) ApiCreateIndexerActionByNameRequest { +func (a *IndexerApiService) CreateIndexerActionByName(ctx context.Context, name string) ApiCreateIndexerActionByNameRequest { return ApiCreateIndexerActionByNameRequest{ ApiService: a, ctx: ctx, @@ -186,14 +186,14 @@ func (a *IndexerAPIService) CreateIndexerActionByName(ctx context.Context, name } // Execute executes the request -func (a *IndexerAPIService) CreateIndexerActionByNameExecute(r ApiCreateIndexerActionByNameRequest) (*http.Response, error) { +func (a *IndexerApiService) CreateIndexerActionByNameExecute(r ApiCreateIndexerActionByNameRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IndexerAPIService.CreateIndexerActionByName") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IndexerApiService.CreateIndexerActionByName") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -281,7 +281,7 @@ func (a *IndexerAPIService) CreateIndexerActionByNameExecute(r ApiCreateIndexerA } type ApiDeleteIndexerRequest struct { ctx context.Context - ApiService *IndexerAPIService + ApiService *IndexerApiService id int32 } @@ -296,7 +296,7 @@ DeleteIndexer Method for DeleteIndexer @param id @return ApiDeleteIndexerRequest */ -func (a *IndexerAPIService) DeleteIndexer(ctx context.Context, id int32) ApiDeleteIndexerRequest { +func (a *IndexerApiService) DeleteIndexer(ctx context.Context, id int32) ApiDeleteIndexerRequest { return ApiDeleteIndexerRequest{ ApiService: a, ctx: ctx, @@ -305,14 +305,14 @@ func (a *IndexerAPIService) DeleteIndexer(ctx context.Context, id int32) ApiDele } // Execute executes the request -func (a *IndexerAPIService) DeleteIndexerExecute(r ApiDeleteIndexerRequest) (*http.Response, error) { +func (a *IndexerApiService) DeleteIndexerExecute(r ApiDeleteIndexerRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IndexerAPIService.DeleteIndexer") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IndexerApiService.DeleteIndexer") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -398,7 +398,7 @@ func (a *IndexerAPIService) DeleteIndexerExecute(r ApiDeleteIndexerRequest) (*ht } type ApiGetIndexerByIdRequest struct { ctx context.Context - ApiService *IndexerAPIService + ApiService *IndexerApiService id int32 } @@ -413,7 +413,7 @@ GetIndexerById Method for GetIndexerById @param id @return ApiGetIndexerByIdRequest */ -func (a *IndexerAPIService) GetIndexerById(ctx context.Context, id int32) ApiGetIndexerByIdRequest { +func (a *IndexerApiService) GetIndexerById(ctx context.Context, id int32) ApiGetIndexerByIdRequest { return ApiGetIndexerByIdRequest{ ApiService: a, ctx: ctx, @@ -423,7 +423,7 @@ func (a *IndexerAPIService) GetIndexerById(ctx context.Context, id int32) ApiGet // Execute executes the request // @return IndexerResource -func (a *IndexerAPIService) GetIndexerByIdExecute(r ApiGetIndexerByIdRequest) (*IndexerResource, *http.Response, error) { +func (a *IndexerApiService) GetIndexerByIdExecute(r ApiGetIndexerByIdRequest) (*IndexerResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -431,7 +431,7 @@ func (a *IndexerAPIService) GetIndexerByIdExecute(r ApiGetIndexerByIdRequest) (* localVarReturnValue *IndexerResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IndexerAPIService.GetIndexerById") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IndexerApiService.GetIndexerById") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -526,7 +526,7 @@ func (a *IndexerAPIService) GetIndexerByIdExecute(r ApiGetIndexerByIdRequest) (* } type ApiListIndexerRequest struct { ctx context.Context - ApiService *IndexerAPIService + ApiService *IndexerApiService } func (r ApiListIndexerRequest) Execute() ([]*IndexerResource, *http.Response, error) { @@ -539,7 +539,7 @@ ListIndexer Method for ListIndexer @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListIndexerRequest */ -func (a *IndexerAPIService) ListIndexer(ctx context.Context) ApiListIndexerRequest { +func (a *IndexerApiService) ListIndexer(ctx context.Context) ApiListIndexerRequest { return ApiListIndexerRequest{ ApiService: a, ctx: ctx, @@ -548,7 +548,7 @@ func (a *IndexerAPIService) ListIndexer(ctx context.Context) ApiListIndexerReque // Execute executes the request // @return []IndexerResource -func (a *IndexerAPIService) ListIndexerExecute(r ApiListIndexerRequest) ([]*IndexerResource, *http.Response, error) { +func (a *IndexerApiService) ListIndexerExecute(r ApiListIndexerRequest) ([]*IndexerResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -556,7 +556,7 @@ func (a *IndexerAPIService) ListIndexerExecute(r ApiListIndexerRequest) ([]*Inde localVarReturnValue []*IndexerResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IndexerAPIService.ListIndexer") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IndexerApiService.ListIndexer") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -650,7 +650,7 @@ func (a *IndexerAPIService) ListIndexerExecute(r ApiListIndexerRequest) ([]*Inde } type ApiListIndexerSchemaRequest struct { ctx context.Context - ApiService *IndexerAPIService + ApiService *IndexerApiService } func (r ApiListIndexerSchemaRequest) Execute() ([]*IndexerResource, *http.Response, error) { @@ -663,7 +663,7 @@ ListIndexerSchema Method for ListIndexerSchema @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListIndexerSchemaRequest */ -func (a *IndexerAPIService) ListIndexerSchema(ctx context.Context) ApiListIndexerSchemaRequest { +func (a *IndexerApiService) ListIndexerSchema(ctx context.Context) ApiListIndexerSchemaRequest { return ApiListIndexerSchemaRequest{ ApiService: a, ctx: ctx, @@ -672,7 +672,7 @@ func (a *IndexerAPIService) ListIndexerSchema(ctx context.Context) ApiListIndexe // Execute executes the request // @return []IndexerResource -func (a *IndexerAPIService) ListIndexerSchemaExecute(r ApiListIndexerSchemaRequest) ([]*IndexerResource, *http.Response, error) { +func (a *IndexerApiService) ListIndexerSchemaExecute(r ApiListIndexerSchemaRequest) ([]*IndexerResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -680,7 +680,7 @@ func (a *IndexerAPIService) ListIndexerSchemaExecute(r ApiListIndexerSchemaReque localVarReturnValue []*IndexerResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IndexerAPIService.ListIndexerSchema") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IndexerApiService.ListIndexerSchema") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -774,7 +774,7 @@ func (a *IndexerAPIService) ListIndexerSchemaExecute(r ApiListIndexerSchemaReque } type ApiTestIndexerRequest struct { ctx context.Context - ApiService *IndexerAPIService + ApiService *IndexerApiService indexerResource *IndexerResource } @@ -793,7 +793,7 @@ TestIndexer Method for TestIndexer @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiTestIndexerRequest */ -func (a *IndexerAPIService) TestIndexer(ctx context.Context) ApiTestIndexerRequest { +func (a *IndexerApiService) TestIndexer(ctx context.Context) ApiTestIndexerRequest { return ApiTestIndexerRequest{ ApiService: a, ctx: ctx, @@ -801,14 +801,14 @@ func (a *IndexerAPIService) TestIndexer(ctx context.Context) ApiTestIndexerReque } // Execute executes the request -func (a *IndexerAPIService) TestIndexerExecute(r ApiTestIndexerRequest) (*http.Response, error) { +func (a *IndexerApiService) TestIndexerExecute(r ApiTestIndexerRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IndexerAPIService.TestIndexer") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IndexerApiService.TestIndexer") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -895,7 +895,7 @@ func (a *IndexerAPIService) TestIndexerExecute(r ApiTestIndexerRequest) (*http.R } type ApiTestallIndexerRequest struct { ctx context.Context - ApiService *IndexerAPIService + ApiService *IndexerApiService } func (r ApiTestallIndexerRequest) Execute() (*http.Response, error) { @@ -908,7 +908,7 @@ TestallIndexer Method for TestallIndexer @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiTestallIndexerRequest */ -func (a *IndexerAPIService) TestallIndexer(ctx context.Context) ApiTestallIndexerRequest { +func (a *IndexerApiService) TestallIndexer(ctx context.Context) ApiTestallIndexerRequest { return ApiTestallIndexerRequest{ ApiService: a, ctx: ctx, @@ -916,14 +916,14 @@ func (a *IndexerAPIService) TestallIndexer(ctx context.Context) ApiTestallIndexe } // Execute executes the request -func (a *IndexerAPIService) TestallIndexerExecute(r ApiTestallIndexerRequest) (*http.Response, error) { +func (a *IndexerApiService) TestallIndexerExecute(r ApiTestallIndexerRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IndexerAPIService.TestallIndexer") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IndexerApiService.TestallIndexer") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -1008,7 +1008,7 @@ func (a *IndexerAPIService) TestallIndexerExecute(r ApiTestallIndexerRequest) (* } type ApiUpdateIndexerRequest struct { ctx context.Context - ApiService *IndexerAPIService + ApiService *IndexerApiService id string indexerResource *IndexerResource } @@ -1029,7 +1029,7 @@ UpdateIndexer Method for UpdateIndexer @param id @return ApiUpdateIndexerRequest */ -func (a *IndexerAPIService) UpdateIndexer(ctx context.Context, id string) ApiUpdateIndexerRequest { +func (a *IndexerApiService) UpdateIndexer(ctx context.Context, id string) ApiUpdateIndexerRequest { return ApiUpdateIndexerRequest{ ApiService: a, ctx: ctx, @@ -1039,7 +1039,7 @@ func (a *IndexerAPIService) UpdateIndexer(ctx context.Context, id string) ApiUpd // Execute executes the request // @return IndexerResource -func (a *IndexerAPIService) UpdateIndexerExecute(r ApiUpdateIndexerRequest) (*IndexerResource, *http.Response, error) { +func (a *IndexerApiService) UpdateIndexerExecute(r ApiUpdateIndexerRequest) (*IndexerResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} @@ -1047,7 +1047,7 @@ func (a *IndexerAPIService) UpdateIndexerExecute(r ApiUpdateIndexerRequest) (*In localVarReturnValue *IndexerResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IndexerAPIService.UpdateIndexer") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IndexerApiService.UpdateIndexer") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } diff --git a/sonarr/api_indexer_config.go b/sonarr/api_indexer_config.go index 4b60017..4ce4d36 100644 --- a/sonarr/api_indexer_config.go +++ b/sonarr/api_indexer_config.go @@ -20,11 +20,11 @@ import ( ) -// IndexerConfigAPIService IndexerConfigAPI service -type IndexerConfigAPIService service +// IndexerConfigApiService IndexerConfigApi service +type IndexerConfigApiService service type ApiGetIndexerConfigRequest struct { ctx context.Context - ApiService *IndexerConfigAPIService + ApiService *IndexerConfigApiService } func (r ApiGetIndexerConfigRequest) Execute() (*IndexerConfigResource, *http.Response, error) { @@ -37,7 +37,7 @@ GetIndexerConfig Method for GetIndexerConfig @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetIndexerConfigRequest */ -func (a *IndexerConfigAPIService) GetIndexerConfig(ctx context.Context) ApiGetIndexerConfigRequest { +func (a *IndexerConfigApiService) GetIndexerConfig(ctx context.Context) ApiGetIndexerConfigRequest { return ApiGetIndexerConfigRequest{ ApiService: a, ctx: ctx, @@ -46,7 +46,7 @@ func (a *IndexerConfigAPIService) GetIndexerConfig(ctx context.Context) ApiGetIn // Execute executes the request // @return IndexerConfigResource -func (a *IndexerConfigAPIService) GetIndexerConfigExecute(r ApiGetIndexerConfigRequest) (*IndexerConfigResource, *http.Response, error) { +func (a *IndexerConfigApiService) GetIndexerConfigExecute(r ApiGetIndexerConfigRequest) (*IndexerConfigResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -54,7 +54,7 @@ func (a *IndexerConfigAPIService) GetIndexerConfigExecute(r ApiGetIndexerConfigR localVarReturnValue *IndexerConfigResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IndexerConfigAPIService.GetIndexerConfig") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IndexerConfigApiService.GetIndexerConfig") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -148,7 +148,7 @@ func (a *IndexerConfigAPIService) GetIndexerConfigExecute(r ApiGetIndexerConfigR } type ApiGetIndexerConfigByIdRequest struct { ctx context.Context - ApiService *IndexerConfigAPIService + ApiService *IndexerConfigApiService id int32 } @@ -163,7 +163,7 @@ GetIndexerConfigById Method for GetIndexerConfigById @param id @return ApiGetIndexerConfigByIdRequest */ -func (a *IndexerConfigAPIService) GetIndexerConfigById(ctx context.Context, id int32) ApiGetIndexerConfigByIdRequest { +func (a *IndexerConfigApiService) GetIndexerConfigById(ctx context.Context, id int32) ApiGetIndexerConfigByIdRequest { return ApiGetIndexerConfigByIdRequest{ ApiService: a, ctx: ctx, @@ -173,7 +173,7 @@ func (a *IndexerConfigAPIService) GetIndexerConfigById(ctx context.Context, id i // Execute executes the request // @return IndexerConfigResource -func (a *IndexerConfigAPIService) GetIndexerConfigByIdExecute(r ApiGetIndexerConfigByIdRequest) (*IndexerConfigResource, *http.Response, error) { +func (a *IndexerConfigApiService) GetIndexerConfigByIdExecute(r ApiGetIndexerConfigByIdRequest) (*IndexerConfigResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -181,7 +181,7 @@ func (a *IndexerConfigAPIService) GetIndexerConfigByIdExecute(r ApiGetIndexerCon localVarReturnValue *IndexerConfigResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IndexerConfigAPIService.GetIndexerConfigById") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IndexerConfigApiService.GetIndexerConfigById") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -276,7 +276,7 @@ func (a *IndexerConfigAPIService) GetIndexerConfigByIdExecute(r ApiGetIndexerCon } type ApiUpdateIndexerConfigRequest struct { ctx context.Context - ApiService *IndexerConfigAPIService + ApiService *IndexerConfigApiService id string indexerConfigResource *IndexerConfigResource } @@ -297,7 +297,7 @@ UpdateIndexerConfig Method for UpdateIndexerConfig @param id @return ApiUpdateIndexerConfigRequest */ -func (a *IndexerConfigAPIService) UpdateIndexerConfig(ctx context.Context, id string) ApiUpdateIndexerConfigRequest { +func (a *IndexerConfigApiService) UpdateIndexerConfig(ctx context.Context, id string) ApiUpdateIndexerConfigRequest { return ApiUpdateIndexerConfigRequest{ ApiService: a, ctx: ctx, @@ -307,7 +307,7 @@ func (a *IndexerConfigAPIService) UpdateIndexerConfig(ctx context.Context, id st // Execute executes the request // @return IndexerConfigResource -func (a *IndexerConfigAPIService) UpdateIndexerConfigExecute(r ApiUpdateIndexerConfigRequest) (*IndexerConfigResource, *http.Response, error) { +func (a *IndexerConfigApiService) UpdateIndexerConfigExecute(r ApiUpdateIndexerConfigRequest) (*IndexerConfigResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} @@ -315,7 +315,7 @@ func (a *IndexerConfigAPIService) UpdateIndexerConfigExecute(r ApiUpdateIndexerC localVarReturnValue *IndexerConfigResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IndexerConfigAPIService.UpdateIndexerConfig") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IndexerConfigApiService.UpdateIndexerConfig") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } diff --git a/sonarr/api_initialize_js_.go b/sonarr/api_initialize_js_.go index 7f47564..d1b429b 100644 --- a/sonarr/api_initialize_js_.go +++ b/sonarr/api_initialize_js_.go @@ -19,11 +19,11 @@ import ( ) -// InitializeJsAPIService InitializeJsAPI service -type InitializeJsAPIService service +// InitializeJsApiService InitializeJsApi service +type InitializeJsApiService service type ApiGetInitializeJsRequest struct { ctx context.Context - ApiService *InitializeJsAPIService + ApiService *InitializeJsApiService } func (r ApiGetInitializeJsRequest) Execute() (*http.Response, error) { @@ -36,7 +36,7 @@ GetInitializeJs Method for GetInitializeJs @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetInitializeJsRequest */ -func (a *InitializeJsAPIService) GetInitializeJs(ctx context.Context) ApiGetInitializeJsRequest { +func (a *InitializeJsApiService) GetInitializeJs(ctx context.Context) ApiGetInitializeJsRequest { return ApiGetInitializeJsRequest{ ApiService: a, ctx: ctx, @@ -44,14 +44,14 @@ func (a *InitializeJsAPIService) GetInitializeJs(ctx context.Context) ApiGetInit } // Execute executes the request -func (a *InitializeJsAPIService) GetInitializeJsExecute(r ApiGetInitializeJsRequest) (*http.Response, error) { +func (a *InitializeJsApiService) GetInitializeJsExecute(r ApiGetInitializeJsRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InitializeJsAPIService.GetInitializeJs") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InitializeJsApiService.GetInitializeJs") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } diff --git a/sonarr/api_language.go b/sonarr/api_language.go index 3dd2d2e..c183906 100644 --- a/sonarr/api_language.go +++ b/sonarr/api_language.go @@ -20,11 +20,11 @@ import ( ) -// LanguageAPIService LanguageAPI service -type LanguageAPIService service +// LanguageApiService LanguageApi service +type LanguageApiService service type ApiGetLanguageByIdRequest struct { ctx context.Context - ApiService *LanguageAPIService + ApiService *LanguageApiService id int32 } @@ -39,7 +39,7 @@ GetLanguageById Method for GetLanguageById @param id @return ApiGetLanguageByIdRequest */ -func (a *LanguageAPIService) GetLanguageById(ctx context.Context, id int32) ApiGetLanguageByIdRequest { +func (a *LanguageApiService) GetLanguageById(ctx context.Context, id int32) ApiGetLanguageByIdRequest { return ApiGetLanguageByIdRequest{ ApiService: a, ctx: ctx, @@ -49,7 +49,7 @@ func (a *LanguageAPIService) GetLanguageById(ctx context.Context, id int32) ApiG // Execute executes the request // @return LanguageResource -func (a *LanguageAPIService) GetLanguageByIdExecute(r ApiGetLanguageByIdRequest) (*LanguageResource, *http.Response, error) { +func (a *LanguageApiService) GetLanguageByIdExecute(r ApiGetLanguageByIdRequest) (*LanguageResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -57,7 +57,7 @@ func (a *LanguageAPIService) GetLanguageByIdExecute(r ApiGetLanguageByIdRequest) localVarReturnValue *LanguageResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "LanguageAPIService.GetLanguageById") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "LanguageApiService.GetLanguageById") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -152,7 +152,7 @@ func (a *LanguageAPIService) GetLanguageByIdExecute(r ApiGetLanguageByIdRequest) } type ApiListLanguageRequest struct { ctx context.Context - ApiService *LanguageAPIService + ApiService *LanguageApiService } func (r ApiListLanguageRequest) Execute() ([]*LanguageResource, *http.Response, error) { @@ -165,7 +165,7 @@ ListLanguage Method for ListLanguage @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListLanguageRequest */ -func (a *LanguageAPIService) ListLanguage(ctx context.Context) ApiListLanguageRequest { +func (a *LanguageApiService) ListLanguage(ctx context.Context) ApiListLanguageRequest { return ApiListLanguageRequest{ ApiService: a, ctx: ctx, @@ -174,7 +174,7 @@ func (a *LanguageAPIService) ListLanguage(ctx context.Context) ApiListLanguageRe // Execute executes the request // @return []LanguageResource -func (a *LanguageAPIService) ListLanguageExecute(r ApiListLanguageRequest) ([]*LanguageResource, *http.Response, error) { +func (a *LanguageApiService) ListLanguageExecute(r ApiListLanguageRequest) ([]*LanguageResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -182,7 +182,7 @@ func (a *LanguageAPIService) ListLanguageExecute(r ApiListLanguageRequest) ([]*L localVarReturnValue []*LanguageResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "LanguageAPIService.ListLanguage") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "LanguageApiService.ListLanguage") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } diff --git a/sonarr/api_language_profile.go b/sonarr/api_language_profile.go index f4c5687..b3f663e 100644 --- a/sonarr/api_language_profile.go +++ b/sonarr/api_language_profile.go @@ -20,11 +20,11 @@ import ( ) -// LanguageProfileAPIService LanguageProfileAPI service -type LanguageProfileAPIService service +// LanguageProfileApiService LanguageProfileApi service +type LanguageProfileApiService service type ApiCreateLanguageProfileRequest struct { ctx context.Context - ApiService *LanguageProfileAPIService + ApiService *LanguageProfileApiService languageProfileResource *LanguageProfileResource } @@ -45,7 +45,7 @@ CreateLanguageProfile Method for CreateLanguageProfile Deprecated */ -func (a *LanguageProfileAPIService) CreateLanguageProfile(ctx context.Context) ApiCreateLanguageProfileRequest { +func (a *LanguageProfileApiService) CreateLanguageProfile(ctx context.Context) ApiCreateLanguageProfileRequest { return ApiCreateLanguageProfileRequest{ ApiService: a, ctx: ctx, @@ -55,7 +55,7 @@ func (a *LanguageProfileAPIService) CreateLanguageProfile(ctx context.Context) A // Execute executes the request // @return LanguageProfileResource // Deprecated -func (a *LanguageProfileAPIService) CreateLanguageProfileExecute(r ApiCreateLanguageProfileRequest) (*LanguageProfileResource, *http.Response, error) { +func (a *LanguageProfileApiService) CreateLanguageProfileExecute(r ApiCreateLanguageProfileRequest) (*LanguageProfileResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -63,7 +63,7 @@ func (a *LanguageProfileAPIService) CreateLanguageProfileExecute(r ApiCreateLang localVarReturnValue *LanguageProfileResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "LanguageProfileAPIService.CreateLanguageProfile") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "LanguageProfileApiService.CreateLanguageProfile") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -159,7 +159,7 @@ func (a *LanguageProfileAPIService) CreateLanguageProfileExecute(r ApiCreateLang } type ApiDeleteLanguageProfileRequest struct { ctx context.Context - ApiService *LanguageProfileAPIService + ApiService *LanguageProfileApiService id int32 } @@ -176,7 +176,7 @@ DeleteLanguageProfile Method for DeleteLanguageProfile Deprecated */ -func (a *LanguageProfileAPIService) DeleteLanguageProfile(ctx context.Context, id int32) ApiDeleteLanguageProfileRequest { +func (a *LanguageProfileApiService) DeleteLanguageProfile(ctx context.Context, id int32) ApiDeleteLanguageProfileRequest { return ApiDeleteLanguageProfileRequest{ ApiService: a, ctx: ctx, @@ -186,14 +186,14 @@ func (a *LanguageProfileAPIService) DeleteLanguageProfile(ctx context.Context, i // Execute executes the request // Deprecated -func (a *LanguageProfileAPIService) DeleteLanguageProfileExecute(r ApiDeleteLanguageProfileRequest) (*http.Response, error) { +func (a *LanguageProfileApiService) DeleteLanguageProfileExecute(r ApiDeleteLanguageProfileRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "LanguageProfileAPIService.DeleteLanguageProfile") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "LanguageProfileApiService.DeleteLanguageProfile") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -279,7 +279,7 @@ func (a *LanguageProfileAPIService) DeleteLanguageProfileExecute(r ApiDeleteLang } type ApiGetLanguageProfileByIdRequest struct { ctx context.Context - ApiService *LanguageProfileAPIService + ApiService *LanguageProfileApiService id int32 } @@ -294,7 +294,7 @@ GetLanguageProfileById Method for GetLanguageProfileById @param id @return ApiGetLanguageProfileByIdRequest */ -func (a *LanguageProfileAPIService) GetLanguageProfileById(ctx context.Context, id int32) ApiGetLanguageProfileByIdRequest { +func (a *LanguageProfileApiService) GetLanguageProfileById(ctx context.Context, id int32) ApiGetLanguageProfileByIdRequest { return ApiGetLanguageProfileByIdRequest{ ApiService: a, ctx: ctx, @@ -304,7 +304,7 @@ func (a *LanguageProfileAPIService) GetLanguageProfileById(ctx context.Context, // Execute executes the request // @return LanguageProfileResource -func (a *LanguageProfileAPIService) GetLanguageProfileByIdExecute(r ApiGetLanguageProfileByIdRequest) (*LanguageProfileResource, *http.Response, error) { +func (a *LanguageProfileApiService) GetLanguageProfileByIdExecute(r ApiGetLanguageProfileByIdRequest) (*LanguageProfileResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -312,7 +312,7 @@ func (a *LanguageProfileAPIService) GetLanguageProfileByIdExecute(r ApiGetLangua localVarReturnValue *LanguageProfileResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "LanguageProfileAPIService.GetLanguageProfileById") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "LanguageProfileApiService.GetLanguageProfileById") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -407,7 +407,7 @@ func (a *LanguageProfileAPIService) GetLanguageProfileByIdExecute(r ApiGetLangua } type ApiListLanguageProfileRequest struct { ctx context.Context - ApiService *LanguageProfileAPIService + ApiService *LanguageProfileApiService } func (r ApiListLanguageProfileRequest) Execute() ([]*LanguageProfileResource, *http.Response, error) { @@ -422,7 +422,7 @@ ListLanguageProfile Method for ListLanguageProfile Deprecated */ -func (a *LanguageProfileAPIService) ListLanguageProfile(ctx context.Context) ApiListLanguageProfileRequest { +func (a *LanguageProfileApiService) ListLanguageProfile(ctx context.Context) ApiListLanguageProfileRequest { return ApiListLanguageProfileRequest{ ApiService: a, ctx: ctx, @@ -432,7 +432,7 @@ func (a *LanguageProfileAPIService) ListLanguageProfile(ctx context.Context) Api // Execute executes the request // @return []LanguageProfileResource // Deprecated -func (a *LanguageProfileAPIService) ListLanguageProfileExecute(r ApiListLanguageProfileRequest) ([]*LanguageProfileResource, *http.Response, error) { +func (a *LanguageProfileApiService) ListLanguageProfileExecute(r ApiListLanguageProfileRequest) ([]*LanguageProfileResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -440,7 +440,7 @@ func (a *LanguageProfileAPIService) ListLanguageProfileExecute(r ApiListLanguage localVarReturnValue []*LanguageProfileResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "LanguageProfileAPIService.ListLanguageProfile") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "LanguageProfileApiService.ListLanguageProfile") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -534,7 +534,7 @@ func (a *LanguageProfileAPIService) ListLanguageProfileExecute(r ApiListLanguage } type ApiUpdateLanguageProfileRequest struct { ctx context.Context - ApiService *LanguageProfileAPIService + ApiService *LanguageProfileApiService id string languageProfileResource *LanguageProfileResource } @@ -557,7 +557,7 @@ UpdateLanguageProfile Method for UpdateLanguageProfile Deprecated */ -func (a *LanguageProfileAPIService) UpdateLanguageProfile(ctx context.Context, id string) ApiUpdateLanguageProfileRequest { +func (a *LanguageProfileApiService) UpdateLanguageProfile(ctx context.Context, id string) ApiUpdateLanguageProfileRequest { return ApiUpdateLanguageProfileRequest{ ApiService: a, ctx: ctx, @@ -568,7 +568,7 @@ func (a *LanguageProfileAPIService) UpdateLanguageProfile(ctx context.Context, i // Execute executes the request // @return LanguageProfileResource // Deprecated -func (a *LanguageProfileAPIService) UpdateLanguageProfileExecute(r ApiUpdateLanguageProfileRequest) (*LanguageProfileResource, *http.Response, error) { +func (a *LanguageProfileApiService) UpdateLanguageProfileExecute(r ApiUpdateLanguageProfileRequest) (*LanguageProfileResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} @@ -576,7 +576,7 @@ func (a *LanguageProfileAPIService) UpdateLanguageProfileExecute(r ApiUpdateLang localVarReturnValue *LanguageProfileResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "LanguageProfileAPIService.UpdateLanguageProfile") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "LanguageProfileApiService.UpdateLanguageProfile") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } diff --git a/sonarr/api_language_profile_schema.go b/sonarr/api_language_profile_schema.go index 0595ae3..67639a2 100644 --- a/sonarr/api_language_profile_schema.go +++ b/sonarr/api_language_profile_schema.go @@ -20,11 +20,11 @@ import ( ) -// LanguageProfileSchemaAPIService LanguageProfileSchemaAPI service -type LanguageProfileSchemaAPIService service +// LanguageProfileSchemaApiService LanguageProfileSchemaApi service +type LanguageProfileSchemaApiService service type ApiGetLanguageprofileSchemaRequest struct { ctx context.Context - ApiService *LanguageProfileSchemaAPIService + ApiService *LanguageProfileSchemaApiService } func (r ApiGetLanguageprofileSchemaRequest) Execute() (*LanguageProfileResource, *http.Response, error) { @@ -39,7 +39,7 @@ GetLanguageprofileSchema Method for GetLanguageprofileSchema Deprecated */ -func (a *LanguageProfileSchemaAPIService) GetLanguageprofileSchema(ctx context.Context) ApiGetLanguageprofileSchemaRequest { +func (a *LanguageProfileSchemaApiService) GetLanguageprofileSchema(ctx context.Context) ApiGetLanguageprofileSchemaRequest { return ApiGetLanguageprofileSchemaRequest{ ApiService: a, ctx: ctx, @@ -49,7 +49,7 @@ func (a *LanguageProfileSchemaAPIService) GetLanguageprofileSchema(ctx context.C // Execute executes the request // @return LanguageProfileResource // Deprecated -func (a *LanguageProfileSchemaAPIService) GetLanguageprofileSchemaExecute(r ApiGetLanguageprofileSchemaRequest) (*LanguageProfileResource, *http.Response, error) { +func (a *LanguageProfileSchemaApiService) GetLanguageprofileSchemaExecute(r ApiGetLanguageprofileSchemaRequest) (*LanguageProfileResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -57,7 +57,7 @@ func (a *LanguageProfileSchemaAPIService) GetLanguageprofileSchemaExecute(r ApiG localVarReturnValue *LanguageProfileResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "LanguageProfileSchemaAPIService.GetLanguageprofileSchema") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "LanguageProfileSchemaApiService.GetLanguageprofileSchema") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -151,7 +151,7 @@ func (a *LanguageProfileSchemaAPIService) GetLanguageprofileSchemaExecute(r ApiG } type ApiGetLanguageprofileSchemaByIdRequest struct { ctx context.Context - ApiService *LanguageProfileSchemaAPIService + ApiService *LanguageProfileSchemaApiService id int32 } @@ -166,7 +166,7 @@ GetLanguageprofileSchemaById Method for GetLanguageprofileSchemaById @param id @return ApiGetLanguageprofileSchemaByIdRequest */ -func (a *LanguageProfileSchemaAPIService) GetLanguageprofileSchemaById(ctx context.Context, id int32) ApiGetLanguageprofileSchemaByIdRequest { +func (a *LanguageProfileSchemaApiService) GetLanguageprofileSchemaById(ctx context.Context, id int32) ApiGetLanguageprofileSchemaByIdRequest { return ApiGetLanguageprofileSchemaByIdRequest{ ApiService: a, ctx: ctx, @@ -176,7 +176,7 @@ func (a *LanguageProfileSchemaAPIService) GetLanguageprofileSchemaById(ctx conte // Execute executes the request // @return LanguageProfileResource -func (a *LanguageProfileSchemaAPIService) GetLanguageprofileSchemaByIdExecute(r ApiGetLanguageprofileSchemaByIdRequest) (*LanguageProfileResource, *http.Response, error) { +func (a *LanguageProfileSchemaApiService) GetLanguageprofileSchemaByIdExecute(r ApiGetLanguageprofileSchemaByIdRequest) (*LanguageProfileResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -184,7 +184,7 @@ func (a *LanguageProfileSchemaAPIService) GetLanguageprofileSchemaByIdExecute(r localVarReturnValue *LanguageProfileResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "LanguageProfileSchemaAPIService.GetLanguageprofileSchemaById") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "LanguageProfileSchemaApiService.GetLanguageprofileSchemaById") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } diff --git a/sonarr/api_localization.go b/sonarr/api_localization.go index 36d73bc..b7a47b7 100644 --- a/sonarr/api_localization.go +++ b/sonarr/api_localization.go @@ -20,11 +20,11 @@ import ( ) -// LocalizationAPIService LocalizationAPI service -type LocalizationAPIService service +// LocalizationApiService LocalizationApi service +type LocalizationApiService service type ApiGetLocalizationRequest struct { ctx context.Context - ApiService *LocalizationAPIService + ApiService *LocalizationApiService } func (r ApiGetLocalizationRequest) Execute() (*LocalizationResource, *http.Response, error) { @@ -37,7 +37,7 @@ GetLocalization Method for GetLocalization @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetLocalizationRequest */ -func (a *LocalizationAPIService) GetLocalization(ctx context.Context) ApiGetLocalizationRequest { +func (a *LocalizationApiService) GetLocalization(ctx context.Context) ApiGetLocalizationRequest { return ApiGetLocalizationRequest{ ApiService: a, ctx: ctx, @@ -46,7 +46,7 @@ func (a *LocalizationAPIService) GetLocalization(ctx context.Context) ApiGetLoca // Execute executes the request // @return LocalizationResource -func (a *LocalizationAPIService) GetLocalizationExecute(r ApiGetLocalizationRequest) (*LocalizationResource, *http.Response, error) { +func (a *LocalizationApiService) GetLocalizationExecute(r ApiGetLocalizationRequest) (*LocalizationResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -54,7 +54,7 @@ func (a *LocalizationAPIService) GetLocalizationExecute(r ApiGetLocalizationRequ localVarReturnValue *LocalizationResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "LocalizationAPIService.GetLocalization") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "LocalizationApiService.GetLocalization") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -148,7 +148,7 @@ func (a *LocalizationAPIService) GetLocalizationExecute(r ApiGetLocalizationRequ } type ApiGetLocalizationByIdRequest struct { ctx context.Context - ApiService *LocalizationAPIService + ApiService *LocalizationApiService id int32 } @@ -163,7 +163,7 @@ GetLocalizationById Method for GetLocalizationById @param id @return ApiGetLocalizationByIdRequest */ -func (a *LocalizationAPIService) GetLocalizationById(ctx context.Context, id int32) ApiGetLocalizationByIdRequest { +func (a *LocalizationApiService) GetLocalizationById(ctx context.Context, id int32) ApiGetLocalizationByIdRequest { return ApiGetLocalizationByIdRequest{ ApiService: a, ctx: ctx, @@ -173,7 +173,7 @@ func (a *LocalizationAPIService) GetLocalizationById(ctx context.Context, id int // Execute executes the request // @return LocalizationResource -func (a *LocalizationAPIService) GetLocalizationByIdExecute(r ApiGetLocalizationByIdRequest) (*LocalizationResource, *http.Response, error) { +func (a *LocalizationApiService) GetLocalizationByIdExecute(r ApiGetLocalizationByIdRequest) (*LocalizationResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -181,7 +181,7 @@ func (a *LocalizationAPIService) GetLocalizationByIdExecute(r ApiGetLocalization localVarReturnValue *LocalizationResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "LocalizationAPIService.GetLocalizationById") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "LocalizationApiService.GetLocalizationById") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -276,7 +276,7 @@ func (a *LocalizationAPIService) GetLocalizationByIdExecute(r ApiGetLocalization } type ApiGetLocalizationLanguageRequest struct { ctx context.Context - ApiService *LocalizationAPIService + ApiService *LocalizationApiService } func (r ApiGetLocalizationLanguageRequest) Execute() (*LocalizationLanguageResource, *http.Response, error) { @@ -289,7 +289,7 @@ GetLocalizationLanguage Method for GetLocalizationLanguage @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetLocalizationLanguageRequest */ -func (a *LocalizationAPIService) GetLocalizationLanguage(ctx context.Context) ApiGetLocalizationLanguageRequest { +func (a *LocalizationApiService) GetLocalizationLanguage(ctx context.Context) ApiGetLocalizationLanguageRequest { return ApiGetLocalizationLanguageRequest{ ApiService: a, ctx: ctx, @@ -298,7 +298,7 @@ func (a *LocalizationAPIService) GetLocalizationLanguage(ctx context.Context) Ap // Execute executes the request // @return LocalizationLanguageResource -func (a *LocalizationAPIService) GetLocalizationLanguageExecute(r ApiGetLocalizationLanguageRequest) (*LocalizationLanguageResource, *http.Response, error) { +func (a *LocalizationApiService) GetLocalizationLanguageExecute(r ApiGetLocalizationLanguageRequest) (*LocalizationLanguageResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -306,7 +306,7 @@ func (a *LocalizationAPIService) GetLocalizationLanguageExecute(r ApiGetLocaliza localVarReturnValue *LocalizationLanguageResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "LocalizationAPIService.GetLocalizationLanguage") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "LocalizationApiService.GetLocalizationLanguage") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } diff --git a/sonarr/api_log.go b/sonarr/api_log.go index f0da618..7100683 100644 --- a/sonarr/api_log.go +++ b/sonarr/api_log.go @@ -19,11 +19,11 @@ import ( ) -// LogAPIService LogAPI service -type LogAPIService service +// LogApiService LogApi service +type LogApiService service type ApiGetLogRequest struct { ctx context.Context - ApiService *LogAPIService + ApiService *LogApiService } func (r ApiGetLogRequest) Execute() (*LogResourcePagingResource, *http.Response, error) { @@ -36,7 +36,7 @@ GetLog Method for GetLog @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetLogRequest */ -func (a *LogAPIService) GetLog(ctx context.Context) ApiGetLogRequest { +func (a *LogApiService) GetLog(ctx context.Context) ApiGetLogRequest { return ApiGetLogRequest{ ApiService: a, ctx: ctx, @@ -45,7 +45,7 @@ func (a *LogAPIService) GetLog(ctx context.Context) ApiGetLogRequest { // Execute executes the request // @return LogResourcePagingResource -func (a *LogAPIService) GetLogExecute(r ApiGetLogRequest) (*LogResourcePagingResource, *http.Response, error) { +func (a *LogApiService) GetLogExecute(r ApiGetLogRequest) (*LogResourcePagingResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -53,7 +53,7 @@ func (a *LogAPIService) GetLogExecute(r ApiGetLogRequest) (*LogResourcePagingRes localVarReturnValue *LogResourcePagingResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "LogAPIService.GetLog") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "LogApiService.GetLog") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } diff --git a/sonarr/api_log_file.go b/sonarr/api_log_file.go index 3cce04c..35698fb 100644 --- a/sonarr/api_log_file.go +++ b/sonarr/api_log_file.go @@ -20,11 +20,11 @@ import ( ) -// LogFileAPIService LogFileAPI service -type LogFileAPIService service +// LogFileApiService LogFileApi service +type LogFileApiService service type ApiGetLogFileByFilenameRequest struct { ctx context.Context - ApiService *LogFileAPIService + ApiService *LogFileApiService filename string } @@ -39,7 +39,7 @@ GetLogFileByFilename Method for GetLogFileByFilename @param filename @return ApiGetLogFileByFilenameRequest */ -func (a *LogFileAPIService) GetLogFileByFilename(ctx context.Context, filename string) ApiGetLogFileByFilenameRequest { +func (a *LogFileApiService) GetLogFileByFilename(ctx context.Context, filename string) ApiGetLogFileByFilenameRequest { return ApiGetLogFileByFilenameRequest{ ApiService: a, ctx: ctx, @@ -48,14 +48,14 @@ func (a *LogFileAPIService) GetLogFileByFilename(ctx context.Context, filename s } // Execute executes the request -func (a *LogFileAPIService) GetLogFileByFilenameExecute(r ApiGetLogFileByFilenameRequest) (*http.Response, error) { +func (a *LogFileApiService) GetLogFileByFilenameExecute(r ApiGetLogFileByFilenameRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "LogFileAPIService.GetLogFileByFilename") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "LogFileApiService.GetLogFileByFilename") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -141,7 +141,7 @@ func (a *LogFileAPIService) GetLogFileByFilenameExecute(r ApiGetLogFileByFilenam } type ApiListLogFileRequest struct { ctx context.Context - ApiService *LogFileAPIService + ApiService *LogFileApiService } func (r ApiListLogFileRequest) Execute() ([]*LogFileResource, *http.Response, error) { @@ -154,7 +154,7 @@ ListLogFile Method for ListLogFile @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListLogFileRequest */ -func (a *LogFileAPIService) ListLogFile(ctx context.Context) ApiListLogFileRequest { +func (a *LogFileApiService) ListLogFile(ctx context.Context) ApiListLogFileRequest { return ApiListLogFileRequest{ ApiService: a, ctx: ctx, @@ -163,7 +163,7 @@ func (a *LogFileAPIService) ListLogFile(ctx context.Context) ApiListLogFileReque // Execute executes the request // @return []LogFileResource -func (a *LogFileAPIService) ListLogFileExecute(r ApiListLogFileRequest) ([]*LogFileResource, *http.Response, error) { +func (a *LogFileApiService) ListLogFileExecute(r ApiListLogFileRequest) ([]*LogFileResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -171,7 +171,7 @@ func (a *LogFileAPIService) ListLogFileExecute(r ApiListLogFileRequest) ([]*LogF localVarReturnValue []*LogFileResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "LogFileAPIService.ListLogFile") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "LogFileApiService.ListLogFile") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } diff --git a/sonarr/api_manual_import.go b/sonarr/api_manual_import.go index 38622c3..340c84c 100644 --- a/sonarr/api_manual_import.go +++ b/sonarr/api_manual_import.go @@ -19,11 +19,11 @@ import ( ) -// ManualImportAPIService ManualImportAPI service -type ManualImportAPIService service +// ManualImportApiService ManualImportApi service +type ManualImportApiService service type ApiCreateManualImportRequest struct { ctx context.Context - ApiService *ManualImportAPIService + ApiService *ManualImportApiService manualImportReprocessResource *[]ManualImportReprocessResource } @@ -42,7 +42,7 @@ CreateManualImport Method for CreateManualImport @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateManualImportRequest */ -func (a *ManualImportAPIService) CreateManualImport(ctx context.Context) ApiCreateManualImportRequest { +func (a *ManualImportApiService) CreateManualImport(ctx context.Context) ApiCreateManualImportRequest { return ApiCreateManualImportRequest{ ApiService: a, ctx: ctx, @@ -50,14 +50,14 @@ func (a *ManualImportAPIService) CreateManualImport(ctx context.Context) ApiCrea } // Execute executes the request -func (a *ManualImportAPIService) CreateManualImportExecute(r ApiCreateManualImportRequest) (*http.Response, error) { +func (a *ManualImportApiService) CreateManualImportExecute(r ApiCreateManualImportRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ManualImportAPIService.CreateManualImport") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ManualImportApiService.CreateManualImport") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -144,7 +144,7 @@ func (a *ManualImportAPIService) CreateManualImportExecute(r ApiCreateManualImpo } type ApiListManualImportRequest struct { ctx context.Context - ApiService *ManualImportAPIService + ApiService *ManualImportApiService folder *string downloadId *string seriesId *int32 @@ -187,7 +187,7 @@ ListManualImport Method for ListManualImport @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListManualImportRequest */ -func (a *ManualImportAPIService) ListManualImport(ctx context.Context) ApiListManualImportRequest { +func (a *ManualImportApiService) ListManualImport(ctx context.Context) ApiListManualImportRequest { return ApiListManualImportRequest{ ApiService: a, ctx: ctx, @@ -196,7 +196,7 @@ func (a *ManualImportAPIService) ListManualImport(ctx context.Context) ApiListMa // Execute executes the request // @return []ManualImportResource -func (a *ManualImportAPIService) ListManualImportExecute(r ApiListManualImportRequest) ([]*ManualImportResource, *http.Response, error) { +func (a *ManualImportApiService) ListManualImportExecute(r ApiListManualImportRequest) ([]*ManualImportResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -204,7 +204,7 @@ func (a *ManualImportAPIService) ListManualImportExecute(r ApiListManualImportRe localVarReturnValue []*ManualImportResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ManualImportAPIService.ListManualImport") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ManualImportApiService.ListManualImport") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } diff --git a/sonarr/api_media_cover.go b/sonarr/api_media_cover.go index def4b44..f150df2 100644 --- a/sonarr/api_media_cover.go +++ b/sonarr/api_media_cover.go @@ -20,11 +20,11 @@ import ( ) -// MediaCoverAPIService MediaCoverAPI service -type MediaCoverAPIService service +// MediaCoverApiService MediaCoverApi service +type MediaCoverApiService service type ApiGetMediaCoverseriesIdByFilenameRequest struct { ctx context.Context - ApiService *MediaCoverAPIService + ApiService *MediaCoverApiService seriesId int32 filename string } @@ -41,7 +41,7 @@ GetMediaCoverseriesIdByFilename Method for GetMediaCoverseriesIdByFilename @param filename @return ApiGetMediaCoverseriesIdByFilenameRequest */ -func (a *MediaCoverAPIService) GetMediaCoverseriesIdByFilename(ctx context.Context, seriesId int32, filename string) ApiGetMediaCoverseriesIdByFilenameRequest { +func (a *MediaCoverApiService) GetMediaCoverseriesIdByFilename(ctx context.Context, seriesId int32, filename string) ApiGetMediaCoverseriesIdByFilenameRequest { return ApiGetMediaCoverseriesIdByFilenameRequest{ ApiService: a, ctx: ctx, @@ -51,14 +51,14 @@ func (a *MediaCoverAPIService) GetMediaCoverseriesIdByFilename(ctx context.Conte } // Execute executes the request -func (a *MediaCoverAPIService) GetMediaCoverseriesIdByFilenameExecute(r ApiGetMediaCoverseriesIdByFilenameRequest) (*http.Response, error) { +func (a *MediaCoverApiService) GetMediaCoverseriesIdByFilenameExecute(r ApiGetMediaCoverseriesIdByFilenameRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MediaCoverAPIService.GetMediaCoverseriesIdByFilename") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MediaCoverApiService.GetMediaCoverseriesIdByFilename") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } diff --git a/sonarr/api_media_management_config.go b/sonarr/api_media_management_config.go index f55240c..7de3ba2 100644 --- a/sonarr/api_media_management_config.go +++ b/sonarr/api_media_management_config.go @@ -20,11 +20,11 @@ import ( ) -// MediaManagementConfigAPIService MediaManagementConfigAPI service -type MediaManagementConfigAPIService service +// MediaManagementConfigApiService MediaManagementConfigApi service +type MediaManagementConfigApiService service type ApiGetMediaManagementConfigRequest struct { ctx context.Context - ApiService *MediaManagementConfigAPIService + ApiService *MediaManagementConfigApiService } func (r ApiGetMediaManagementConfigRequest) Execute() (*MediaManagementConfigResource, *http.Response, error) { @@ -37,7 +37,7 @@ GetMediaManagementConfig Method for GetMediaManagementConfig @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetMediaManagementConfigRequest */ -func (a *MediaManagementConfigAPIService) GetMediaManagementConfig(ctx context.Context) ApiGetMediaManagementConfigRequest { +func (a *MediaManagementConfigApiService) GetMediaManagementConfig(ctx context.Context) ApiGetMediaManagementConfigRequest { return ApiGetMediaManagementConfigRequest{ ApiService: a, ctx: ctx, @@ -46,7 +46,7 @@ func (a *MediaManagementConfigAPIService) GetMediaManagementConfig(ctx context.C // Execute executes the request // @return MediaManagementConfigResource -func (a *MediaManagementConfigAPIService) GetMediaManagementConfigExecute(r ApiGetMediaManagementConfigRequest) (*MediaManagementConfigResource, *http.Response, error) { +func (a *MediaManagementConfigApiService) GetMediaManagementConfigExecute(r ApiGetMediaManagementConfigRequest) (*MediaManagementConfigResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -54,7 +54,7 @@ func (a *MediaManagementConfigAPIService) GetMediaManagementConfigExecute(r ApiG localVarReturnValue *MediaManagementConfigResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MediaManagementConfigAPIService.GetMediaManagementConfig") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MediaManagementConfigApiService.GetMediaManagementConfig") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -148,7 +148,7 @@ func (a *MediaManagementConfigAPIService) GetMediaManagementConfigExecute(r ApiG } type ApiGetMediaManagementConfigByIdRequest struct { ctx context.Context - ApiService *MediaManagementConfigAPIService + ApiService *MediaManagementConfigApiService id int32 } @@ -163,7 +163,7 @@ GetMediaManagementConfigById Method for GetMediaManagementConfigById @param id @return ApiGetMediaManagementConfigByIdRequest */ -func (a *MediaManagementConfigAPIService) GetMediaManagementConfigById(ctx context.Context, id int32) ApiGetMediaManagementConfigByIdRequest { +func (a *MediaManagementConfigApiService) GetMediaManagementConfigById(ctx context.Context, id int32) ApiGetMediaManagementConfigByIdRequest { return ApiGetMediaManagementConfigByIdRequest{ ApiService: a, ctx: ctx, @@ -173,7 +173,7 @@ func (a *MediaManagementConfigAPIService) GetMediaManagementConfigById(ctx conte // Execute executes the request // @return MediaManagementConfigResource -func (a *MediaManagementConfigAPIService) GetMediaManagementConfigByIdExecute(r ApiGetMediaManagementConfigByIdRequest) (*MediaManagementConfigResource, *http.Response, error) { +func (a *MediaManagementConfigApiService) GetMediaManagementConfigByIdExecute(r ApiGetMediaManagementConfigByIdRequest) (*MediaManagementConfigResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -181,7 +181,7 @@ func (a *MediaManagementConfigAPIService) GetMediaManagementConfigByIdExecute(r localVarReturnValue *MediaManagementConfigResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MediaManagementConfigAPIService.GetMediaManagementConfigById") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MediaManagementConfigApiService.GetMediaManagementConfigById") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -276,7 +276,7 @@ func (a *MediaManagementConfigAPIService) GetMediaManagementConfigByIdExecute(r } type ApiUpdateMediaManagementConfigRequest struct { ctx context.Context - ApiService *MediaManagementConfigAPIService + ApiService *MediaManagementConfigApiService id string mediaManagementConfigResource *MediaManagementConfigResource } @@ -297,7 +297,7 @@ UpdateMediaManagementConfig Method for UpdateMediaManagementConfig @param id @return ApiUpdateMediaManagementConfigRequest */ -func (a *MediaManagementConfigAPIService) UpdateMediaManagementConfig(ctx context.Context, id string) ApiUpdateMediaManagementConfigRequest { +func (a *MediaManagementConfigApiService) UpdateMediaManagementConfig(ctx context.Context, id string) ApiUpdateMediaManagementConfigRequest { return ApiUpdateMediaManagementConfigRequest{ ApiService: a, ctx: ctx, @@ -307,7 +307,7 @@ func (a *MediaManagementConfigAPIService) UpdateMediaManagementConfig(ctx contex // Execute executes the request // @return MediaManagementConfigResource -func (a *MediaManagementConfigAPIService) UpdateMediaManagementConfigExecute(r ApiUpdateMediaManagementConfigRequest) (*MediaManagementConfigResource, *http.Response, error) { +func (a *MediaManagementConfigApiService) UpdateMediaManagementConfigExecute(r ApiUpdateMediaManagementConfigRequest) (*MediaManagementConfigResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} @@ -315,7 +315,7 @@ func (a *MediaManagementConfigAPIService) UpdateMediaManagementConfigExecute(r A localVarReturnValue *MediaManagementConfigResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MediaManagementConfigAPIService.UpdateMediaManagementConfig") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MediaManagementConfigApiService.UpdateMediaManagementConfig") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } diff --git a/sonarr/api_metadata.go b/sonarr/api_metadata.go index 589f375..028a5cc 100644 --- a/sonarr/api_metadata.go +++ b/sonarr/api_metadata.go @@ -20,11 +20,11 @@ import ( ) -// MetadataAPIService MetadataAPI service -type MetadataAPIService service +// MetadataApiService MetadataApi service +type MetadataApiService service type ApiCreateMetadataRequest struct { ctx context.Context - ApiService *MetadataAPIService + ApiService *MetadataApiService metadataResource *MetadataResource } @@ -43,7 +43,7 @@ CreateMetadata Method for CreateMetadata @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateMetadataRequest */ -func (a *MetadataAPIService) CreateMetadata(ctx context.Context) ApiCreateMetadataRequest { +func (a *MetadataApiService) CreateMetadata(ctx context.Context) ApiCreateMetadataRequest { return ApiCreateMetadataRequest{ ApiService: a, ctx: ctx, @@ -52,7 +52,7 @@ func (a *MetadataAPIService) CreateMetadata(ctx context.Context) ApiCreateMetada // Execute executes the request // @return MetadataResource -func (a *MetadataAPIService) CreateMetadataExecute(r ApiCreateMetadataRequest) (*MetadataResource, *http.Response, error) { +func (a *MetadataApiService) CreateMetadataExecute(r ApiCreateMetadataRequest) (*MetadataResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -60,7 +60,7 @@ func (a *MetadataAPIService) CreateMetadataExecute(r ApiCreateMetadataRequest) ( localVarReturnValue *MetadataResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MetadataAPIService.CreateMetadata") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MetadataApiService.CreateMetadata") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -156,7 +156,7 @@ func (a *MetadataAPIService) CreateMetadataExecute(r ApiCreateMetadataRequest) ( } type ApiCreateMetadataActionByNameRequest struct { ctx context.Context - ApiService *MetadataAPIService + ApiService *MetadataApiService name string metadataResource *MetadataResource } @@ -177,7 +177,7 @@ CreateMetadataActionByName Method for CreateMetadataActionByName @param name @return ApiCreateMetadataActionByNameRequest */ -func (a *MetadataAPIService) CreateMetadataActionByName(ctx context.Context, name string) ApiCreateMetadataActionByNameRequest { +func (a *MetadataApiService) CreateMetadataActionByName(ctx context.Context, name string) ApiCreateMetadataActionByNameRequest { return ApiCreateMetadataActionByNameRequest{ ApiService: a, ctx: ctx, @@ -186,14 +186,14 @@ func (a *MetadataAPIService) CreateMetadataActionByName(ctx context.Context, nam } // Execute executes the request -func (a *MetadataAPIService) CreateMetadataActionByNameExecute(r ApiCreateMetadataActionByNameRequest) (*http.Response, error) { +func (a *MetadataApiService) CreateMetadataActionByNameExecute(r ApiCreateMetadataActionByNameRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MetadataAPIService.CreateMetadataActionByName") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MetadataApiService.CreateMetadataActionByName") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -281,7 +281,7 @@ func (a *MetadataAPIService) CreateMetadataActionByNameExecute(r ApiCreateMetada } type ApiDeleteMetadataRequest struct { ctx context.Context - ApiService *MetadataAPIService + ApiService *MetadataApiService id int32 } @@ -296,7 +296,7 @@ DeleteMetadata Method for DeleteMetadata @param id @return ApiDeleteMetadataRequest */ -func (a *MetadataAPIService) DeleteMetadata(ctx context.Context, id int32) ApiDeleteMetadataRequest { +func (a *MetadataApiService) DeleteMetadata(ctx context.Context, id int32) ApiDeleteMetadataRequest { return ApiDeleteMetadataRequest{ ApiService: a, ctx: ctx, @@ -305,14 +305,14 @@ func (a *MetadataAPIService) DeleteMetadata(ctx context.Context, id int32) ApiDe } // Execute executes the request -func (a *MetadataAPIService) DeleteMetadataExecute(r ApiDeleteMetadataRequest) (*http.Response, error) { +func (a *MetadataApiService) DeleteMetadataExecute(r ApiDeleteMetadataRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MetadataAPIService.DeleteMetadata") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MetadataApiService.DeleteMetadata") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -398,7 +398,7 @@ func (a *MetadataAPIService) DeleteMetadataExecute(r ApiDeleteMetadataRequest) ( } type ApiGetMetadataByIdRequest struct { ctx context.Context - ApiService *MetadataAPIService + ApiService *MetadataApiService id int32 } @@ -413,7 +413,7 @@ GetMetadataById Method for GetMetadataById @param id @return ApiGetMetadataByIdRequest */ -func (a *MetadataAPIService) GetMetadataById(ctx context.Context, id int32) ApiGetMetadataByIdRequest { +func (a *MetadataApiService) GetMetadataById(ctx context.Context, id int32) ApiGetMetadataByIdRequest { return ApiGetMetadataByIdRequest{ ApiService: a, ctx: ctx, @@ -423,7 +423,7 @@ func (a *MetadataAPIService) GetMetadataById(ctx context.Context, id int32) ApiG // Execute executes the request // @return MetadataResource -func (a *MetadataAPIService) GetMetadataByIdExecute(r ApiGetMetadataByIdRequest) (*MetadataResource, *http.Response, error) { +func (a *MetadataApiService) GetMetadataByIdExecute(r ApiGetMetadataByIdRequest) (*MetadataResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -431,7 +431,7 @@ func (a *MetadataAPIService) GetMetadataByIdExecute(r ApiGetMetadataByIdRequest) localVarReturnValue *MetadataResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MetadataAPIService.GetMetadataById") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MetadataApiService.GetMetadataById") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -526,7 +526,7 @@ func (a *MetadataAPIService) GetMetadataByIdExecute(r ApiGetMetadataByIdRequest) } type ApiListMetadataRequest struct { ctx context.Context - ApiService *MetadataAPIService + ApiService *MetadataApiService } func (r ApiListMetadataRequest) Execute() ([]*MetadataResource, *http.Response, error) { @@ -539,7 +539,7 @@ ListMetadata Method for ListMetadata @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListMetadataRequest */ -func (a *MetadataAPIService) ListMetadata(ctx context.Context) ApiListMetadataRequest { +func (a *MetadataApiService) ListMetadata(ctx context.Context) ApiListMetadataRequest { return ApiListMetadataRequest{ ApiService: a, ctx: ctx, @@ -548,7 +548,7 @@ func (a *MetadataAPIService) ListMetadata(ctx context.Context) ApiListMetadataRe // Execute executes the request // @return []MetadataResource -func (a *MetadataAPIService) ListMetadataExecute(r ApiListMetadataRequest) ([]*MetadataResource, *http.Response, error) { +func (a *MetadataApiService) ListMetadataExecute(r ApiListMetadataRequest) ([]*MetadataResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -556,7 +556,7 @@ func (a *MetadataAPIService) ListMetadataExecute(r ApiListMetadataRequest) ([]*M localVarReturnValue []*MetadataResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MetadataAPIService.ListMetadata") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MetadataApiService.ListMetadata") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -650,7 +650,7 @@ func (a *MetadataAPIService) ListMetadataExecute(r ApiListMetadataRequest) ([]*M } type ApiListMetadataSchemaRequest struct { ctx context.Context - ApiService *MetadataAPIService + ApiService *MetadataApiService } func (r ApiListMetadataSchemaRequest) Execute() ([]*MetadataResource, *http.Response, error) { @@ -663,7 +663,7 @@ ListMetadataSchema Method for ListMetadataSchema @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListMetadataSchemaRequest */ -func (a *MetadataAPIService) ListMetadataSchema(ctx context.Context) ApiListMetadataSchemaRequest { +func (a *MetadataApiService) ListMetadataSchema(ctx context.Context) ApiListMetadataSchemaRequest { return ApiListMetadataSchemaRequest{ ApiService: a, ctx: ctx, @@ -672,7 +672,7 @@ func (a *MetadataAPIService) ListMetadataSchema(ctx context.Context) ApiListMeta // Execute executes the request // @return []MetadataResource -func (a *MetadataAPIService) ListMetadataSchemaExecute(r ApiListMetadataSchemaRequest) ([]*MetadataResource, *http.Response, error) { +func (a *MetadataApiService) ListMetadataSchemaExecute(r ApiListMetadataSchemaRequest) ([]*MetadataResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -680,7 +680,7 @@ func (a *MetadataAPIService) ListMetadataSchemaExecute(r ApiListMetadataSchemaRe localVarReturnValue []*MetadataResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MetadataAPIService.ListMetadataSchema") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MetadataApiService.ListMetadataSchema") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -774,7 +774,7 @@ func (a *MetadataAPIService) ListMetadataSchemaExecute(r ApiListMetadataSchemaRe } type ApiTestMetadataRequest struct { ctx context.Context - ApiService *MetadataAPIService + ApiService *MetadataApiService metadataResource *MetadataResource } @@ -793,7 +793,7 @@ TestMetadata Method for TestMetadata @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiTestMetadataRequest */ -func (a *MetadataAPIService) TestMetadata(ctx context.Context) ApiTestMetadataRequest { +func (a *MetadataApiService) TestMetadata(ctx context.Context) ApiTestMetadataRequest { return ApiTestMetadataRequest{ ApiService: a, ctx: ctx, @@ -801,14 +801,14 @@ func (a *MetadataAPIService) TestMetadata(ctx context.Context) ApiTestMetadataRe } // Execute executes the request -func (a *MetadataAPIService) TestMetadataExecute(r ApiTestMetadataRequest) (*http.Response, error) { +func (a *MetadataApiService) TestMetadataExecute(r ApiTestMetadataRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MetadataAPIService.TestMetadata") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MetadataApiService.TestMetadata") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -895,7 +895,7 @@ func (a *MetadataAPIService) TestMetadataExecute(r ApiTestMetadataRequest) (*htt } type ApiTestallMetadataRequest struct { ctx context.Context - ApiService *MetadataAPIService + ApiService *MetadataApiService } func (r ApiTestallMetadataRequest) Execute() (*http.Response, error) { @@ -908,7 +908,7 @@ TestallMetadata Method for TestallMetadata @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiTestallMetadataRequest */ -func (a *MetadataAPIService) TestallMetadata(ctx context.Context) ApiTestallMetadataRequest { +func (a *MetadataApiService) TestallMetadata(ctx context.Context) ApiTestallMetadataRequest { return ApiTestallMetadataRequest{ ApiService: a, ctx: ctx, @@ -916,14 +916,14 @@ func (a *MetadataAPIService) TestallMetadata(ctx context.Context) ApiTestallMeta } // Execute executes the request -func (a *MetadataAPIService) TestallMetadataExecute(r ApiTestallMetadataRequest) (*http.Response, error) { +func (a *MetadataApiService) TestallMetadataExecute(r ApiTestallMetadataRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MetadataAPIService.TestallMetadata") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MetadataApiService.TestallMetadata") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -1008,7 +1008,7 @@ func (a *MetadataAPIService) TestallMetadataExecute(r ApiTestallMetadataRequest) } type ApiUpdateMetadataRequest struct { ctx context.Context - ApiService *MetadataAPIService + ApiService *MetadataApiService id string metadataResource *MetadataResource } @@ -1029,7 +1029,7 @@ UpdateMetadata Method for UpdateMetadata @param id @return ApiUpdateMetadataRequest */ -func (a *MetadataAPIService) UpdateMetadata(ctx context.Context, id string) ApiUpdateMetadataRequest { +func (a *MetadataApiService) UpdateMetadata(ctx context.Context, id string) ApiUpdateMetadataRequest { return ApiUpdateMetadataRequest{ ApiService: a, ctx: ctx, @@ -1039,7 +1039,7 @@ func (a *MetadataAPIService) UpdateMetadata(ctx context.Context, id string) ApiU // Execute executes the request // @return MetadataResource -func (a *MetadataAPIService) UpdateMetadataExecute(r ApiUpdateMetadataRequest) (*MetadataResource, *http.Response, error) { +func (a *MetadataApiService) UpdateMetadataExecute(r ApiUpdateMetadataRequest) (*MetadataResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} @@ -1047,7 +1047,7 @@ func (a *MetadataAPIService) UpdateMetadataExecute(r ApiUpdateMetadataRequest) ( localVarReturnValue *MetadataResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MetadataAPIService.UpdateMetadata") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MetadataApiService.UpdateMetadata") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } diff --git a/sonarr/api_missing.go b/sonarr/api_missing.go index 5acc2cc..c4e3a2d 100644 --- a/sonarr/api_missing.go +++ b/sonarr/api_missing.go @@ -20,11 +20,11 @@ import ( ) -// MissingAPIService MissingAPI service -type MissingAPIService service +// MissingApiService MissingApi service +type MissingApiService service type ApiGetWantedMissingRequest struct { ctx context.Context - ApiService *MissingAPIService + ApiService *MissingApiService includeSeries *bool includeImages *bool } @@ -49,7 +49,7 @@ GetWantedMissing Method for GetWantedMissing @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetWantedMissingRequest */ -func (a *MissingAPIService) GetWantedMissing(ctx context.Context) ApiGetWantedMissingRequest { +func (a *MissingApiService) GetWantedMissing(ctx context.Context) ApiGetWantedMissingRequest { return ApiGetWantedMissingRequest{ ApiService: a, ctx: ctx, @@ -58,7 +58,7 @@ func (a *MissingAPIService) GetWantedMissing(ctx context.Context) ApiGetWantedMi // Execute executes the request // @return EpisodeResourcePagingResource -func (a *MissingAPIService) GetWantedMissingExecute(r ApiGetWantedMissingRequest) (*EpisodeResourcePagingResource, *http.Response, error) { +func (a *MissingApiService) GetWantedMissingExecute(r ApiGetWantedMissingRequest) (*EpisodeResourcePagingResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -66,7 +66,7 @@ func (a *MissingAPIService) GetWantedMissingExecute(r ApiGetWantedMissingRequest localVarReturnValue *EpisodeResourcePagingResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MissingAPIService.GetWantedMissing") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MissingApiService.GetWantedMissing") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -166,7 +166,7 @@ func (a *MissingAPIService) GetWantedMissingExecute(r ApiGetWantedMissingRequest } type ApiGetWantedMissingByIdRequest struct { ctx context.Context - ApiService *MissingAPIService + ApiService *MissingApiService id int32 } @@ -181,7 +181,7 @@ GetWantedMissingById Method for GetWantedMissingById @param id @return ApiGetWantedMissingByIdRequest */ -func (a *MissingAPIService) GetWantedMissingById(ctx context.Context, id int32) ApiGetWantedMissingByIdRequest { +func (a *MissingApiService) GetWantedMissingById(ctx context.Context, id int32) ApiGetWantedMissingByIdRequest { return ApiGetWantedMissingByIdRequest{ ApiService: a, ctx: ctx, @@ -191,7 +191,7 @@ func (a *MissingAPIService) GetWantedMissingById(ctx context.Context, id int32) // Execute executes the request // @return EpisodeResource -func (a *MissingAPIService) GetWantedMissingByIdExecute(r ApiGetWantedMissingByIdRequest) (*EpisodeResource, *http.Response, error) { +func (a *MissingApiService) GetWantedMissingByIdExecute(r ApiGetWantedMissingByIdRequest) (*EpisodeResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -199,7 +199,7 @@ func (a *MissingAPIService) GetWantedMissingByIdExecute(r ApiGetWantedMissingByI localVarReturnValue *EpisodeResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MissingAPIService.GetWantedMissingById") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MissingApiService.GetWantedMissingById") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } diff --git a/sonarr/api_naming_config.go b/sonarr/api_naming_config.go index 7abb3c9..21698d3 100644 --- a/sonarr/api_naming_config.go +++ b/sonarr/api_naming_config.go @@ -20,11 +20,11 @@ import ( ) -// NamingConfigAPIService NamingConfigAPI service -type NamingConfigAPIService service +// NamingConfigApiService NamingConfigApi service +type NamingConfigApiService service type ApiGetNamingConfigRequest struct { ctx context.Context - ApiService *NamingConfigAPIService + ApiService *NamingConfigApiService } func (r ApiGetNamingConfigRequest) Execute() (*NamingConfigResource, *http.Response, error) { @@ -37,7 +37,7 @@ GetNamingConfig Method for GetNamingConfig @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetNamingConfigRequest */ -func (a *NamingConfigAPIService) GetNamingConfig(ctx context.Context) ApiGetNamingConfigRequest { +func (a *NamingConfigApiService) GetNamingConfig(ctx context.Context) ApiGetNamingConfigRequest { return ApiGetNamingConfigRequest{ ApiService: a, ctx: ctx, @@ -46,7 +46,7 @@ func (a *NamingConfigAPIService) GetNamingConfig(ctx context.Context) ApiGetNami // Execute executes the request // @return NamingConfigResource -func (a *NamingConfigAPIService) GetNamingConfigExecute(r ApiGetNamingConfigRequest) (*NamingConfigResource, *http.Response, error) { +func (a *NamingConfigApiService) GetNamingConfigExecute(r ApiGetNamingConfigRequest) (*NamingConfigResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -54,7 +54,7 @@ func (a *NamingConfigAPIService) GetNamingConfigExecute(r ApiGetNamingConfigRequ localVarReturnValue *NamingConfigResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "NamingConfigAPIService.GetNamingConfig") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "NamingConfigApiService.GetNamingConfig") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -148,7 +148,7 @@ func (a *NamingConfigAPIService) GetNamingConfigExecute(r ApiGetNamingConfigRequ } type ApiGetNamingConfigByIdRequest struct { ctx context.Context - ApiService *NamingConfigAPIService + ApiService *NamingConfigApiService id int32 } @@ -163,7 +163,7 @@ GetNamingConfigById Method for GetNamingConfigById @param id @return ApiGetNamingConfigByIdRequest */ -func (a *NamingConfigAPIService) GetNamingConfigById(ctx context.Context, id int32) ApiGetNamingConfigByIdRequest { +func (a *NamingConfigApiService) GetNamingConfigById(ctx context.Context, id int32) ApiGetNamingConfigByIdRequest { return ApiGetNamingConfigByIdRequest{ ApiService: a, ctx: ctx, @@ -173,7 +173,7 @@ func (a *NamingConfigAPIService) GetNamingConfigById(ctx context.Context, id int // Execute executes the request // @return NamingConfigResource -func (a *NamingConfigAPIService) GetNamingConfigByIdExecute(r ApiGetNamingConfigByIdRequest) (*NamingConfigResource, *http.Response, error) { +func (a *NamingConfigApiService) GetNamingConfigByIdExecute(r ApiGetNamingConfigByIdRequest) (*NamingConfigResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -181,7 +181,7 @@ func (a *NamingConfigAPIService) GetNamingConfigByIdExecute(r ApiGetNamingConfig localVarReturnValue *NamingConfigResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "NamingConfigAPIService.GetNamingConfigById") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "NamingConfigApiService.GetNamingConfigById") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -276,10 +276,9 @@ func (a *NamingConfigAPIService) GetNamingConfigByIdExecute(r ApiGetNamingConfig } type ApiGetNamingConfigExamplesRequest struct { ctx context.Context - ApiService *NamingConfigAPIService + ApiService *NamingConfigApiService renameEpisodes *bool replaceIllegalCharacters *bool - colonReplacementFormat *int32 multiEpisodeStyle *int32 standardEpisodeFormat *string dailyEpisodeFormat *string @@ -307,11 +306,6 @@ func (r ApiGetNamingConfigExamplesRequest) ReplaceIllegalCharacters(replaceIlleg return r } -func (r ApiGetNamingConfigExamplesRequest) ColonReplacementFormat(colonReplacementFormat int32) ApiGetNamingConfigExamplesRequest { - r.colonReplacementFormat = &colonReplacementFormat - return r -} - func (r ApiGetNamingConfigExamplesRequest) MultiEpisodeStyle(multiEpisodeStyle int32) ApiGetNamingConfigExamplesRequest { r.multiEpisodeStyle = &multiEpisodeStyle return r @@ -397,7 +391,7 @@ GetNamingConfigExamples Method for GetNamingConfigExamples @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetNamingConfigExamplesRequest */ -func (a *NamingConfigAPIService) GetNamingConfigExamples(ctx context.Context) ApiGetNamingConfigExamplesRequest { +func (a *NamingConfigApiService) GetNamingConfigExamples(ctx context.Context) ApiGetNamingConfigExamplesRequest { return ApiGetNamingConfigExamplesRequest{ ApiService: a, ctx: ctx, @@ -405,14 +399,14 @@ func (a *NamingConfigAPIService) GetNamingConfigExamples(ctx context.Context) Ap } // Execute executes the request -func (a *NamingConfigAPIService) GetNamingConfigExamplesExecute(r ApiGetNamingConfigExamplesRequest) (*http.Response, error) { +func (a *NamingConfigApiService) GetNamingConfigExamplesExecute(r ApiGetNamingConfigExamplesRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "NamingConfigAPIService.GetNamingConfigExamples") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "NamingConfigApiService.GetNamingConfigExamples") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -429,9 +423,6 @@ func (a *NamingConfigAPIService) GetNamingConfigExamplesExecute(r ApiGetNamingCo if r.replaceIllegalCharacters != nil { localVarQueryParams.Add("ReplaceIllegalCharacters", parameterToString(*r.replaceIllegalCharacters, "")) } - if r.colonReplacementFormat != nil { - localVarQueryParams.Add("ColonReplacementFormat", parameterToString(*r.colonReplacementFormat, "")) - } if r.multiEpisodeStyle != nil { localVarQueryParams.Add("MultiEpisodeStyle", parameterToString(*r.multiEpisodeStyle, "")) } @@ -551,7 +542,7 @@ func (a *NamingConfigAPIService) GetNamingConfigExamplesExecute(r ApiGetNamingCo } type ApiUpdateNamingConfigRequest struct { ctx context.Context - ApiService *NamingConfigAPIService + ApiService *NamingConfigApiService id string namingConfigResource *NamingConfigResource } @@ -572,7 +563,7 @@ UpdateNamingConfig Method for UpdateNamingConfig @param id @return ApiUpdateNamingConfigRequest */ -func (a *NamingConfigAPIService) UpdateNamingConfig(ctx context.Context, id string) ApiUpdateNamingConfigRequest { +func (a *NamingConfigApiService) UpdateNamingConfig(ctx context.Context, id string) ApiUpdateNamingConfigRequest { return ApiUpdateNamingConfigRequest{ ApiService: a, ctx: ctx, @@ -582,7 +573,7 @@ func (a *NamingConfigAPIService) UpdateNamingConfig(ctx context.Context, id stri // Execute executes the request // @return NamingConfigResource -func (a *NamingConfigAPIService) UpdateNamingConfigExecute(r ApiUpdateNamingConfigRequest) (*NamingConfigResource, *http.Response, error) { +func (a *NamingConfigApiService) UpdateNamingConfigExecute(r ApiUpdateNamingConfigRequest) (*NamingConfigResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} @@ -590,7 +581,7 @@ func (a *NamingConfigAPIService) UpdateNamingConfigExecute(r ApiUpdateNamingConf localVarReturnValue *NamingConfigResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "NamingConfigAPIService.UpdateNamingConfig") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "NamingConfigApiService.UpdateNamingConfig") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } diff --git a/sonarr/api_notification.go b/sonarr/api_notification.go index 73caa89..ac34e32 100644 --- a/sonarr/api_notification.go +++ b/sonarr/api_notification.go @@ -20,11 +20,11 @@ import ( ) -// NotificationAPIService NotificationAPI service -type NotificationAPIService service +// NotificationApiService NotificationApi service +type NotificationApiService service type ApiCreateNotificationRequest struct { ctx context.Context - ApiService *NotificationAPIService + ApiService *NotificationApiService notificationResource *NotificationResource } @@ -43,7 +43,7 @@ CreateNotification Method for CreateNotification @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateNotificationRequest */ -func (a *NotificationAPIService) CreateNotification(ctx context.Context) ApiCreateNotificationRequest { +func (a *NotificationApiService) CreateNotification(ctx context.Context) ApiCreateNotificationRequest { return ApiCreateNotificationRequest{ ApiService: a, ctx: ctx, @@ -52,7 +52,7 @@ func (a *NotificationAPIService) CreateNotification(ctx context.Context) ApiCrea // Execute executes the request // @return NotificationResource -func (a *NotificationAPIService) CreateNotificationExecute(r ApiCreateNotificationRequest) (*NotificationResource, *http.Response, error) { +func (a *NotificationApiService) CreateNotificationExecute(r ApiCreateNotificationRequest) (*NotificationResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -60,7 +60,7 @@ func (a *NotificationAPIService) CreateNotificationExecute(r ApiCreateNotificati localVarReturnValue *NotificationResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "NotificationAPIService.CreateNotification") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "NotificationApiService.CreateNotification") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -156,7 +156,7 @@ func (a *NotificationAPIService) CreateNotificationExecute(r ApiCreateNotificati } type ApiCreateNotificationActionByNameRequest struct { ctx context.Context - ApiService *NotificationAPIService + ApiService *NotificationApiService name string notificationResource *NotificationResource } @@ -177,7 +177,7 @@ CreateNotificationActionByName Method for CreateNotificationActionByName @param name @return ApiCreateNotificationActionByNameRequest */ -func (a *NotificationAPIService) CreateNotificationActionByName(ctx context.Context, name string) ApiCreateNotificationActionByNameRequest { +func (a *NotificationApiService) CreateNotificationActionByName(ctx context.Context, name string) ApiCreateNotificationActionByNameRequest { return ApiCreateNotificationActionByNameRequest{ ApiService: a, ctx: ctx, @@ -186,14 +186,14 @@ func (a *NotificationAPIService) CreateNotificationActionByName(ctx context.Cont } // Execute executes the request -func (a *NotificationAPIService) CreateNotificationActionByNameExecute(r ApiCreateNotificationActionByNameRequest) (*http.Response, error) { +func (a *NotificationApiService) CreateNotificationActionByNameExecute(r ApiCreateNotificationActionByNameRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "NotificationAPIService.CreateNotificationActionByName") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "NotificationApiService.CreateNotificationActionByName") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -281,7 +281,7 @@ func (a *NotificationAPIService) CreateNotificationActionByNameExecute(r ApiCrea } type ApiDeleteNotificationRequest struct { ctx context.Context - ApiService *NotificationAPIService + ApiService *NotificationApiService id int32 } @@ -296,7 +296,7 @@ DeleteNotification Method for DeleteNotification @param id @return ApiDeleteNotificationRequest */ -func (a *NotificationAPIService) DeleteNotification(ctx context.Context, id int32) ApiDeleteNotificationRequest { +func (a *NotificationApiService) DeleteNotification(ctx context.Context, id int32) ApiDeleteNotificationRequest { return ApiDeleteNotificationRequest{ ApiService: a, ctx: ctx, @@ -305,14 +305,14 @@ func (a *NotificationAPIService) DeleteNotification(ctx context.Context, id int3 } // Execute executes the request -func (a *NotificationAPIService) DeleteNotificationExecute(r ApiDeleteNotificationRequest) (*http.Response, error) { +func (a *NotificationApiService) DeleteNotificationExecute(r ApiDeleteNotificationRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "NotificationAPIService.DeleteNotification") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "NotificationApiService.DeleteNotification") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -398,7 +398,7 @@ func (a *NotificationAPIService) DeleteNotificationExecute(r ApiDeleteNotificati } type ApiGetNotificationByIdRequest struct { ctx context.Context - ApiService *NotificationAPIService + ApiService *NotificationApiService id int32 } @@ -413,7 +413,7 @@ GetNotificationById Method for GetNotificationById @param id @return ApiGetNotificationByIdRequest */ -func (a *NotificationAPIService) GetNotificationById(ctx context.Context, id int32) ApiGetNotificationByIdRequest { +func (a *NotificationApiService) GetNotificationById(ctx context.Context, id int32) ApiGetNotificationByIdRequest { return ApiGetNotificationByIdRequest{ ApiService: a, ctx: ctx, @@ -423,7 +423,7 @@ func (a *NotificationAPIService) GetNotificationById(ctx context.Context, id int // Execute executes the request // @return NotificationResource -func (a *NotificationAPIService) GetNotificationByIdExecute(r ApiGetNotificationByIdRequest) (*NotificationResource, *http.Response, error) { +func (a *NotificationApiService) GetNotificationByIdExecute(r ApiGetNotificationByIdRequest) (*NotificationResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -431,7 +431,7 @@ func (a *NotificationAPIService) GetNotificationByIdExecute(r ApiGetNotification localVarReturnValue *NotificationResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "NotificationAPIService.GetNotificationById") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "NotificationApiService.GetNotificationById") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -526,7 +526,7 @@ func (a *NotificationAPIService) GetNotificationByIdExecute(r ApiGetNotification } type ApiListNotificationRequest struct { ctx context.Context - ApiService *NotificationAPIService + ApiService *NotificationApiService } func (r ApiListNotificationRequest) Execute() ([]*NotificationResource, *http.Response, error) { @@ -539,7 +539,7 @@ ListNotification Method for ListNotification @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListNotificationRequest */ -func (a *NotificationAPIService) ListNotification(ctx context.Context) ApiListNotificationRequest { +func (a *NotificationApiService) ListNotification(ctx context.Context) ApiListNotificationRequest { return ApiListNotificationRequest{ ApiService: a, ctx: ctx, @@ -548,7 +548,7 @@ func (a *NotificationAPIService) ListNotification(ctx context.Context) ApiListNo // Execute executes the request // @return []NotificationResource -func (a *NotificationAPIService) ListNotificationExecute(r ApiListNotificationRequest) ([]*NotificationResource, *http.Response, error) { +func (a *NotificationApiService) ListNotificationExecute(r ApiListNotificationRequest) ([]*NotificationResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -556,7 +556,7 @@ func (a *NotificationAPIService) ListNotificationExecute(r ApiListNotificationRe localVarReturnValue []*NotificationResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "NotificationAPIService.ListNotification") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "NotificationApiService.ListNotification") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -650,7 +650,7 @@ func (a *NotificationAPIService) ListNotificationExecute(r ApiListNotificationRe } type ApiListNotificationSchemaRequest struct { ctx context.Context - ApiService *NotificationAPIService + ApiService *NotificationApiService } func (r ApiListNotificationSchemaRequest) Execute() ([]*NotificationResource, *http.Response, error) { @@ -663,7 +663,7 @@ ListNotificationSchema Method for ListNotificationSchema @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListNotificationSchemaRequest */ -func (a *NotificationAPIService) ListNotificationSchema(ctx context.Context) ApiListNotificationSchemaRequest { +func (a *NotificationApiService) ListNotificationSchema(ctx context.Context) ApiListNotificationSchemaRequest { return ApiListNotificationSchemaRequest{ ApiService: a, ctx: ctx, @@ -672,7 +672,7 @@ func (a *NotificationAPIService) ListNotificationSchema(ctx context.Context) Api // Execute executes the request // @return []NotificationResource -func (a *NotificationAPIService) ListNotificationSchemaExecute(r ApiListNotificationSchemaRequest) ([]*NotificationResource, *http.Response, error) { +func (a *NotificationApiService) ListNotificationSchemaExecute(r ApiListNotificationSchemaRequest) ([]*NotificationResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -680,7 +680,7 @@ func (a *NotificationAPIService) ListNotificationSchemaExecute(r ApiListNotifica localVarReturnValue []*NotificationResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "NotificationAPIService.ListNotificationSchema") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "NotificationApiService.ListNotificationSchema") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -774,7 +774,7 @@ func (a *NotificationAPIService) ListNotificationSchemaExecute(r ApiListNotifica } type ApiTestNotificationRequest struct { ctx context.Context - ApiService *NotificationAPIService + ApiService *NotificationApiService notificationResource *NotificationResource } @@ -793,7 +793,7 @@ TestNotification Method for TestNotification @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiTestNotificationRequest */ -func (a *NotificationAPIService) TestNotification(ctx context.Context) ApiTestNotificationRequest { +func (a *NotificationApiService) TestNotification(ctx context.Context) ApiTestNotificationRequest { return ApiTestNotificationRequest{ ApiService: a, ctx: ctx, @@ -801,14 +801,14 @@ func (a *NotificationAPIService) TestNotification(ctx context.Context) ApiTestNo } // Execute executes the request -func (a *NotificationAPIService) TestNotificationExecute(r ApiTestNotificationRequest) (*http.Response, error) { +func (a *NotificationApiService) TestNotificationExecute(r ApiTestNotificationRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "NotificationAPIService.TestNotification") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "NotificationApiService.TestNotification") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -895,7 +895,7 @@ func (a *NotificationAPIService) TestNotificationExecute(r ApiTestNotificationRe } type ApiTestallNotificationRequest struct { ctx context.Context - ApiService *NotificationAPIService + ApiService *NotificationApiService } func (r ApiTestallNotificationRequest) Execute() (*http.Response, error) { @@ -908,7 +908,7 @@ TestallNotification Method for TestallNotification @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiTestallNotificationRequest */ -func (a *NotificationAPIService) TestallNotification(ctx context.Context) ApiTestallNotificationRequest { +func (a *NotificationApiService) TestallNotification(ctx context.Context) ApiTestallNotificationRequest { return ApiTestallNotificationRequest{ ApiService: a, ctx: ctx, @@ -916,14 +916,14 @@ func (a *NotificationAPIService) TestallNotification(ctx context.Context) ApiTes } // Execute executes the request -func (a *NotificationAPIService) TestallNotificationExecute(r ApiTestallNotificationRequest) (*http.Response, error) { +func (a *NotificationApiService) TestallNotificationExecute(r ApiTestallNotificationRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "NotificationAPIService.TestallNotification") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "NotificationApiService.TestallNotification") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -1008,7 +1008,7 @@ func (a *NotificationAPIService) TestallNotificationExecute(r ApiTestallNotifica } type ApiUpdateNotificationRequest struct { ctx context.Context - ApiService *NotificationAPIService + ApiService *NotificationApiService id string notificationResource *NotificationResource } @@ -1029,7 +1029,7 @@ UpdateNotification Method for UpdateNotification @param id @return ApiUpdateNotificationRequest */ -func (a *NotificationAPIService) UpdateNotification(ctx context.Context, id string) ApiUpdateNotificationRequest { +func (a *NotificationApiService) UpdateNotification(ctx context.Context, id string) ApiUpdateNotificationRequest { return ApiUpdateNotificationRequest{ ApiService: a, ctx: ctx, @@ -1039,7 +1039,7 @@ func (a *NotificationAPIService) UpdateNotification(ctx context.Context, id stri // Execute executes the request // @return NotificationResource -func (a *NotificationAPIService) UpdateNotificationExecute(r ApiUpdateNotificationRequest) (*NotificationResource, *http.Response, error) { +func (a *NotificationApiService) UpdateNotificationExecute(r ApiUpdateNotificationRequest) (*NotificationResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} @@ -1047,7 +1047,7 @@ func (a *NotificationAPIService) UpdateNotificationExecute(r ApiUpdateNotificati localVarReturnValue *NotificationResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "NotificationAPIService.UpdateNotification") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "NotificationApiService.UpdateNotification") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } diff --git a/sonarr/api_parse.go b/sonarr/api_parse.go index 817a760..d99f112 100644 --- a/sonarr/api_parse.go +++ b/sonarr/api_parse.go @@ -19,11 +19,11 @@ import ( ) -// ParseAPIService ParseAPI service -type ParseAPIService service +// ParseApiService ParseApi service +type ParseApiService service type ApiGetParseRequest struct { ctx context.Context - ApiService *ParseAPIService + ApiService *ParseApiService title *string path *string } @@ -48,7 +48,7 @@ GetParse Method for GetParse @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetParseRequest */ -func (a *ParseAPIService) GetParse(ctx context.Context) ApiGetParseRequest { +func (a *ParseApiService) GetParse(ctx context.Context) ApiGetParseRequest { return ApiGetParseRequest{ ApiService: a, ctx: ctx, @@ -57,7 +57,7 @@ func (a *ParseAPIService) GetParse(ctx context.Context) ApiGetParseRequest { // Execute executes the request // @return ParseResource -func (a *ParseAPIService) GetParseExecute(r ApiGetParseRequest) (*ParseResource, *http.Response, error) { +func (a *ParseApiService) GetParseExecute(r ApiGetParseRequest) (*ParseResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -65,7 +65,7 @@ func (a *ParseAPIService) GetParseExecute(r ApiGetParseRequest) (*ParseResource, localVarReturnValue *ParseResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ParseAPIService.GetParse") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ParseApiService.GetParse") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } diff --git a/sonarr/api_ping.go b/sonarr/api_ping.go index 1ed34f6..7f0a4c1 100644 --- a/sonarr/api_ping.go +++ b/sonarr/api_ping.go @@ -19,11 +19,11 @@ import ( ) -// PingAPIService PingAPI service -type PingAPIService service +// PingApiService PingApi service +type PingApiService service type ApiGetPingRequest struct { ctx context.Context - ApiService *PingAPIService + ApiService *PingApiService } func (r ApiGetPingRequest) Execute() (*PingResource, *http.Response, error) { @@ -36,7 +36,7 @@ GetPing Method for GetPing @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetPingRequest */ -func (a *PingAPIService) GetPing(ctx context.Context) ApiGetPingRequest { +func (a *PingApiService) GetPing(ctx context.Context) ApiGetPingRequest { return ApiGetPingRequest{ ApiService: a, ctx: ctx, @@ -45,7 +45,7 @@ func (a *PingAPIService) GetPing(ctx context.Context) ApiGetPingRequest { // Execute executes the request // @return PingResource -func (a *PingAPIService) GetPingExecute(r ApiGetPingRequest) (*PingResource, *http.Response, error) { +func (a *PingApiService) GetPingExecute(r ApiGetPingRequest) (*PingResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -53,7 +53,7 @@ func (a *PingAPIService) GetPingExecute(r ApiGetPingRequest) (*PingResource, *ht localVarReturnValue *PingResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PingAPIService.GetPing") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PingApiService.GetPing") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } diff --git a/sonarr/api_quality_definition.go b/sonarr/api_quality_definition.go index 18ed4cc..96751f1 100644 --- a/sonarr/api_quality_definition.go +++ b/sonarr/api_quality_definition.go @@ -20,11 +20,11 @@ import ( ) -// QualityDefinitionAPIService QualityDefinitionAPI service -type QualityDefinitionAPIService service +// QualityDefinitionApiService QualityDefinitionApi service +type QualityDefinitionApiService service type ApiGetQualityDefinitionByIdRequest struct { ctx context.Context - ApiService *QualityDefinitionAPIService + ApiService *QualityDefinitionApiService id int32 } @@ -39,7 +39,7 @@ GetQualityDefinitionById Method for GetQualityDefinitionById @param id @return ApiGetQualityDefinitionByIdRequest */ -func (a *QualityDefinitionAPIService) GetQualityDefinitionById(ctx context.Context, id int32) ApiGetQualityDefinitionByIdRequest { +func (a *QualityDefinitionApiService) GetQualityDefinitionById(ctx context.Context, id int32) ApiGetQualityDefinitionByIdRequest { return ApiGetQualityDefinitionByIdRequest{ ApiService: a, ctx: ctx, @@ -49,7 +49,7 @@ func (a *QualityDefinitionAPIService) GetQualityDefinitionById(ctx context.Conte // Execute executes the request // @return QualityDefinitionResource -func (a *QualityDefinitionAPIService) GetQualityDefinitionByIdExecute(r ApiGetQualityDefinitionByIdRequest) (*QualityDefinitionResource, *http.Response, error) { +func (a *QualityDefinitionApiService) GetQualityDefinitionByIdExecute(r ApiGetQualityDefinitionByIdRequest) (*QualityDefinitionResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -57,7 +57,7 @@ func (a *QualityDefinitionAPIService) GetQualityDefinitionByIdExecute(r ApiGetQu localVarReturnValue *QualityDefinitionResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QualityDefinitionAPIService.GetQualityDefinitionById") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QualityDefinitionApiService.GetQualityDefinitionById") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -152,7 +152,7 @@ func (a *QualityDefinitionAPIService) GetQualityDefinitionByIdExecute(r ApiGetQu } type ApiListQualityDefinitionRequest struct { ctx context.Context - ApiService *QualityDefinitionAPIService + ApiService *QualityDefinitionApiService } func (r ApiListQualityDefinitionRequest) Execute() ([]*QualityDefinitionResource, *http.Response, error) { @@ -165,7 +165,7 @@ ListQualityDefinition Method for ListQualityDefinition @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListQualityDefinitionRequest */ -func (a *QualityDefinitionAPIService) ListQualityDefinition(ctx context.Context) ApiListQualityDefinitionRequest { +func (a *QualityDefinitionApiService) ListQualityDefinition(ctx context.Context) ApiListQualityDefinitionRequest { return ApiListQualityDefinitionRequest{ ApiService: a, ctx: ctx, @@ -174,7 +174,7 @@ func (a *QualityDefinitionAPIService) ListQualityDefinition(ctx context.Context) // Execute executes the request // @return []QualityDefinitionResource -func (a *QualityDefinitionAPIService) ListQualityDefinitionExecute(r ApiListQualityDefinitionRequest) ([]*QualityDefinitionResource, *http.Response, error) { +func (a *QualityDefinitionApiService) ListQualityDefinitionExecute(r ApiListQualityDefinitionRequest) ([]*QualityDefinitionResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -182,7 +182,7 @@ func (a *QualityDefinitionAPIService) ListQualityDefinitionExecute(r ApiListQual localVarReturnValue []*QualityDefinitionResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QualityDefinitionAPIService.ListQualityDefinition") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QualityDefinitionApiService.ListQualityDefinition") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -276,7 +276,7 @@ func (a *QualityDefinitionAPIService) ListQualityDefinitionExecute(r ApiListQual } type ApiPutQualityDefinitionUpdateRequest struct { ctx context.Context - ApiService *QualityDefinitionAPIService + ApiService *QualityDefinitionApiService qualityDefinitionResource *[]QualityDefinitionResource } @@ -295,7 +295,7 @@ PutQualityDefinitionUpdate Method for PutQualityDefinitionUpdate @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiPutQualityDefinitionUpdateRequest */ -func (a *QualityDefinitionAPIService) PutQualityDefinitionUpdate(ctx context.Context) ApiPutQualityDefinitionUpdateRequest { +func (a *QualityDefinitionApiService) PutQualityDefinitionUpdate(ctx context.Context) ApiPutQualityDefinitionUpdateRequest { return ApiPutQualityDefinitionUpdateRequest{ ApiService: a, ctx: ctx, @@ -303,14 +303,14 @@ func (a *QualityDefinitionAPIService) PutQualityDefinitionUpdate(ctx context.Con } // Execute executes the request -func (a *QualityDefinitionAPIService) PutQualityDefinitionUpdateExecute(r ApiPutQualityDefinitionUpdateRequest) (*http.Response, error) { +func (a *QualityDefinitionApiService) PutQualityDefinitionUpdateExecute(r ApiPutQualityDefinitionUpdateRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QualityDefinitionAPIService.PutQualityDefinitionUpdate") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QualityDefinitionApiService.PutQualityDefinitionUpdate") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -397,7 +397,7 @@ func (a *QualityDefinitionAPIService) PutQualityDefinitionUpdateExecute(r ApiPut } type ApiUpdateQualityDefinitionRequest struct { ctx context.Context - ApiService *QualityDefinitionAPIService + ApiService *QualityDefinitionApiService id string qualityDefinitionResource *QualityDefinitionResource } @@ -418,7 +418,7 @@ UpdateQualityDefinition Method for UpdateQualityDefinition @param id @return ApiUpdateQualityDefinitionRequest */ -func (a *QualityDefinitionAPIService) UpdateQualityDefinition(ctx context.Context, id string) ApiUpdateQualityDefinitionRequest { +func (a *QualityDefinitionApiService) UpdateQualityDefinition(ctx context.Context, id string) ApiUpdateQualityDefinitionRequest { return ApiUpdateQualityDefinitionRequest{ ApiService: a, ctx: ctx, @@ -428,7 +428,7 @@ func (a *QualityDefinitionAPIService) UpdateQualityDefinition(ctx context.Contex // Execute executes the request // @return QualityDefinitionResource -func (a *QualityDefinitionAPIService) UpdateQualityDefinitionExecute(r ApiUpdateQualityDefinitionRequest) (*QualityDefinitionResource, *http.Response, error) { +func (a *QualityDefinitionApiService) UpdateQualityDefinitionExecute(r ApiUpdateQualityDefinitionRequest) (*QualityDefinitionResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} @@ -436,7 +436,7 @@ func (a *QualityDefinitionAPIService) UpdateQualityDefinitionExecute(r ApiUpdate localVarReturnValue *QualityDefinitionResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QualityDefinitionAPIService.UpdateQualityDefinition") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QualityDefinitionApiService.UpdateQualityDefinition") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } diff --git a/sonarr/api_quality_profile.go b/sonarr/api_quality_profile.go index bdad104..c80a4d8 100644 --- a/sonarr/api_quality_profile.go +++ b/sonarr/api_quality_profile.go @@ -20,11 +20,11 @@ import ( ) -// QualityProfileAPIService QualityProfileAPI service -type QualityProfileAPIService service +// QualityProfileApiService QualityProfileApi service +type QualityProfileApiService service type ApiCreateQualityProfileRequest struct { ctx context.Context - ApiService *QualityProfileAPIService + ApiService *QualityProfileApiService qualityProfileResource *QualityProfileResource } @@ -43,7 +43,7 @@ CreateQualityProfile Method for CreateQualityProfile @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateQualityProfileRequest */ -func (a *QualityProfileAPIService) CreateQualityProfile(ctx context.Context) ApiCreateQualityProfileRequest { +func (a *QualityProfileApiService) CreateQualityProfile(ctx context.Context) ApiCreateQualityProfileRequest { return ApiCreateQualityProfileRequest{ ApiService: a, ctx: ctx, @@ -52,7 +52,7 @@ func (a *QualityProfileAPIService) CreateQualityProfile(ctx context.Context) Api // Execute executes the request // @return QualityProfileResource -func (a *QualityProfileAPIService) CreateQualityProfileExecute(r ApiCreateQualityProfileRequest) (*QualityProfileResource, *http.Response, error) { +func (a *QualityProfileApiService) CreateQualityProfileExecute(r ApiCreateQualityProfileRequest) (*QualityProfileResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -60,7 +60,7 @@ func (a *QualityProfileAPIService) CreateQualityProfileExecute(r ApiCreateQualit localVarReturnValue *QualityProfileResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QualityProfileAPIService.CreateQualityProfile") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QualityProfileApiService.CreateQualityProfile") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -156,7 +156,7 @@ func (a *QualityProfileAPIService) CreateQualityProfileExecute(r ApiCreateQualit } type ApiDeleteQualityProfileRequest struct { ctx context.Context - ApiService *QualityProfileAPIService + ApiService *QualityProfileApiService id int32 } @@ -171,7 +171,7 @@ DeleteQualityProfile Method for DeleteQualityProfile @param id @return ApiDeleteQualityProfileRequest */ -func (a *QualityProfileAPIService) DeleteQualityProfile(ctx context.Context, id int32) ApiDeleteQualityProfileRequest { +func (a *QualityProfileApiService) DeleteQualityProfile(ctx context.Context, id int32) ApiDeleteQualityProfileRequest { return ApiDeleteQualityProfileRequest{ ApiService: a, ctx: ctx, @@ -180,14 +180,14 @@ func (a *QualityProfileAPIService) DeleteQualityProfile(ctx context.Context, id } // Execute executes the request -func (a *QualityProfileAPIService) DeleteQualityProfileExecute(r ApiDeleteQualityProfileRequest) (*http.Response, error) { +func (a *QualityProfileApiService) DeleteQualityProfileExecute(r ApiDeleteQualityProfileRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QualityProfileAPIService.DeleteQualityProfile") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QualityProfileApiService.DeleteQualityProfile") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -273,7 +273,7 @@ func (a *QualityProfileAPIService) DeleteQualityProfileExecute(r ApiDeleteQualit } type ApiGetQualityProfileByIdRequest struct { ctx context.Context - ApiService *QualityProfileAPIService + ApiService *QualityProfileApiService id int32 } @@ -288,7 +288,7 @@ GetQualityProfileById Method for GetQualityProfileById @param id @return ApiGetQualityProfileByIdRequest */ -func (a *QualityProfileAPIService) GetQualityProfileById(ctx context.Context, id int32) ApiGetQualityProfileByIdRequest { +func (a *QualityProfileApiService) GetQualityProfileById(ctx context.Context, id int32) ApiGetQualityProfileByIdRequest { return ApiGetQualityProfileByIdRequest{ ApiService: a, ctx: ctx, @@ -298,7 +298,7 @@ func (a *QualityProfileAPIService) GetQualityProfileById(ctx context.Context, id // Execute executes the request // @return QualityProfileResource -func (a *QualityProfileAPIService) GetQualityProfileByIdExecute(r ApiGetQualityProfileByIdRequest) (*QualityProfileResource, *http.Response, error) { +func (a *QualityProfileApiService) GetQualityProfileByIdExecute(r ApiGetQualityProfileByIdRequest) (*QualityProfileResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -306,7 +306,7 @@ func (a *QualityProfileAPIService) GetQualityProfileByIdExecute(r ApiGetQualityP localVarReturnValue *QualityProfileResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QualityProfileAPIService.GetQualityProfileById") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QualityProfileApiService.GetQualityProfileById") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -401,7 +401,7 @@ func (a *QualityProfileAPIService) GetQualityProfileByIdExecute(r ApiGetQualityP } type ApiListQualityProfileRequest struct { ctx context.Context - ApiService *QualityProfileAPIService + ApiService *QualityProfileApiService } func (r ApiListQualityProfileRequest) Execute() ([]*QualityProfileResource, *http.Response, error) { @@ -414,7 +414,7 @@ ListQualityProfile Method for ListQualityProfile @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListQualityProfileRequest */ -func (a *QualityProfileAPIService) ListQualityProfile(ctx context.Context) ApiListQualityProfileRequest { +func (a *QualityProfileApiService) ListQualityProfile(ctx context.Context) ApiListQualityProfileRequest { return ApiListQualityProfileRequest{ ApiService: a, ctx: ctx, @@ -423,7 +423,7 @@ func (a *QualityProfileAPIService) ListQualityProfile(ctx context.Context) ApiLi // Execute executes the request // @return []QualityProfileResource -func (a *QualityProfileAPIService) ListQualityProfileExecute(r ApiListQualityProfileRequest) ([]*QualityProfileResource, *http.Response, error) { +func (a *QualityProfileApiService) ListQualityProfileExecute(r ApiListQualityProfileRequest) ([]*QualityProfileResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -431,7 +431,7 @@ func (a *QualityProfileAPIService) ListQualityProfileExecute(r ApiListQualityPro localVarReturnValue []*QualityProfileResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QualityProfileAPIService.ListQualityProfile") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QualityProfileApiService.ListQualityProfile") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -525,7 +525,7 @@ func (a *QualityProfileAPIService) ListQualityProfileExecute(r ApiListQualityPro } type ApiUpdateQualityProfileRequest struct { ctx context.Context - ApiService *QualityProfileAPIService + ApiService *QualityProfileApiService id string qualityProfileResource *QualityProfileResource } @@ -546,7 +546,7 @@ UpdateQualityProfile Method for UpdateQualityProfile @param id @return ApiUpdateQualityProfileRequest */ -func (a *QualityProfileAPIService) UpdateQualityProfile(ctx context.Context, id string) ApiUpdateQualityProfileRequest { +func (a *QualityProfileApiService) UpdateQualityProfile(ctx context.Context, id string) ApiUpdateQualityProfileRequest { return ApiUpdateQualityProfileRequest{ ApiService: a, ctx: ctx, @@ -556,7 +556,7 @@ func (a *QualityProfileAPIService) UpdateQualityProfile(ctx context.Context, id // Execute executes the request // @return QualityProfileResource -func (a *QualityProfileAPIService) UpdateQualityProfileExecute(r ApiUpdateQualityProfileRequest) (*QualityProfileResource, *http.Response, error) { +func (a *QualityProfileApiService) UpdateQualityProfileExecute(r ApiUpdateQualityProfileRequest) (*QualityProfileResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} @@ -564,7 +564,7 @@ func (a *QualityProfileAPIService) UpdateQualityProfileExecute(r ApiUpdateQualit localVarReturnValue *QualityProfileResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QualityProfileAPIService.UpdateQualityProfile") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QualityProfileApiService.UpdateQualityProfile") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } diff --git a/sonarr/api_quality_profile_schema.go b/sonarr/api_quality_profile_schema.go index c6e295c..43d749c 100644 --- a/sonarr/api_quality_profile_schema.go +++ b/sonarr/api_quality_profile_schema.go @@ -19,11 +19,11 @@ import ( ) -// QualityProfileSchemaAPIService QualityProfileSchemaAPI service -type QualityProfileSchemaAPIService service +// QualityProfileSchemaApiService QualityProfileSchemaApi service +type QualityProfileSchemaApiService service type ApiGetQualityprofileSchemaRequest struct { ctx context.Context - ApiService *QualityProfileSchemaAPIService + ApiService *QualityProfileSchemaApiService } func (r ApiGetQualityprofileSchemaRequest) Execute() (*QualityProfileResource, *http.Response, error) { @@ -36,7 +36,7 @@ GetQualityprofileSchema Method for GetQualityprofileSchema @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetQualityprofileSchemaRequest */ -func (a *QualityProfileSchemaAPIService) GetQualityprofileSchema(ctx context.Context) ApiGetQualityprofileSchemaRequest { +func (a *QualityProfileSchemaApiService) GetQualityprofileSchema(ctx context.Context) ApiGetQualityprofileSchemaRequest { return ApiGetQualityprofileSchemaRequest{ ApiService: a, ctx: ctx, @@ -45,7 +45,7 @@ func (a *QualityProfileSchemaAPIService) GetQualityprofileSchema(ctx context.Con // Execute executes the request // @return QualityProfileResource -func (a *QualityProfileSchemaAPIService) GetQualityprofileSchemaExecute(r ApiGetQualityprofileSchemaRequest) (*QualityProfileResource, *http.Response, error) { +func (a *QualityProfileSchemaApiService) GetQualityprofileSchemaExecute(r ApiGetQualityprofileSchemaRequest) (*QualityProfileResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -53,7 +53,7 @@ func (a *QualityProfileSchemaAPIService) GetQualityprofileSchemaExecute(r ApiGet localVarReturnValue *QualityProfileResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QualityProfileSchemaAPIService.GetQualityprofileSchema") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QualityProfileSchemaApiService.GetQualityprofileSchema") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } diff --git a/sonarr/api_queue.go b/sonarr/api_queue.go index d665e32..39c0677 100644 --- a/sonarr/api_queue.go +++ b/sonarr/api_queue.go @@ -20,11 +20,11 @@ import ( ) -// QueueAPIService QueueAPI service -type QueueAPIService service +// QueueApiService QueueApi service +type QueueApiService service type ApiDeleteQueueRequest struct { ctx context.Context - ApiService *QueueAPIService + ApiService *QueueApiService id int32 removeFromClient *bool blocklist *bool @@ -51,7 +51,7 @@ DeleteQueue Method for DeleteQueue @param id @return ApiDeleteQueueRequest */ -func (a *QueueAPIService) DeleteQueue(ctx context.Context, id int32) ApiDeleteQueueRequest { +func (a *QueueApiService) DeleteQueue(ctx context.Context, id int32) ApiDeleteQueueRequest { return ApiDeleteQueueRequest{ ApiService: a, ctx: ctx, @@ -60,14 +60,14 @@ func (a *QueueAPIService) DeleteQueue(ctx context.Context, id int32) ApiDeleteQu } // Execute executes the request -func (a *QueueAPIService) DeleteQueueExecute(r ApiDeleteQueueRequest) (*http.Response, error) { +func (a *QueueApiService) DeleteQueueExecute(r ApiDeleteQueueRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QueueAPIService.DeleteQueue") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QueueApiService.DeleteQueue") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -159,7 +159,7 @@ func (a *QueueAPIService) DeleteQueueExecute(r ApiDeleteQueueRequest) (*http.Res } type ApiDeleteQueueBulkRequest struct { ctx context.Context - ApiService *QueueAPIService + ApiService *QueueApiService removeFromClient *bool blocklist *bool queueBulkResource *QueueBulkResource @@ -190,7 +190,7 @@ DeleteQueueBulk Method for DeleteQueueBulk @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiDeleteQueueBulkRequest */ -func (a *QueueAPIService) DeleteQueueBulk(ctx context.Context) ApiDeleteQueueBulkRequest { +func (a *QueueApiService) DeleteQueueBulk(ctx context.Context) ApiDeleteQueueBulkRequest { return ApiDeleteQueueBulkRequest{ ApiService: a, ctx: ctx, @@ -198,14 +198,14 @@ func (a *QueueAPIService) DeleteQueueBulk(ctx context.Context) ApiDeleteQueueBul } // Execute executes the request -func (a *QueueAPIService) DeleteQueueBulkExecute(r ApiDeleteQueueBulkRequest) (*http.Response, error) { +func (a *QueueApiService) DeleteQueueBulkExecute(r ApiDeleteQueueBulkRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QueueAPIService.DeleteQueueBulk") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QueueApiService.DeleteQueueBulk") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -298,7 +298,7 @@ func (a *QueueAPIService) DeleteQueueBulkExecute(r ApiDeleteQueueBulkRequest) (* } type ApiGetQueueRequest struct { ctx context.Context - ApiService *QueueAPIService + ApiService *QueueApiService includeUnknownSeriesItems *bool includeSeries *bool includeEpisode *bool @@ -329,7 +329,7 @@ GetQueue Method for GetQueue @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetQueueRequest */ -func (a *QueueAPIService) GetQueue(ctx context.Context) ApiGetQueueRequest { +func (a *QueueApiService) GetQueue(ctx context.Context) ApiGetQueueRequest { return ApiGetQueueRequest{ ApiService: a, ctx: ctx, @@ -338,7 +338,7 @@ func (a *QueueAPIService) GetQueue(ctx context.Context) ApiGetQueueRequest { // Execute executes the request // @return QueueResourcePagingResource -func (a *QueueAPIService) GetQueueExecute(r ApiGetQueueRequest) (*QueueResourcePagingResource, *http.Response, error) { +func (a *QueueApiService) GetQueueExecute(r ApiGetQueueRequest) (*QueueResourcePagingResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -346,7 +346,7 @@ func (a *QueueAPIService) GetQueueExecute(r ApiGetQueueRequest) (*QueueResourceP localVarReturnValue *QueueResourcePagingResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QueueAPIService.GetQueue") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QueueApiService.GetQueue") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -449,7 +449,7 @@ func (a *QueueAPIService) GetQueueExecute(r ApiGetQueueRequest) (*QueueResourceP } type ApiGetQueueByIdRequest struct { ctx context.Context - ApiService *QueueAPIService + ApiService *QueueApiService id int32 } @@ -464,7 +464,7 @@ GetQueueById Method for GetQueueById @param id @return ApiGetQueueByIdRequest */ -func (a *QueueAPIService) GetQueueById(ctx context.Context, id int32) ApiGetQueueByIdRequest { +func (a *QueueApiService) GetQueueById(ctx context.Context, id int32) ApiGetQueueByIdRequest { return ApiGetQueueByIdRequest{ ApiService: a, ctx: ctx, @@ -474,7 +474,7 @@ func (a *QueueAPIService) GetQueueById(ctx context.Context, id int32) ApiGetQueu // Execute executes the request // @return QueueResource -func (a *QueueAPIService) GetQueueByIdExecute(r ApiGetQueueByIdRequest) (*QueueResource, *http.Response, error) { +func (a *QueueApiService) GetQueueByIdExecute(r ApiGetQueueByIdRequest) (*QueueResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -482,7 +482,7 @@ func (a *QueueAPIService) GetQueueByIdExecute(r ApiGetQueueByIdRequest) (*QueueR localVarReturnValue *QueueResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QueueAPIService.GetQueueById") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QueueApiService.GetQueueById") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } diff --git a/sonarr/api_queue_action.go b/sonarr/api_queue_action.go index c27747c..480ada7 100644 --- a/sonarr/api_queue_action.go +++ b/sonarr/api_queue_action.go @@ -20,11 +20,11 @@ import ( ) -// QueueActionAPIService QueueActionAPI service -type QueueActionAPIService service +// QueueActionApiService QueueActionApi service +type QueueActionApiService service type ApiCreateQueueGrabBulkRequest struct { ctx context.Context - ApiService *QueueActionAPIService + ApiService *QueueActionApiService queueBulkResource *QueueBulkResource } @@ -43,7 +43,7 @@ CreateQueueGrabBulk Method for CreateQueueGrabBulk @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateQueueGrabBulkRequest */ -func (a *QueueActionAPIService) CreateQueueGrabBulk(ctx context.Context) ApiCreateQueueGrabBulkRequest { +func (a *QueueActionApiService) CreateQueueGrabBulk(ctx context.Context) ApiCreateQueueGrabBulkRequest { return ApiCreateQueueGrabBulkRequest{ ApiService: a, ctx: ctx, @@ -51,14 +51,14 @@ func (a *QueueActionAPIService) CreateQueueGrabBulk(ctx context.Context) ApiCrea } // Execute executes the request -func (a *QueueActionAPIService) CreateQueueGrabBulkExecute(r ApiCreateQueueGrabBulkRequest) (*http.Response, error) { +func (a *QueueActionApiService) CreateQueueGrabBulkExecute(r ApiCreateQueueGrabBulkRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QueueActionAPIService.CreateQueueGrabBulk") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QueueActionApiService.CreateQueueGrabBulk") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -145,7 +145,7 @@ func (a *QueueActionAPIService) CreateQueueGrabBulkExecute(r ApiCreateQueueGrabB } type ApiCreateQueueGrabByIdRequest struct { ctx context.Context - ApiService *QueueActionAPIService + ApiService *QueueActionApiService id int32 } @@ -160,7 +160,7 @@ CreateQueueGrabById Method for CreateQueueGrabById @param id @return ApiCreateQueueGrabByIdRequest */ -func (a *QueueActionAPIService) CreateQueueGrabById(ctx context.Context, id int32) ApiCreateQueueGrabByIdRequest { +func (a *QueueActionApiService) CreateQueueGrabById(ctx context.Context, id int32) ApiCreateQueueGrabByIdRequest { return ApiCreateQueueGrabByIdRequest{ ApiService: a, ctx: ctx, @@ -169,14 +169,14 @@ func (a *QueueActionAPIService) CreateQueueGrabById(ctx context.Context, id int3 } // Execute executes the request -func (a *QueueActionAPIService) CreateQueueGrabByIdExecute(r ApiCreateQueueGrabByIdRequest) (*http.Response, error) { +func (a *QueueActionApiService) CreateQueueGrabByIdExecute(r ApiCreateQueueGrabByIdRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QueueActionAPIService.CreateQueueGrabById") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QueueActionApiService.CreateQueueGrabById") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } diff --git a/sonarr/api_queue_details.go b/sonarr/api_queue_details.go index f58faff..b50a43c 100644 --- a/sonarr/api_queue_details.go +++ b/sonarr/api_queue_details.go @@ -21,11 +21,11 @@ import ( ) -// QueueDetailsAPIService QueueDetailsAPI service -type QueueDetailsAPIService service +// QueueDetailsApiService QueueDetailsApi service +type QueueDetailsApiService service type ApiGetQueueDetailsByIdRequest struct { ctx context.Context - ApiService *QueueDetailsAPIService + ApiService *QueueDetailsApiService id int32 } @@ -40,7 +40,7 @@ GetQueueDetailsById Method for GetQueueDetailsById @param id @return ApiGetQueueDetailsByIdRequest */ -func (a *QueueDetailsAPIService) GetQueueDetailsById(ctx context.Context, id int32) ApiGetQueueDetailsByIdRequest { +func (a *QueueDetailsApiService) GetQueueDetailsById(ctx context.Context, id int32) ApiGetQueueDetailsByIdRequest { return ApiGetQueueDetailsByIdRequest{ ApiService: a, ctx: ctx, @@ -50,7 +50,7 @@ func (a *QueueDetailsAPIService) GetQueueDetailsById(ctx context.Context, id int // Execute executes the request // @return QueueResource -func (a *QueueDetailsAPIService) GetQueueDetailsByIdExecute(r ApiGetQueueDetailsByIdRequest) (*QueueResource, *http.Response, error) { +func (a *QueueDetailsApiService) GetQueueDetailsByIdExecute(r ApiGetQueueDetailsByIdRequest) (*QueueResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -58,7 +58,7 @@ func (a *QueueDetailsAPIService) GetQueueDetailsByIdExecute(r ApiGetQueueDetails localVarReturnValue *QueueResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QueueDetailsAPIService.GetQueueDetailsById") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QueueDetailsApiService.GetQueueDetailsById") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -153,7 +153,7 @@ func (a *QueueDetailsAPIService) GetQueueDetailsByIdExecute(r ApiGetQueueDetails } type ApiListQueueDetailsRequest struct { ctx context.Context - ApiService *QueueDetailsAPIService + ApiService *QueueDetailsApiService seriesId *int32 episodeIds *[]int32 includeSeries *bool @@ -190,7 +190,7 @@ ListQueueDetails Method for ListQueueDetails @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListQueueDetailsRequest */ -func (a *QueueDetailsAPIService) ListQueueDetails(ctx context.Context) ApiListQueueDetailsRequest { +func (a *QueueDetailsApiService) ListQueueDetails(ctx context.Context) ApiListQueueDetailsRequest { return ApiListQueueDetailsRequest{ ApiService: a, ctx: ctx, @@ -199,7 +199,7 @@ func (a *QueueDetailsAPIService) ListQueueDetails(ctx context.Context) ApiListQu // Execute executes the request // @return []QueueResource -func (a *QueueDetailsAPIService) ListQueueDetailsExecute(r ApiListQueueDetailsRequest) ([]*QueueResource, *http.Response, error) { +func (a *QueueDetailsApiService) ListQueueDetailsExecute(r ApiListQueueDetailsRequest) ([]*QueueResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -207,7 +207,7 @@ func (a *QueueDetailsAPIService) ListQueueDetailsExecute(r ApiListQueueDetailsRe localVarReturnValue []*QueueResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QueueDetailsAPIService.ListQueueDetails") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QueueDetailsApiService.ListQueueDetails") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } diff --git a/sonarr/api_queue_status.go b/sonarr/api_queue_status.go index 9df178e..debc8a3 100644 --- a/sonarr/api_queue_status.go +++ b/sonarr/api_queue_status.go @@ -20,11 +20,11 @@ import ( ) -// QueueStatusAPIService QueueStatusAPI service -type QueueStatusAPIService service +// QueueStatusApiService QueueStatusApi service +type QueueStatusApiService service type ApiGetQueueStatusRequest struct { ctx context.Context - ApiService *QueueStatusAPIService + ApiService *QueueStatusApiService } func (r ApiGetQueueStatusRequest) Execute() (*QueueStatusResource, *http.Response, error) { @@ -37,7 +37,7 @@ GetQueueStatus Method for GetQueueStatus @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetQueueStatusRequest */ -func (a *QueueStatusAPIService) GetQueueStatus(ctx context.Context) ApiGetQueueStatusRequest { +func (a *QueueStatusApiService) GetQueueStatus(ctx context.Context) ApiGetQueueStatusRequest { return ApiGetQueueStatusRequest{ ApiService: a, ctx: ctx, @@ -46,7 +46,7 @@ func (a *QueueStatusAPIService) GetQueueStatus(ctx context.Context) ApiGetQueueS // Execute executes the request // @return QueueStatusResource -func (a *QueueStatusAPIService) GetQueueStatusExecute(r ApiGetQueueStatusRequest) (*QueueStatusResource, *http.Response, error) { +func (a *QueueStatusApiService) GetQueueStatusExecute(r ApiGetQueueStatusRequest) (*QueueStatusResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -54,7 +54,7 @@ func (a *QueueStatusAPIService) GetQueueStatusExecute(r ApiGetQueueStatusRequest localVarReturnValue *QueueStatusResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QueueStatusAPIService.GetQueueStatus") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QueueStatusApiService.GetQueueStatus") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -148,7 +148,7 @@ func (a *QueueStatusAPIService) GetQueueStatusExecute(r ApiGetQueueStatusRequest } type ApiGetQueueStatusByIdRequest struct { ctx context.Context - ApiService *QueueStatusAPIService + ApiService *QueueStatusApiService id int32 } @@ -163,7 +163,7 @@ GetQueueStatusById Method for GetQueueStatusById @param id @return ApiGetQueueStatusByIdRequest */ -func (a *QueueStatusAPIService) GetQueueStatusById(ctx context.Context, id int32) ApiGetQueueStatusByIdRequest { +func (a *QueueStatusApiService) GetQueueStatusById(ctx context.Context, id int32) ApiGetQueueStatusByIdRequest { return ApiGetQueueStatusByIdRequest{ ApiService: a, ctx: ctx, @@ -173,7 +173,7 @@ func (a *QueueStatusAPIService) GetQueueStatusById(ctx context.Context, id int32 // Execute executes the request // @return QueueStatusResource -func (a *QueueStatusAPIService) GetQueueStatusByIdExecute(r ApiGetQueueStatusByIdRequest) (*QueueStatusResource, *http.Response, error) { +func (a *QueueStatusApiService) GetQueueStatusByIdExecute(r ApiGetQueueStatusByIdRequest) (*QueueStatusResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -181,7 +181,7 @@ func (a *QueueStatusAPIService) GetQueueStatusByIdExecute(r ApiGetQueueStatusByI localVarReturnValue *QueueStatusResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QueueStatusAPIService.GetQueueStatusById") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QueueStatusApiService.GetQueueStatusById") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } diff --git a/sonarr/api_release.go b/sonarr/api_release.go index 9bc1e99..2bbc628 100644 --- a/sonarr/api_release.go +++ b/sonarr/api_release.go @@ -20,11 +20,11 @@ import ( ) -// ReleaseAPIService ReleaseAPI service -type ReleaseAPIService service +// ReleaseApiService ReleaseApi service +type ReleaseApiService service type ApiCreateReleaseRequest struct { ctx context.Context - ApiService *ReleaseAPIService + ApiService *ReleaseApiService releaseResource *ReleaseResource } @@ -43,7 +43,7 @@ CreateRelease Method for CreateRelease @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateReleaseRequest */ -func (a *ReleaseAPIService) CreateRelease(ctx context.Context) ApiCreateReleaseRequest { +func (a *ReleaseApiService) CreateRelease(ctx context.Context) ApiCreateReleaseRequest { return ApiCreateReleaseRequest{ ApiService: a, ctx: ctx, @@ -51,14 +51,14 @@ func (a *ReleaseAPIService) CreateRelease(ctx context.Context) ApiCreateReleaseR } // Execute executes the request -func (a *ReleaseAPIService) CreateReleaseExecute(r ApiCreateReleaseRequest) (*http.Response, error) { +func (a *ReleaseApiService) CreateReleaseExecute(r ApiCreateReleaseRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ReleaseAPIService.CreateRelease") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ReleaseApiService.CreateRelease") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -145,7 +145,7 @@ func (a *ReleaseAPIService) CreateReleaseExecute(r ApiCreateReleaseRequest) (*ht } type ApiGetReleaseByIdRequest struct { ctx context.Context - ApiService *ReleaseAPIService + ApiService *ReleaseApiService id int32 } @@ -160,7 +160,7 @@ GetReleaseById Method for GetReleaseById @param id @return ApiGetReleaseByIdRequest */ -func (a *ReleaseAPIService) GetReleaseById(ctx context.Context, id int32) ApiGetReleaseByIdRequest { +func (a *ReleaseApiService) GetReleaseById(ctx context.Context, id int32) ApiGetReleaseByIdRequest { return ApiGetReleaseByIdRequest{ ApiService: a, ctx: ctx, @@ -170,7 +170,7 @@ func (a *ReleaseAPIService) GetReleaseById(ctx context.Context, id int32) ApiGet // Execute executes the request // @return ReleaseResource -func (a *ReleaseAPIService) GetReleaseByIdExecute(r ApiGetReleaseByIdRequest) (*ReleaseResource, *http.Response, error) { +func (a *ReleaseApiService) GetReleaseByIdExecute(r ApiGetReleaseByIdRequest) (*ReleaseResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -178,7 +178,7 @@ func (a *ReleaseAPIService) GetReleaseByIdExecute(r ApiGetReleaseByIdRequest) (* localVarReturnValue *ReleaseResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ReleaseAPIService.GetReleaseById") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ReleaseApiService.GetReleaseById") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -273,7 +273,7 @@ func (a *ReleaseAPIService) GetReleaseByIdExecute(r ApiGetReleaseByIdRequest) (* } type ApiListReleaseRequest struct { ctx context.Context - ApiService *ReleaseAPIService + ApiService *ReleaseApiService seriesId *int32 episodeId *int32 seasonNumber *int32 @@ -304,7 +304,7 @@ ListRelease Method for ListRelease @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListReleaseRequest */ -func (a *ReleaseAPIService) ListRelease(ctx context.Context) ApiListReleaseRequest { +func (a *ReleaseApiService) ListRelease(ctx context.Context) ApiListReleaseRequest { return ApiListReleaseRequest{ ApiService: a, ctx: ctx, @@ -313,7 +313,7 @@ func (a *ReleaseAPIService) ListRelease(ctx context.Context) ApiListReleaseReque // Execute executes the request // @return []ReleaseResource -func (a *ReleaseAPIService) ListReleaseExecute(r ApiListReleaseRequest) ([]*ReleaseResource, *http.Response, error) { +func (a *ReleaseApiService) ListReleaseExecute(r ApiListReleaseRequest) ([]*ReleaseResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -321,7 +321,7 @@ func (a *ReleaseAPIService) ListReleaseExecute(r ApiListReleaseRequest) ([]*Rele localVarReturnValue []*ReleaseResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ReleaseAPIService.ListRelease") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ReleaseApiService.ListRelease") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } diff --git a/sonarr/api_release_profile.go b/sonarr/api_release_profile.go index 9a76e7b..fedf2f6 100644 --- a/sonarr/api_release_profile.go +++ b/sonarr/api_release_profile.go @@ -20,11 +20,11 @@ import ( ) -// ReleaseProfileAPIService ReleaseProfileAPI service -type ReleaseProfileAPIService service +// ReleaseProfileApiService ReleaseProfileApi service +type ReleaseProfileApiService service type ApiCreateReleaseProfileRequest struct { ctx context.Context - ApiService *ReleaseProfileAPIService + ApiService *ReleaseProfileApiService releaseProfileResource *ReleaseProfileResource } @@ -43,7 +43,7 @@ CreateReleaseProfile Method for CreateReleaseProfile @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateReleaseProfileRequest */ -func (a *ReleaseProfileAPIService) CreateReleaseProfile(ctx context.Context) ApiCreateReleaseProfileRequest { +func (a *ReleaseProfileApiService) CreateReleaseProfile(ctx context.Context) ApiCreateReleaseProfileRequest { return ApiCreateReleaseProfileRequest{ ApiService: a, ctx: ctx, @@ -52,7 +52,7 @@ func (a *ReleaseProfileAPIService) CreateReleaseProfile(ctx context.Context) Api // Execute executes the request // @return ReleaseProfileResource -func (a *ReleaseProfileAPIService) CreateReleaseProfileExecute(r ApiCreateReleaseProfileRequest) (*ReleaseProfileResource, *http.Response, error) { +func (a *ReleaseProfileApiService) CreateReleaseProfileExecute(r ApiCreateReleaseProfileRequest) (*ReleaseProfileResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -60,7 +60,7 @@ func (a *ReleaseProfileAPIService) CreateReleaseProfileExecute(r ApiCreateReleas localVarReturnValue *ReleaseProfileResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ReleaseProfileAPIService.CreateReleaseProfile") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ReleaseProfileApiService.CreateReleaseProfile") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -156,7 +156,7 @@ func (a *ReleaseProfileAPIService) CreateReleaseProfileExecute(r ApiCreateReleas } type ApiDeleteReleaseProfileRequest struct { ctx context.Context - ApiService *ReleaseProfileAPIService + ApiService *ReleaseProfileApiService id int32 } @@ -171,7 +171,7 @@ DeleteReleaseProfile Method for DeleteReleaseProfile @param id @return ApiDeleteReleaseProfileRequest */ -func (a *ReleaseProfileAPIService) DeleteReleaseProfile(ctx context.Context, id int32) ApiDeleteReleaseProfileRequest { +func (a *ReleaseProfileApiService) DeleteReleaseProfile(ctx context.Context, id int32) ApiDeleteReleaseProfileRequest { return ApiDeleteReleaseProfileRequest{ ApiService: a, ctx: ctx, @@ -180,14 +180,14 @@ func (a *ReleaseProfileAPIService) DeleteReleaseProfile(ctx context.Context, id } // Execute executes the request -func (a *ReleaseProfileAPIService) DeleteReleaseProfileExecute(r ApiDeleteReleaseProfileRequest) (*http.Response, error) { +func (a *ReleaseProfileApiService) DeleteReleaseProfileExecute(r ApiDeleteReleaseProfileRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ReleaseProfileAPIService.DeleteReleaseProfile") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ReleaseProfileApiService.DeleteReleaseProfile") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -273,7 +273,7 @@ func (a *ReleaseProfileAPIService) DeleteReleaseProfileExecute(r ApiDeleteReleas } type ApiGetReleaseProfileByIdRequest struct { ctx context.Context - ApiService *ReleaseProfileAPIService + ApiService *ReleaseProfileApiService id int32 } @@ -288,7 +288,7 @@ GetReleaseProfileById Method for GetReleaseProfileById @param id @return ApiGetReleaseProfileByIdRequest */ -func (a *ReleaseProfileAPIService) GetReleaseProfileById(ctx context.Context, id int32) ApiGetReleaseProfileByIdRequest { +func (a *ReleaseProfileApiService) GetReleaseProfileById(ctx context.Context, id int32) ApiGetReleaseProfileByIdRequest { return ApiGetReleaseProfileByIdRequest{ ApiService: a, ctx: ctx, @@ -298,7 +298,7 @@ func (a *ReleaseProfileAPIService) GetReleaseProfileById(ctx context.Context, id // Execute executes the request // @return ReleaseProfileResource -func (a *ReleaseProfileAPIService) GetReleaseProfileByIdExecute(r ApiGetReleaseProfileByIdRequest) (*ReleaseProfileResource, *http.Response, error) { +func (a *ReleaseProfileApiService) GetReleaseProfileByIdExecute(r ApiGetReleaseProfileByIdRequest) (*ReleaseProfileResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -306,7 +306,7 @@ func (a *ReleaseProfileAPIService) GetReleaseProfileByIdExecute(r ApiGetReleaseP localVarReturnValue *ReleaseProfileResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ReleaseProfileAPIService.GetReleaseProfileById") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ReleaseProfileApiService.GetReleaseProfileById") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -401,7 +401,7 @@ func (a *ReleaseProfileAPIService) GetReleaseProfileByIdExecute(r ApiGetReleaseP } type ApiListReleaseProfileRequest struct { ctx context.Context - ApiService *ReleaseProfileAPIService + ApiService *ReleaseProfileApiService } func (r ApiListReleaseProfileRequest) Execute() ([]*ReleaseProfileResource, *http.Response, error) { @@ -414,7 +414,7 @@ ListReleaseProfile Method for ListReleaseProfile @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListReleaseProfileRequest */ -func (a *ReleaseProfileAPIService) ListReleaseProfile(ctx context.Context) ApiListReleaseProfileRequest { +func (a *ReleaseProfileApiService) ListReleaseProfile(ctx context.Context) ApiListReleaseProfileRequest { return ApiListReleaseProfileRequest{ ApiService: a, ctx: ctx, @@ -423,7 +423,7 @@ func (a *ReleaseProfileAPIService) ListReleaseProfile(ctx context.Context) ApiLi // Execute executes the request // @return []ReleaseProfileResource -func (a *ReleaseProfileAPIService) ListReleaseProfileExecute(r ApiListReleaseProfileRequest) ([]*ReleaseProfileResource, *http.Response, error) { +func (a *ReleaseProfileApiService) ListReleaseProfileExecute(r ApiListReleaseProfileRequest) ([]*ReleaseProfileResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -431,7 +431,7 @@ func (a *ReleaseProfileAPIService) ListReleaseProfileExecute(r ApiListReleasePro localVarReturnValue []*ReleaseProfileResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ReleaseProfileAPIService.ListReleaseProfile") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ReleaseProfileApiService.ListReleaseProfile") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -525,7 +525,7 @@ func (a *ReleaseProfileAPIService) ListReleaseProfileExecute(r ApiListReleasePro } type ApiUpdateReleaseProfileRequest struct { ctx context.Context - ApiService *ReleaseProfileAPIService + ApiService *ReleaseProfileApiService id string releaseProfileResource *ReleaseProfileResource } @@ -546,7 +546,7 @@ UpdateReleaseProfile Method for UpdateReleaseProfile @param id @return ApiUpdateReleaseProfileRequest */ -func (a *ReleaseProfileAPIService) UpdateReleaseProfile(ctx context.Context, id string) ApiUpdateReleaseProfileRequest { +func (a *ReleaseProfileApiService) UpdateReleaseProfile(ctx context.Context, id string) ApiUpdateReleaseProfileRequest { return ApiUpdateReleaseProfileRequest{ ApiService: a, ctx: ctx, @@ -556,7 +556,7 @@ func (a *ReleaseProfileAPIService) UpdateReleaseProfile(ctx context.Context, id // Execute executes the request // @return ReleaseProfileResource -func (a *ReleaseProfileAPIService) UpdateReleaseProfileExecute(r ApiUpdateReleaseProfileRequest) (*ReleaseProfileResource, *http.Response, error) { +func (a *ReleaseProfileApiService) UpdateReleaseProfileExecute(r ApiUpdateReleaseProfileRequest) (*ReleaseProfileResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} @@ -564,7 +564,7 @@ func (a *ReleaseProfileAPIService) UpdateReleaseProfileExecute(r ApiUpdateReleas localVarReturnValue *ReleaseProfileResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ReleaseProfileAPIService.UpdateReleaseProfile") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ReleaseProfileApiService.UpdateReleaseProfile") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } diff --git a/sonarr/api_release_push.go b/sonarr/api_release_push.go index a223d10..ae2981a 100644 --- a/sonarr/api_release_push.go +++ b/sonarr/api_release_push.go @@ -20,11 +20,11 @@ import ( ) -// ReleasePushAPIService ReleasePushAPI service -type ReleasePushAPIService service +// ReleasePushApiService ReleasePushApi service +type ReleasePushApiService service type ApiCreateReleasePushRequest struct { ctx context.Context - ApiService *ReleasePushAPIService + ApiService *ReleasePushApiService releaseResource *ReleaseResource } @@ -43,7 +43,7 @@ CreateReleasePush Method for CreateReleasePush @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateReleasePushRequest */ -func (a *ReleasePushAPIService) CreateReleasePush(ctx context.Context) ApiCreateReleasePushRequest { +func (a *ReleasePushApiService) CreateReleasePush(ctx context.Context) ApiCreateReleasePushRequest { return ApiCreateReleasePushRequest{ ApiService: a, ctx: ctx, @@ -52,7 +52,7 @@ func (a *ReleasePushAPIService) CreateReleasePush(ctx context.Context) ApiCreate // Execute executes the request // @return []ReleaseResource -func (a *ReleasePushAPIService) CreateReleasePushExecute(r ApiCreateReleasePushRequest) ([]*ReleaseResource, *http.Response, error) { +func (a *ReleasePushApiService) CreateReleasePushExecute(r ApiCreateReleasePushRequest) ([]*ReleaseResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -60,7 +60,7 @@ func (a *ReleasePushAPIService) CreateReleasePushExecute(r ApiCreateReleasePushR localVarReturnValue []*ReleaseResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ReleasePushAPIService.CreateReleasePush") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ReleasePushApiService.CreateReleasePush") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -156,7 +156,7 @@ func (a *ReleasePushAPIService) CreateReleasePushExecute(r ApiCreateReleasePushR } type ApiGetReleasePushByIdRequest struct { ctx context.Context - ApiService *ReleasePushAPIService + ApiService *ReleasePushApiService id int32 } @@ -171,7 +171,7 @@ GetReleasePushById Method for GetReleasePushById @param id @return ApiGetReleasePushByIdRequest */ -func (a *ReleasePushAPIService) GetReleasePushById(ctx context.Context, id int32) ApiGetReleasePushByIdRequest { +func (a *ReleasePushApiService) GetReleasePushById(ctx context.Context, id int32) ApiGetReleasePushByIdRequest { return ApiGetReleasePushByIdRequest{ ApiService: a, ctx: ctx, @@ -181,7 +181,7 @@ func (a *ReleasePushAPIService) GetReleasePushById(ctx context.Context, id int32 // Execute executes the request // @return ReleaseResource -func (a *ReleasePushAPIService) GetReleasePushByIdExecute(r ApiGetReleasePushByIdRequest) (*ReleaseResource, *http.Response, error) { +func (a *ReleasePushApiService) GetReleasePushByIdExecute(r ApiGetReleasePushByIdRequest) (*ReleaseResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -189,7 +189,7 @@ func (a *ReleasePushAPIService) GetReleasePushByIdExecute(r ApiGetReleasePushByI localVarReturnValue *ReleaseResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ReleasePushAPIService.GetReleasePushById") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ReleasePushApiService.GetReleasePushById") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } diff --git a/sonarr/api_remote_path_mapping.go b/sonarr/api_remote_path_mapping.go index 39f60a2..583b3b8 100644 --- a/sonarr/api_remote_path_mapping.go +++ b/sonarr/api_remote_path_mapping.go @@ -20,11 +20,11 @@ import ( ) -// RemotePathMappingAPIService RemotePathMappingAPI service -type RemotePathMappingAPIService service +// RemotePathMappingApiService RemotePathMappingApi service +type RemotePathMappingApiService service type ApiCreateRemotePathMappingRequest struct { ctx context.Context - ApiService *RemotePathMappingAPIService + ApiService *RemotePathMappingApiService remotePathMappingResource *RemotePathMappingResource } @@ -43,7 +43,7 @@ CreateRemotePathMapping Method for CreateRemotePathMapping @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateRemotePathMappingRequest */ -func (a *RemotePathMappingAPIService) CreateRemotePathMapping(ctx context.Context) ApiCreateRemotePathMappingRequest { +func (a *RemotePathMappingApiService) CreateRemotePathMapping(ctx context.Context) ApiCreateRemotePathMappingRequest { return ApiCreateRemotePathMappingRequest{ ApiService: a, ctx: ctx, @@ -52,7 +52,7 @@ func (a *RemotePathMappingAPIService) CreateRemotePathMapping(ctx context.Contex // Execute executes the request // @return RemotePathMappingResource -func (a *RemotePathMappingAPIService) CreateRemotePathMappingExecute(r ApiCreateRemotePathMappingRequest) (*RemotePathMappingResource, *http.Response, error) { +func (a *RemotePathMappingApiService) CreateRemotePathMappingExecute(r ApiCreateRemotePathMappingRequest) (*RemotePathMappingResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -60,7 +60,7 @@ func (a *RemotePathMappingAPIService) CreateRemotePathMappingExecute(r ApiCreate localVarReturnValue *RemotePathMappingResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RemotePathMappingAPIService.CreateRemotePathMapping") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RemotePathMappingApiService.CreateRemotePathMapping") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -156,7 +156,7 @@ func (a *RemotePathMappingAPIService) CreateRemotePathMappingExecute(r ApiCreate } type ApiDeleteRemotePathMappingRequest struct { ctx context.Context - ApiService *RemotePathMappingAPIService + ApiService *RemotePathMappingApiService id int32 } @@ -171,7 +171,7 @@ DeleteRemotePathMapping Method for DeleteRemotePathMapping @param id @return ApiDeleteRemotePathMappingRequest */ -func (a *RemotePathMappingAPIService) DeleteRemotePathMapping(ctx context.Context, id int32) ApiDeleteRemotePathMappingRequest { +func (a *RemotePathMappingApiService) DeleteRemotePathMapping(ctx context.Context, id int32) ApiDeleteRemotePathMappingRequest { return ApiDeleteRemotePathMappingRequest{ ApiService: a, ctx: ctx, @@ -180,14 +180,14 @@ func (a *RemotePathMappingAPIService) DeleteRemotePathMapping(ctx context.Contex } // Execute executes the request -func (a *RemotePathMappingAPIService) DeleteRemotePathMappingExecute(r ApiDeleteRemotePathMappingRequest) (*http.Response, error) { +func (a *RemotePathMappingApiService) DeleteRemotePathMappingExecute(r ApiDeleteRemotePathMappingRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RemotePathMappingAPIService.DeleteRemotePathMapping") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RemotePathMappingApiService.DeleteRemotePathMapping") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -273,7 +273,7 @@ func (a *RemotePathMappingAPIService) DeleteRemotePathMappingExecute(r ApiDelete } type ApiGetRemotePathMappingByIdRequest struct { ctx context.Context - ApiService *RemotePathMappingAPIService + ApiService *RemotePathMappingApiService id int32 } @@ -288,7 +288,7 @@ GetRemotePathMappingById Method for GetRemotePathMappingById @param id @return ApiGetRemotePathMappingByIdRequest */ -func (a *RemotePathMappingAPIService) GetRemotePathMappingById(ctx context.Context, id int32) ApiGetRemotePathMappingByIdRequest { +func (a *RemotePathMappingApiService) GetRemotePathMappingById(ctx context.Context, id int32) ApiGetRemotePathMappingByIdRequest { return ApiGetRemotePathMappingByIdRequest{ ApiService: a, ctx: ctx, @@ -298,7 +298,7 @@ func (a *RemotePathMappingAPIService) GetRemotePathMappingById(ctx context.Conte // Execute executes the request // @return RemotePathMappingResource -func (a *RemotePathMappingAPIService) GetRemotePathMappingByIdExecute(r ApiGetRemotePathMappingByIdRequest) (*RemotePathMappingResource, *http.Response, error) { +func (a *RemotePathMappingApiService) GetRemotePathMappingByIdExecute(r ApiGetRemotePathMappingByIdRequest) (*RemotePathMappingResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -306,7 +306,7 @@ func (a *RemotePathMappingAPIService) GetRemotePathMappingByIdExecute(r ApiGetRe localVarReturnValue *RemotePathMappingResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RemotePathMappingAPIService.GetRemotePathMappingById") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RemotePathMappingApiService.GetRemotePathMappingById") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -401,7 +401,7 @@ func (a *RemotePathMappingAPIService) GetRemotePathMappingByIdExecute(r ApiGetRe } type ApiListRemotePathMappingRequest struct { ctx context.Context - ApiService *RemotePathMappingAPIService + ApiService *RemotePathMappingApiService } func (r ApiListRemotePathMappingRequest) Execute() ([]*RemotePathMappingResource, *http.Response, error) { @@ -414,7 +414,7 @@ ListRemotePathMapping Method for ListRemotePathMapping @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListRemotePathMappingRequest */ -func (a *RemotePathMappingAPIService) ListRemotePathMapping(ctx context.Context) ApiListRemotePathMappingRequest { +func (a *RemotePathMappingApiService) ListRemotePathMapping(ctx context.Context) ApiListRemotePathMappingRequest { return ApiListRemotePathMappingRequest{ ApiService: a, ctx: ctx, @@ -423,7 +423,7 @@ func (a *RemotePathMappingAPIService) ListRemotePathMapping(ctx context.Context) // Execute executes the request // @return []RemotePathMappingResource -func (a *RemotePathMappingAPIService) ListRemotePathMappingExecute(r ApiListRemotePathMappingRequest) ([]*RemotePathMappingResource, *http.Response, error) { +func (a *RemotePathMappingApiService) ListRemotePathMappingExecute(r ApiListRemotePathMappingRequest) ([]*RemotePathMappingResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -431,7 +431,7 @@ func (a *RemotePathMappingAPIService) ListRemotePathMappingExecute(r ApiListRemo localVarReturnValue []*RemotePathMappingResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RemotePathMappingAPIService.ListRemotePathMapping") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RemotePathMappingApiService.ListRemotePathMapping") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -525,7 +525,7 @@ func (a *RemotePathMappingAPIService) ListRemotePathMappingExecute(r ApiListRemo } type ApiUpdateRemotePathMappingRequest struct { ctx context.Context - ApiService *RemotePathMappingAPIService + ApiService *RemotePathMappingApiService id string remotePathMappingResource *RemotePathMappingResource } @@ -546,7 +546,7 @@ UpdateRemotePathMapping Method for UpdateRemotePathMapping @param id @return ApiUpdateRemotePathMappingRequest */ -func (a *RemotePathMappingAPIService) UpdateRemotePathMapping(ctx context.Context, id string) ApiUpdateRemotePathMappingRequest { +func (a *RemotePathMappingApiService) UpdateRemotePathMapping(ctx context.Context, id string) ApiUpdateRemotePathMappingRequest { return ApiUpdateRemotePathMappingRequest{ ApiService: a, ctx: ctx, @@ -556,7 +556,7 @@ func (a *RemotePathMappingAPIService) UpdateRemotePathMapping(ctx context.Contex // Execute executes the request // @return RemotePathMappingResource -func (a *RemotePathMappingAPIService) UpdateRemotePathMappingExecute(r ApiUpdateRemotePathMappingRequest) (*RemotePathMappingResource, *http.Response, error) { +func (a *RemotePathMappingApiService) UpdateRemotePathMappingExecute(r ApiUpdateRemotePathMappingRequest) (*RemotePathMappingResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} @@ -564,7 +564,7 @@ func (a *RemotePathMappingAPIService) UpdateRemotePathMappingExecute(r ApiUpdate localVarReturnValue *RemotePathMappingResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RemotePathMappingAPIService.UpdateRemotePathMapping") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RemotePathMappingApiService.UpdateRemotePathMapping") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } diff --git a/sonarr/api_rename_episode.go b/sonarr/api_rename_episode.go index 20256e9..250f7ee 100644 --- a/sonarr/api_rename_episode.go +++ b/sonarr/api_rename_episode.go @@ -19,11 +19,11 @@ import ( ) -// RenameEpisodeAPIService RenameEpisodeAPI service -type RenameEpisodeAPIService service +// RenameEpisodeApiService RenameEpisodeApi service +type RenameEpisodeApiService service type ApiListRenameRequest struct { ctx context.Context - ApiService *RenameEpisodeAPIService + ApiService *RenameEpisodeApiService seriesId *int32 seasonNumber *int32 } @@ -48,7 +48,7 @@ ListRename Method for ListRename @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListRenameRequest */ -func (a *RenameEpisodeAPIService) ListRename(ctx context.Context) ApiListRenameRequest { +func (a *RenameEpisodeApiService) ListRename(ctx context.Context) ApiListRenameRequest { return ApiListRenameRequest{ ApiService: a, ctx: ctx, @@ -57,7 +57,7 @@ func (a *RenameEpisodeAPIService) ListRename(ctx context.Context) ApiListRenameR // Execute executes the request // @return []RenameEpisodeResource -func (a *RenameEpisodeAPIService) ListRenameExecute(r ApiListRenameRequest) ([]*RenameEpisodeResource, *http.Response, error) { +func (a *RenameEpisodeApiService) ListRenameExecute(r ApiListRenameRequest) ([]*RenameEpisodeResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -65,7 +65,7 @@ func (a *RenameEpisodeAPIService) ListRenameExecute(r ApiListRenameRequest) ([]* localVarReturnValue []*RenameEpisodeResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RenameEpisodeAPIService.ListRename") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RenameEpisodeApiService.ListRename") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } diff --git a/sonarr/api_root_folder.go b/sonarr/api_root_folder.go index bc0a5e0..8314845 100644 --- a/sonarr/api_root_folder.go +++ b/sonarr/api_root_folder.go @@ -20,11 +20,11 @@ import ( ) -// RootFolderAPIService RootFolderAPI service -type RootFolderAPIService service +// RootFolderApiService RootFolderApi service +type RootFolderApiService service type ApiCreateRootFolderRequest struct { ctx context.Context - ApiService *RootFolderAPIService + ApiService *RootFolderApiService rootFolderResource *RootFolderResource } @@ -43,7 +43,7 @@ CreateRootFolder Method for CreateRootFolder @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateRootFolderRequest */ -func (a *RootFolderAPIService) CreateRootFolder(ctx context.Context) ApiCreateRootFolderRequest { +func (a *RootFolderApiService) CreateRootFolder(ctx context.Context) ApiCreateRootFolderRequest { return ApiCreateRootFolderRequest{ ApiService: a, ctx: ctx, @@ -52,7 +52,7 @@ func (a *RootFolderAPIService) CreateRootFolder(ctx context.Context) ApiCreateRo // Execute executes the request // @return RootFolderResource -func (a *RootFolderAPIService) CreateRootFolderExecute(r ApiCreateRootFolderRequest) (*RootFolderResource, *http.Response, error) { +func (a *RootFolderApiService) CreateRootFolderExecute(r ApiCreateRootFolderRequest) (*RootFolderResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -60,7 +60,7 @@ func (a *RootFolderAPIService) CreateRootFolderExecute(r ApiCreateRootFolderRequ localVarReturnValue *RootFolderResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RootFolderAPIService.CreateRootFolder") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RootFolderApiService.CreateRootFolder") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -156,7 +156,7 @@ func (a *RootFolderAPIService) CreateRootFolderExecute(r ApiCreateRootFolderRequ } type ApiDeleteRootFolderRequest struct { ctx context.Context - ApiService *RootFolderAPIService + ApiService *RootFolderApiService id int32 } @@ -171,7 +171,7 @@ DeleteRootFolder Method for DeleteRootFolder @param id @return ApiDeleteRootFolderRequest */ -func (a *RootFolderAPIService) DeleteRootFolder(ctx context.Context, id int32) ApiDeleteRootFolderRequest { +func (a *RootFolderApiService) DeleteRootFolder(ctx context.Context, id int32) ApiDeleteRootFolderRequest { return ApiDeleteRootFolderRequest{ ApiService: a, ctx: ctx, @@ -180,14 +180,14 @@ func (a *RootFolderAPIService) DeleteRootFolder(ctx context.Context, id int32) A } // Execute executes the request -func (a *RootFolderAPIService) DeleteRootFolderExecute(r ApiDeleteRootFolderRequest) (*http.Response, error) { +func (a *RootFolderApiService) DeleteRootFolderExecute(r ApiDeleteRootFolderRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RootFolderAPIService.DeleteRootFolder") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RootFolderApiService.DeleteRootFolder") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -273,7 +273,7 @@ func (a *RootFolderAPIService) DeleteRootFolderExecute(r ApiDeleteRootFolderRequ } type ApiGetRootFolderByIdRequest struct { ctx context.Context - ApiService *RootFolderAPIService + ApiService *RootFolderApiService id int32 } @@ -288,7 +288,7 @@ GetRootFolderById Method for GetRootFolderById @param id @return ApiGetRootFolderByIdRequest */ -func (a *RootFolderAPIService) GetRootFolderById(ctx context.Context, id int32) ApiGetRootFolderByIdRequest { +func (a *RootFolderApiService) GetRootFolderById(ctx context.Context, id int32) ApiGetRootFolderByIdRequest { return ApiGetRootFolderByIdRequest{ ApiService: a, ctx: ctx, @@ -298,7 +298,7 @@ func (a *RootFolderAPIService) GetRootFolderById(ctx context.Context, id int32) // Execute executes the request // @return RootFolderResource -func (a *RootFolderAPIService) GetRootFolderByIdExecute(r ApiGetRootFolderByIdRequest) (*RootFolderResource, *http.Response, error) { +func (a *RootFolderApiService) GetRootFolderByIdExecute(r ApiGetRootFolderByIdRequest) (*RootFolderResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -306,7 +306,7 @@ func (a *RootFolderAPIService) GetRootFolderByIdExecute(r ApiGetRootFolderByIdRe localVarReturnValue *RootFolderResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RootFolderAPIService.GetRootFolderById") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RootFolderApiService.GetRootFolderById") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -401,7 +401,7 @@ func (a *RootFolderAPIService) GetRootFolderByIdExecute(r ApiGetRootFolderByIdRe } type ApiListRootFolderRequest struct { ctx context.Context - ApiService *RootFolderAPIService + ApiService *RootFolderApiService } func (r ApiListRootFolderRequest) Execute() ([]*RootFolderResource, *http.Response, error) { @@ -414,7 +414,7 @@ ListRootFolder Method for ListRootFolder @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListRootFolderRequest */ -func (a *RootFolderAPIService) ListRootFolder(ctx context.Context) ApiListRootFolderRequest { +func (a *RootFolderApiService) ListRootFolder(ctx context.Context) ApiListRootFolderRequest { return ApiListRootFolderRequest{ ApiService: a, ctx: ctx, @@ -423,7 +423,7 @@ func (a *RootFolderAPIService) ListRootFolder(ctx context.Context) ApiListRootFo // Execute executes the request // @return []RootFolderResource -func (a *RootFolderAPIService) ListRootFolderExecute(r ApiListRootFolderRequest) ([]*RootFolderResource, *http.Response, error) { +func (a *RootFolderApiService) ListRootFolderExecute(r ApiListRootFolderRequest) ([]*RootFolderResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -431,7 +431,7 @@ func (a *RootFolderAPIService) ListRootFolderExecute(r ApiListRootFolderRequest) localVarReturnValue []*RootFolderResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RootFolderAPIService.ListRootFolder") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RootFolderApiService.ListRootFolder") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } diff --git a/sonarr/api_season_pass.go b/sonarr/api_season_pass.go index 15bb38f..b14a6de 100644 --- a/sonarr/api_season_pass.go +++ b/sonarr/api_season_pass.go @@ -19,11 +19,11 @@ import ( ) -// SeasonPassAPIService SeasonPassAPI service -type SeasonPassAPIService service +// SeasonPassApiService SeasonPassApi service +type SeasonPassApiService service type ApiCreateSeasonPassRequest struct { ctx context.Context - ApiService *SeasonPassAPIService + ApiService *SeasonPassApiService seasonPassResource *SeasonPassResource } @@ -42,7 +42,7 @@ CreateSeasonPass Method for CreateSeasonPass @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateSeasonPassRequest */ -func (a *SeasonPassAPIService) CreateSeasonPass(ctx context.Context) ApiCreateSeasonPassRequest { +func (a *SeasonPassApiService) CreateSeasonPass(ctx context.Context) ApiCreateSeasonPassRequest { return ApiCreateSeasonPassRequest{ ApiService: a, ctx: ctx, @@ -50,14 +50,14 @@ func (a *SeasonPassAPIService) CreateSeasonPass(ctx context.Context) ApiCreateSe } // Execute executes the request -func (a *SeasonPassAPIService) CreateSeasonPassExecute(r ApiCreateSeasonPassRequest) (*http.Response, error) { +func (a *SeasonPassApiService) CreateSeasonPassExecute(r ApiCreateSeasonPassRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "SeasonPassAPIService.CreateSeasonPass") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "SeasonPassApiService.CreateSeasonPass") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } diff --git a/sonarr/api_series.go b/sonarr/api_series.go index bf0929e..48c6f0b 100644 --- a/sonarr/api_series.go +++ b/sonarr/api_series.go @@ -20,11 +20,11 @@ import ( ) -// SeriesAPIService SeriesAPI service -type SeriesAPIService service +// SeriesApiService SeriesApi service +type SeriesApiService service type ApiCreateSeriesRequest struct { ctx context.Context - ApiService *SeriesAPIService + ApiService *SeriesApiService seriesResource *SeriesResource } @@ -43,7 +43,7 @@ CreateSeries Method for CreateSeries @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateSeriesRequest */ -func (a *SeriesAPIService) CreateSeries(ctx context.Context) ApiCreateSeriesRequest { +func (a *SeriesApiService) CreateSeries(ctx context.Context) ApiCreateSeriesRequest { return ApiCreateSeriesRequest{ ApiService: a, ctx: ctx, @@ -52,7 +52,7 @@ func (a *SeriesAPIService) CreateSeries(ctx context.Context) ApiCreateSeriesRequ // Execute executes the request // @return SeriesResource -func (a *SeriesAPIService) CreateSeriesExecute(r ApiCreateSeriesRequest) (*SeriesResource, *http.Response, error) { +func (a *SeriesApiService) CreateSeriesExecute(r ApiCreateSeriesRequest) (*SeriesResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -60,7 +60,7 @@ func (a *SeriesAPIService) CreateSeriesExecute(r ApiCreateSeriesRequest) (*Serie localVarReturnValue *SeriesResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "SeriesAPIService.CreateSeries") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "SeriesApiService.CreateSeries") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -156,20 +156,8 @@ func (a *SeriesAPIService) CreateSeriesExecute(r ApiCreateSeriesRequest) (*Serie } type ApiDeleteSeriesRequest struct { ctx context.Context - ApiService *SeriesAPIService + ApiService *SeriesApiService id int32 - deleteFiles *bool - addImportListExclusion *bool -} - -func (r ApiDeleteSeriesRequest) DeleteFiles(deleteFiles bool) ApiDeleteSeriesRequest { - r.deleteFiles = &deleteFiles - return r -} - -func (r ApiDeleteSeriesRequest) AddImportListExclusion(addImportListExclusion bool) ApiDeleteSeriesRequest { - r.addImportListExclusion = &addImportListExclusion - return r } func (r ApiDeleteSeriesRequest) Execute() (*http.Response, error) { @@ -183,7 +171,7 @@ DeleteSeries Method for DeleteSeries @param id @return ApiDeleteSeriesRequest */ -func (a *SeriesAPIService) DeleteSeries(ctx context.Context, id int32) ApiDeleteSeriesRequest { +func (a *SeriesApiService) DeleteSeries(ctx context.Context, id int32) ApiDeleteSeriesRequest { return ApiDeleteSeriesRequest{ ApiService: a, ctx: ctx, @@ -192,14 +180,14 @@ func (a *SeriesAPIService) DeleteSeries(ctx context.Context, id int32) ApiDelete } // Execute executes the request -func (a *SeriesAPIService) DeleteSeriesExecute(r ApiDeleteSeriesRequest) (*http.Response, error) { +func (a *SeriesApiService) DeleteSeriesExecute(r ApiDeleteSeriesRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "SeriesAPIService.DeleteSeries") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "SeriesApiService.DeleteSeries") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -211,12 +199,6 @@ func (a *SeriesAPIService) DeleteSeriesExecute(r ApiDeleteSeriesRequest) (*http. localVarQueryParams := url.Values{} localVarFormParams := url.Values{} - if r.deleteFiles != nil { - localVarQueryParams.Add("deleteFiles", parameterToString(*r.deleteFiles, "")) - } - if r.addImportListExclusion != nil { - localVarQueryParams.Add("addImportListExclusion", parameterToString(*r.addImportListExclusion, "")) - } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -291,7 +273,7 @@ func (a *SeriesAPIService) DeleteSeriesExecute(r ApiDeleteSeriesRequest) (*http. } type ApiGetSeriesByIdRequest struct { ctx context.Context - ApiService *SeriesAPIService + ApiService *SeriesApiService id int32 } @@ -306,7 +288,7 @@ GetSeriesById Method for GetSeriesById @param id @return ApiGetSeriesByIdRequest */ -func (a *SeriesAPIService) GetSeriesById(ctx context.Context, id int32) ApiGetSeriesByIdRequest { +func (a *SeriesApiService) GetSeriesById(ctx context.Context, id int32) ApiGetSeriesByIdRequest { return ApiGetSeriesByIdRequest{ ApiService: a, ctx: ctx, @@ -316,7 +298,7 @@ func (a *SeriesAPIService) GetSeriesById(ctx context.Context, id int32) ApiGetSe // Execute executes the request // @return SeriesResource -func (a *SeriesAPIService) GetSeriesByIdExecute(r ApiGetSeriesByIdRequest) (*SeriesResource, *http.Response, error) { +func (a *SeriesApiService) GetSeriesByIdExecute(r ApiGetSeriesByIdRequest) (*SeriesResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -324,7 +306,7 @@ func (a *SeriesAPIService) GetSeriesByIdExecute(r ApiGetSeriesByIdRequest) (*Ser localVarReturnValue *SeriesResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "SeriesAPIService.GetSeriesById") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "SeriesApiService.GetSeriesById") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -419,7 +401,7 @@ func (a *SeriesAPIService) GetSeriesByIdExecute(r ApiGetSeriesByIdRequest) (*Ser } type ApiListSeriesRequest struct { ctx context.Context - ApiService *SeriesAPIService + ApiService *SeriesApiService tvdbId *int32 includeSeasonImages *bool } @@ -444,7 +426,7 @@ ListSeries Method for ListSeries @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListSeriesRequest */ -func (a *SeriesAPIService) ListSeries(ctx context.Context) ApiListSeriesRequest { +func (a *SeriesApiService) ListSeries(ctx context.Context) ApiListSeriesRequest { return ApiListSeriesRequest{ ApiService: a, ctx: ctx, @@ -453,7 +435,7 @@ func (a *SeriesAPIService) ListSeries(ctx context.Context) ApiListSeriesRequest // Execute executes the request // @return []SeriesResource -func (a *SeriesAPIService) ListSeriesExecute(r ApiListSeriesRequest) ([]*SeriesResource, *http.Response, error) { +func (a *SeriesApiService) ListSeriesExecute(r ApiListSeriesRequest) ([]*SeriesResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -461,7 +443,7 @@ func (a *SeriesAPIService) ListSeriesExecute(r ApiListSeriesRequest) ([]*SeriesR localVarReturnValue []*SeriesResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "SeriesAPIService.ListSeries") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "SeriesApiService.ListSeries") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -561,17 +543,11 @@ func (a *SeriesAPIService) ListSeriesExecute(r ApiListSeriesRequest) ([]*SeriesR } type ApiUpdateSeriesRequest struct { ctx context.Context - ApiService *SeriesAPIService + ApiService *SeriesApiService id string - moveFiles *bool seriesResource *SeriesResource } -func (r ApiUpdateSeriesRequest) MoveFiles(moveFiles bool) ApiUpdateSeriesRequest { - r.moveFiles = &moveFiles - return r -} - func (r ApiUpdateSeriesRequest) SeriesResource(seriesResource SeriesResource) ApiUpdateSeriesRequest { r.seriesResource = &seriesResource return r @@ -588,7 +564,7 @@ UpdateSeries Method for UpdateSeries @param id @return ApiUpdateSeriesRequest */ -func (a *SeriesAPIService) UpdateSeries(ctx context.Context, id string) ApiUpdateSeriesRequest { +func (a *SeriesApiService) UpdateSeries(ctx context.Context, id string) ApiUpdateSeriesRequest { return ApiUpdateSeriesRequest{ ApiService: a, ctx: ctx, @@ -598,7 +574,7 @@ func (a *SeriesAPIService) UpdateSeries(ctx context.Context, id string) ApiUpdat // Execute executes the request // @return SeriesResource -func (a *SeriesAPIService) UpdateSeriesExecute(r ApiUpdateSeriesRequest) (*SeriesResource, *http.Response, error) { +func (a *SeriesApiService) UpdateSeriesExecute(r ApiUpdateSeriesRequest) (*SeriesResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} @@ -606,7 +582,7 @@ func (a *SeriesAPIService) UpdateSeriesExecute(r ApiUpdateSeriesRequest) (*Serie localVarReturnValue *SeriesResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "SeriesAPIService.UpdateSeries") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "SeriesApiService.UpdateSeries") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -618,9 +594,6 @@ func (a *SeriesAPIService) UpdateSeriesExecute(r ApiUpdateSeriesRequest) (*Serie localVarQueryParams := url.Values{} localVarFormParams := url.Values{} - if r.moveFiles != nil { - localVarQueryParams.Add("moveFiles", parameterToString(*r.moveFiles, "")) - } // to determine the Content-Type header localVarHTTPContentTypes := []string{"application/json"} diff --git a/sonarr/api_series_editor.go b/sonarr/api_series_editor.go index f2eb52a..6c66841 100644 --- a/sonarr/api_series_editor.go +++ b/sonarr/api_series_editor.go @@ -19,11 +19,11 @@ import ( ) -// SeriesEditorAPIService SeriesEditorAPI service -type SeriesEditorAPIService service +// SeriesEditorApiService SeriesEditorApi service +type SeriesEditorApiService service type ApiDeleteSeriesEditorRequest struct { ctx context.Context - ApiService *SeriesEditorAPIService + ApiService *SeriesEditorApiService seriesEditorResource *SeriesEditorResource } @@ -42,7 +42,7 @@ DeleteSeriesEditor Method for DeleteSeriesEditor @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiDeleteSeriesEditorRequest */ -func (a *SeriesEditorAPIService) DeleteSeriesEditor(ctx context.Context) ApiDeleteSeriesEditorRequest { +func (a *SeriesEditorApiService) DeleteSeriesEditor(ctx context.Context) ApiDeleteSeriesEditorRequest { return ApiDeleteSeriesEditorRequest{ ApiService: a, ctx: ctx, @@ -50,14 +50,14 @@ func (a *SeriesEditorAPIService) DeleteSeriesEditor(ctx context.Context) ApiDele } // Execute executes the request -func (a *SeriesEditorAPIService) DeleteSeriesEditorExecute(r ApiDeleteSeriesEditorRequest) (*http.Response, error) { +func (a *SeriesEditorApiService) DeleteSeriesEditorExecute(r ApiDeleteSeriesEditorRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "SeriesEditorAPIService.DeleteSeriesEditor") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "SeriesEditorApiService.DeleteSeriesEditor") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -144,7 +144,7 @@ func (a *SeriesEditorAPIService) DeleteSeriesEditorExecute(r ApiDeleteSeriesEdit } type ApiPutSeriesEditorRequest struct { ctx context.Context - ApiService *SeriesEditorAPIService + ApiService *SeriesEditorApiService seriesEditorResource *SeriesEditorResource } @@ -163,7 +163,7 @@ PutSeriesEditor Method for PutSeriesEditor @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiPutSeriesEditorRequest */ -func (a *SeriesEditorAPIService) PutSeriesEditor(ctx context.Context) ApiPutSeriesEditorRequest { +func (a *SeriesEditorApiService) PutSeriesEditor(ctx context.Context) ApiPutSeriesEditorRequest { return ApiPutSeriesEditorRequest{ ApiService: a, ctx: ctx, @@ -171,14 +171,14 @@ func (a *SeriesEditorAPIService) PutSeriesEditor(ctx context.Context) ApiPutSeri } // Execute executes the request -func (a *SeriesEditorAPIService) PutSeriesEditorExecute(r ApiPutSeriesEditorRequest) (*http.Response, error) { +func (a *SeriesEditorApiService) PutSeriesEditorExecute(r ApiPutSeriesEditorRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "SeriesEditorAPIService.PutSeriesEditor") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "SeriesEditorApiService.PutSeriesEditor") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } diff --git a/sonarr/api_series_import.go b/sonarr/api_series_import.go index 05806ec..556d3f2 100644 --- a/sonarr/api_series_import.go +++ b/sonarr/api_series_import.go @@ -19,11 +19,11 @@ import ( ) -// SeriesImportAPIService SeriesImportAPI service -type SeriesImportAPIService service +// SeriesImportApiService SeriesImportApi service +type SeriesImportApiService service type ApiCreateSeriesImportRequest struct { ctx context.Context - ApiService *SeriesImportAPIService + ApiService *SeriesImportApiService seriesResource *[]SeriesResource } @@ -42,7 +42,7 @@ CreateSeriesImport Method for CreateSeriesImport @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateSeriesImportRequest */ -func (a *SeriesImportAPIService) CreateSeriesImport(ctx context.Context) ApiCreateSeriesImportRequest { +func (a *SeriesImportApiService) CreateSeriesImport(ctx context.Context) ApiCreateSeriesImportRequest { return ApiCreateSeriesImportRequest{ ApiService: a, ctx: ctx, @@ -50,14 +50,14 @@ func (a *SeriesImportAPIService) CreateSeriesImport(ctx context.Context) ApiCrea } // Execute executes the request -func (a *SeriesImportAPIService) CreateSeriesImportExecute(r ApiCreateSeriesImportRequest) (*http.Response, error) { +func (a *SeriesImportApiService) CreateSeriesImportExecute(r ApiCreateSeriesImportRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "SeriesImportAPIService.CreateSeriesImport") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "SeriesImportApiService.CreateSeriesImport") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } diff --git a/sonarr/api_series_lookup.go b/sonarr/api_series_lookup.go index 50bd0f1..48dae9f 100644 --- a/sonarr/api_series_lookup.go +++ b/sonarr/api_series_lookup.go @@ -19,11 +19,11 @@ import ( ) -// SeriesLookupAPIService SeriesLookupAPI service -type SeriesLookupAPIService service +// SeriesLookupApiService SeriesLookupApi service +type SeriesLookupApiService service type ApiListSeriesLookupRequest struct { ctx context.Context - ApiService *SeriesLookupAPIService + ApiService *SeriesLookupApiService term *string } @@ -42,7 +42,7 @@ ListSeriesLookup Method for ListSeriesLookup @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListSeriesLookupRequest */ -func (a *SeriesLookupAPIService) ListSeriesLookup(ctx context.Context) ApiListSeriesLookupRequest { +func (a *SeriesLookupApiService) ListSeriesLookup(ctx context.Context) ApiListSeriesLookupRequest { return ApiListSeriesLookupRequest{ ApiService: a, ctx: ctx, @@ -51,7 +51,7 @@ func (a *SeriesLookupAPIService) ListSeriesLookup(ctx context.Context) ApiListSe // Execute executes the request // @return []SeriesResource -func (a *SeriesLookupAPIService) ListSeriesLookupExecute(r ApiListSeriesLookupRequest) ([]*SeriesResource, *http.Response, error) { +func (a *SeriesLookupApiService) ListSeriesLookupExecute(r ApiListSeriesLookupRequest) ([]*SeriesResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -59,7 +59,7 @@ func (a *SeriesLookupAPIService) ListSeriesLookupExecute(r ApiListSeriesLookupRe localVarReturnValue []*SeriesResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "SeriesLookupAPIService.ListSeriesLookup") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "SeriesLookupApiService.ListSeriesLookup") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } diff --git a/sonarr/api_static_resource.go b/sonarr/api_static_resource.go index 29c4617..c41fb03 100644 --- a/sonarr/api_static_resource.go +++ b/sonarr/api_static_resource.go @@ -20,11 +20,11 @@ import ( ) -// StaticResourceAPIService StaticResourceAPI service -type StaticResourceAPIService service +// StaticResourceApiService StaticResourceApi service +type StaticResourceApiService service type ApiGetRequest struct { ctx context.Context - ApiService *StaticResourceAPIService + ApiService *StaticResourceApiService path string } @@ -39,7 +39,7 @@ Get Method for Get @param path @return ApiGetRequest */ -func (a *StaticResourceAPIService) Get(ctx context.Context, path string) ApiGetRequest { +func (a *StaticResourceApiService) Get(ctx context.Context, path string) ApiGetRequest { return ApiGetRequest{ ApiService: a, ctx: ctx, @@ -48,14 +48,14 @@ func (a *StaticResourceAPIService) Get(ctx context.Context, path string) ApiGetR } // Execute executes the request -func (a *StaticResourceAPIService) GetExecute(r ApiGetRequest) (*http.Response, error) { +func (a *StaticResourceApiService) GetExecute(r ApiGetRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "StaticResourceAPIService.Get") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "StaticResourceApiService.Get") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -141,7 +141,7 @@ func (a *StaticResourceAPIService) GetExecute(r ApiGetRequest) (*http.Response, } type ApiGetByPathRequest struct { ctx context.Context - ApiService *StaticResourceAPIService + ApiService *StaticResourceApiService path string } @@ -156,7 +156,7 @@ GetByPath Method for GetByPath @param path @return ApiGetByPathRequest */ -func (a *StaticResourceAPIService) GetByPath(ctx context.Context, path string) ApiGetByPathRequest { +func (a *StaticResourceApiService) GetByPath(ctx context.Context, path string) ApiGetByPathRequest { return ApiGetByPathRequest{ ApiService: a, ctx: ctx, @@ -165,14 +165,14 @@ func (a *StaticResourceAPIService) GetByPath(ctx context.Context, path string) A } // Execute executes the request -func (a *StaticResourceAPIService) GetByPathExecute(r ApiGetByPathRequest) (*http.Response, error) { +func (a *StaticResourceApiService) GetByPathExecute(r ApiGetByPathRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "StaticResourceAPIService.GetByPath") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "StaticResourceApiService.GetByPath") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -258,7 +258,7 @@ func (a *StaticResourceAPIService) GetByPathExecute(r ApiGetByPathRequest) (*htt } type ApiGetContentByPathRequest struct { ctx context.Context - ApiService *StaticResourceAPIService + ApiService *StaticResourceApiService path string } @@ -273,7 +273,7 @@ GetContentByPath Method for GetContentByPath @param path @return ApiGetContentByPathRequest */ -func (a *StaticResourceAPIService) GetContentByPath(ctx context.Context, path string) ApiGetContentByPathRequest { +func (a *StaticResourceApiService) GetContentByPath(ctx context.Context, path string) ApiGetContentByPathRequest { return ApiGetContentByPathRequest{ ApiService: a, ctx: ctx, @@ -282,14 +282,14 @@ func (a *StaticResourceAPIService) GetContentByPath(ctx context.Context, path st } // Execute executes the request -func (a *StaticResourceAPIService) GetContentByPathExecute(r ApiGetContentByPathRequest) (*http.Response, error) { +func (a *StaticResourceApiService) GetContentByPathExecute(r ApiGetContentByPathRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "StaticResourceAPIService.GetContentByPath") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "StaticResourceApiService.GetContentByPath") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -375,7 +375,7 @@ func (a *StaticResourceAPIService) GetContentByPathExecute(r ApiGetContentByPath } type ApiGetLoginRequest struct { ctx context.Context - ApiService *StaticResourceAPIService + ApiService *StaticResourceApiService } func (r ApiGetLoginRequest) Execute() (*http.Response, error) { @@ -388,7 +388,7 @@ GetLogin Method for GetLogin @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetLoginRequest */ -func (a *StaticResourceAPIService) GetLogin(ctx context.Context) ApiGetLoginRequest { +func (a *StaticResourceApiService) GetLogin(ctx context.Context) ApiGetLoginRequest { return ApiGetLoginRequest{ ApiService: a, ctx: ctx, @@ -396,14 +396,14 @@ func (a *StaticResourceAPIService) GetLogin(ctx context.Context) ApiGetLoginRequ } // Execute executes the request -func (a *StaticResourceAPIService) GetLoginExecute(r ApiGetLoginRequest) (*http.Response, error) { +func (a *StaticResourceApiService) GetLoginExecute(r ApiGetLoginRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "StaticResourceAPIService.GetLogin") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "StaticResourceApiService.GetLogin") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } diff --git a/sonarr/api_system.go b/sonarr/api_system.go index 5d95107..7a1ebf7 100644 --- a/sonarr/api_system.go +++ b/sonarr/api_system.go @@ -19,11 +19,11 @@ import ( ) -// SystemAPIService SystemAPI service -type SystemAPIService service +// SystemApiService SystemApi service +type SystemApiService service type ApiCreateSystemRestartRequest struct { ctx context.Context - ApiService *SystemAPIService + ApiService *SystemApiService } func (r ApiCreateSystemRestartRequest) Execute() (*http.Response, error) { @@ -36,7 +36,7 @@ CreateSystemRestart Method for CreateSystemRestart @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateSystemRestartRequest */ -func (a *SystemAPIService) CreateSystemRestart(ctx context.Context) ApiCreateSystemRestartRequest { +func (a *SystemApiService) CreateSystemRestart(ctx context.Context) ApiCreateSystemRestartRequest { return ApiCreateSystemRestartRequest{ ApiService: a, ctx: ctx, @@ -44,14 +44,14 @@ func (a *SystemAPIService) CreateSystemRestart(ctx context.Context) ApiCreateSys } // Execute executes the request -func (a *SystemAPIService) CreateSystemRestartExecute(r ApiCreateSystemRestartRequest) (*http.Response, error) { +func (a *SystemApiService) CreateSystemRestartExecute(r ApiCreateSystemRestartRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "SystemAPIService.CreateSystemRestart") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "SystemApiService.CreateSystemRestart") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -136,7 +136,7 @@ func (a *SystemAPIService) CreateSystemRestartExecute(r ApiCreateSystemRestartRe } type ApiCreateSystemShutdownRequest struct { ctx context.Context - ApiService *SystemAPIService + ApiService *SystemApiService } func (r ApiCreateSystemShutdownRequest) Execute() (*http.Response, error) { @@ -149,7 +149,7 @@ CreateSystemShutdown Method for CreateSystemShutdown @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateSystemShutdownRequest */ -func (a *SystemAPIService) CreateSystemShutdown(ctx context.Context) ApiCreateSystemShutdownRequest { +func (a *SystemApiService) CreateSystemShutdown(ctx context.Context) ApiCreateSystemShutdownRequest { return ApiCreateSystemShutdownRequest{ ApiService: a, ctx: ctx, @@ -157,14 +157,14 @@ func (a *SystemAPIService) CreateSystemShutdown(ctx context.Context) ApiCreateSy } // Execute executes the request -func (a *SystemAPIService) CreateSystemShutdownExecute(r ApiCreateSystemShutdownRequest) (*http.Response, error) { +func (a *SystemApiService) CreateSystemShutdownExecute(r ApiCreateSystemShutdownRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "SystemAPIService.CreateSystemShutdown") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "SystemApiService.CreateSystemShutdown") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -249,7 +249,7 @@ func (a *SystemAPIService) CreateSystemShutdownExecute(r ApiCreateSystemShutdown } type ApiGetSystemRoutesRequest struct { ctx context.Context - ApiService *SystemAPIService + ApiService *SystemApiService } func (r ApiGetSystemRoutesRequest) Execute() (*http.Response, error) { @@ -262,7 +262,7 @@ GetSystemRoutes Method for GetSystemRoutes @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetSystemRoutesRequest */ -func (a *SystemAPIService) GetSystemRoutes(ctx context.Context) ApiGetSystemRoutesRequest { +func (a *SystemApiService) GetSystemRoutes(ctx context.Context) ApiGetSystemRoutesRequest { return ApiGetSystemRoutesRequest{ ApiService: a, ctx: ctx, @@ -270,14 +270,14 @@ func (a *SystemAPIService) GetSystemRoutes(ctx context.Context) ApiGetSystemRout } // Execute executes the request -func (a *SystemAPIService) GetSystemRoutesExecute(r ApiGetSystemRoutesRequest) (*http.Response, error) { +func (a *SystemApiService) GetSystemRoutesExecute(r ApiGetSystemRoutesRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "SystemAPIService.GetSystemRoutes") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "SystemApiService.GetSystemRoutes") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -362,7 +362,7 @@ func (a *SystemAPIService) GetSystemRoutesExecute(r ApiGetSystemRoutesRequest) ( } type ApiGetSystemRoutesDuplicateRequest struct { ctx context.Context - ApiService *SystemAPIService + ApiService *SystemApiService } func (r ApiGetSystemRoutesDuplicateRequest) Execute() (*http.Response, error) { @@ -375,7 +375,7 @@ GetSystemRoutesDuplicate Method for GetSystemRoutesDuplicate @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetSystemRoutesDuplicateRequest */ -func (a *SystemAPIService) GetSystemRoutesDuplicate(ctx context.Context) ApiGetSystemRoutesDuplicateRequest { +func (a *SystemApiService) GetSystemRoutesDuplicate(ctx context.Context) ApiGetSystemRoutesDuplicateRequest { return ApiGetSystemRoutesDuplicateRequest{ ApiService: a, ctx: ctx, @@ -383,14 +383,14 @@ func (a *SystemAPIService) GetSystemRoutesDuplicate(ctx context.Context) ApiGetS } // Execute executes the request -func (a *SystemAPIService) GetSystemRoutesDuplicateExecute(r ApiGetSystemRoutesDuplicateRequest) (*http.Response, error) { +func (a *SystemApiService) GetSystemRoutesDuplicateExecute(r ApiGetSystemRoutesDuplicateRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "SystemAPIService.GetSystemRoutesDuplicate") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "SystemApiService.GetSystemRoutesDuplicate") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -475,7 +475,7 @@ func (a *SystemAPIService) GetSystemRoutesDuplicateExecute(r ApiGetSystemRoutesD } type ApiGetSystemStatusRequest struct { ctx context.Context - ApiService *SystemAPIService + ApiService *SystemApiService } func (r ApiGetSystemStatusRequest) Execute() (*SystemResource, *http.Response, error) { @@ -488,7 +488,7 @@ GetSystemStatus Method for GetSystemStatus @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetSystemStatusRequest */ -func (a *SystemAPIService) GetSystemStatus(ctx context.Context) ApiGetSystemStatusRequest { +func (a *SystemApiService) GetSystemStatus(ctx context.Context) ApiGetSystemStatusRequest { return ApiGetSystemStatusRequest{ ApiService: a, ctx: ctx, @@ -497,7 +497,7 @@ func (a *SystemAPIService) GetSystemStatus(ctx context.Context) ApiGetSystemStat // Execute executes the request // @return SystemResource -func (a *SystemAPIService) GetSystemStatusExecute(r ApiGetSystemStatusRequest) (*SystemResource, *http.Response, error) { +func (a *SystemApiService) GetSystemStatusExecute(r ApiGetSystemStatusRequest) (*SystemResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -505,7 +505,7 @@ func (a *SystemAPIService) GetSystemStatusExecute(r ApiGetSystemStatusRequest) ( localVarReturnValue *SystemResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "SystemAPIService.GetSystemStatus") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "SystemApiService.GetSystemStatus") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } diff --git a/sonarr/api_tag.go b/sonarr/api_tag.go index 1983373..5fb3388 100644 --- a/sonarr/api_tag.go +++ b/sonarr/api_tag.go @@ -20,11 +20,11 @@ import ( ) -// TagAPIService TagAPI service -type TagAPIService service +// TagApiService TagApi service +type TagApiService service type ApiCreateTagRequest struct { ctx context.Context - ApiService *TagAPIService + ApiService *TagApiService tagResource *TagResource } @@ -43,7 +43,7 @@ CreateTag Method for CreateTag @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateTagRequest */ -func (a *TagAPIService) CreateTag(ctx context.Context) ApiCreateTagRequest { +func (a *TagApiService) CreateTag(ctx context.Context) ApiCreateTagRequest { return ApiCreateTagRequest{ ApiService: a, ctx: ctx, @@ -52,7 +52,7 @@ func (a *TagAPIService) CreateTag(ctx context.Context) ApiCreateTagRequest { // Execute executes the request // @return TagResource -func (a *TagAPIService) CreateTagExecute(r ApiCreateTagRequest) (*TagResource, *http.Response, error) { +func (a *TagApiService) CreateTagExecute(r ApiCreateTagRequest) (*TagResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -60,7 +60,7 @@ func (a *TagAPIService) CreateTagExecute(r ApiCreateTagRequest) (*TagResource, * localVarReturnValue *TagResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TagAPIService.CreateTag") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TagApiService.CreateTag") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -156,7 +156,7 @@ func (a *TagAPIService) CreateTagExecute(r ApiCreateTagRequest) (*TagResource, * } type ApiDeleteTagRequest struct { ctx context.Context - ApiService *TagAPIService + ApiService *TagApiService id int32 } @@ -171,7 +171,7 @@ DeleteTag Method for DeleteTag @param id @return ApiDeleteTagRequest */ -func (a *TagAPIService) DeleteTag(ctx context.Context, id int32) ApiDeleteTagRequest { +func (a *TagApiService) DeleteTag(ctx context.Context, id int32) ApiDeleteTagRequest { return ApiDeleteTagRequest{ ApiService: a, ctx: ctx, @@ -180,14 +180,14 @@ func (a *TagAPIService) DeleteTag(ctx context.Context, id int32) ApiDeleteTagReq } // Execute executes the request -func (a *TagAPIService) DeleteTagExecute(r ApiDeleteTagRequest) (*http.Response, error) { +func (a *TagApiService) DeleteTagExecute(r ApiDeleteTagRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TagAPIService.DeleteTag") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TagApiService.DeleteTag") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -273,7 +273,7 @@ func (a *TagAPIService) DeleteTagExecute(r ApiDeleteTagRequest) (*http.Response, } type ApiGetTagByIdRequest struct { ctx context.Context - ApiService *TagAPIService + ApiService *TagApiService id int32 } @@ -288,7 +288,7 @@ GetTagById Method for GetTagById @param id @return ApiGetTagByIdRequest */ -func (a *TagAPIService) GetTagById(ctx context.Context, id int32) ApiGetTagByIdRequest { +func (a *TagApiService) GetTagById(ctx context.Context, id int32) ApiGetTagByIdRequest { return ApiGetTagByIdRequest{ ApiService: a, ctx: ctx, @@ -298,7 +298,7 @@ func (a *TagAPIService) GetTagById(ctx context.Context, id int32) ApiGetTagByIdR // Execute executes the request // @return TagResource -func (a *TagAPIService) GetTagByIdExecute(r ApiGetTagByIdRequest) (*TagResource, *http.Response, error) { +func (a *TagApiService) GetTagByIdExecute(r ApiGetTagByIdRequest) (*TagResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -306,7 +306,7 @@ func (a *TagAPIService) GetTagByIdExecute(r ApiGetTagByIdRequest) (*TagResource, localVarReturnValue *TagResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TagAPIService.GetTagById") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TagApiService.GetTagById") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -401,7 +401,7 @@ func (a *TagAPIService) GetTagByIdExecute(r ApiGetTagByIdRequest) (*TagResource, } type ApiListTagRequest struct { ctx context.Context - ApiService *TagAPIService + ApiService *TagApiService } func (r ApiListTagRequest) Execute() ([]*TagResource, *http.Response, error) { @@ -414,7 +414,7 @@ ListTag Method for ListTag @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListTagRequest */ -func (a *TagAPIService) ListTag(ctx context.Context) ApiListTagRequest { +func (a *TagApiService) ListTag(ctx context.Context) ApiListTagRequest { return ApiListTagRequest{ ApiService: a, ctx: ctx, @@ -423,7 +423,7 @@ func (a *TagAPIService) ListTag(ctx context.Context) ApiListTagRequest { // Execute executes the request // @return []TagResource -func (a *TagAPIService) ListTagExecute(r ApiListTagRequest) ([]*TagResource, *http.Response, error) { +func (a *TagApiService) ListTagExecute(r ApiListTagRequest) ([]*TagResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -431,7 +431,7 @@ func (a *TagAPIService) ListTagExecute(r ApiListTagRequest) ([]*TagResource, *ht localVarReturnValue []*TagResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TagAPIService.ListTag") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TagApiService.ListTag") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -525,7 +525,7 @@ func (a *TagAPIService) ListTagExecute(r ApiListTagRequest) ([]*TagResource, *ht } type ApiUpdateTagRequest struct { ctx context.Context - ApiService *TagAPIService + ApiService *TagApiService id string tagResource *TagResource } @@ -546,7 +546,7 @@ UpdateTag Method for UpdateTag @param id @return ApiUpdateTagRequest */ -func (a *TagAPIService) UpdateTag(ctx context.Context, id string) ApiUpdateTagRequest { +func (a *TagApiService) UpdateTag(ctx context.Context, id string) ApiUpdateTagRequest { return ApiUpdateTagRequest{ ApiService: a, ctx: ctx, @@ -556,7 +556,7 @@ func (a *TagAPIService) UpdateTag(ctx context.Context, id string) ApiUpdateTagRe // Execute executes the request // @return TagResource -func (a *TagAPIService) UpdateTagExecute(r ApiUpdateTagRequest) (*TagResource, *http.Response, error) { +func (a *TagApiService) UpdateTagExecute(r ApiUpdateTagRequest) (*TagResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} @@ -564,7 +564,7 @@ func (a *TagAPIService) UpdateTagExecute(r ApiUpdateTagRequest) (*TagResource, * localVarReturnValue *TagResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TagAPIService.UpdateTag") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TagApiService.UpdateTag") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } diff --git a/sonarr/api_tag_details.go b/sonarr/api_tag_details.go index 914364a..364998c 100644 --- a/sonarr/api_tag_details.go +++ b/sonarr/api_tag_details.go @@ -20,11 +20,11 @@ import ( ) -// TagDetailsAPIService TagDetailsAPI service -type TagDetailsAPIService service +// TagDetailsApiService TagDetailsApi service +type TagDetailsApiService service type ApiGetTagDetailByIdRequest struct { ctx context.Context - ApiService *TagDetailsAPIService + ApiService *TagDetailsApiService id int32 } @@ -39,7 +39,7 @@ GetTagDetailById Method for GetTagDetailById @param id @return ApiGetTagDetailByIdRequest */ -func (a *TagDetailsAPIService) GetTagDetailById(ctx context.Context, id int32) ApiGetTagDetailByIdRequest { +func (a *TagDetailsApiService) GetTagDetailById(ctx context.Context, id int32) ApiGetTagDetailByIdRequest { return ApiGetTagDetailByIdRequest{ ApiService: a, ctx: ctx, @@ -49,7 +49,7 @@ func (a *TagDetailsAPIService) GetTagDetailById(ctx context.Context, id int32) A // Execute executes the request // @return TagDetailsResource -func (a *TagDetailsAPIService) GetTagDetailByIdExecute(r ApiGetTagDetailByIdRequest) (*TagDetailsResource, *http.Response, error) { +func (a *TagDetailsApiService) GetTagDetailByIdExecute(r ApiGetTagDetailByIdRequest) (*TagDetailsResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -57,7 +57,7 @@ func (a *TagDetailsAPIService) GetTagDetailByIdExecute(r ApiGetTagDetailByIdRequ localVarReturnValue *TagDetailsResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TagDetailsAPIService.GetTagDetailById") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TagDetailsApiService.GetTagDetailById") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -152,7 +152,7 @@ func (a *TagDetailsAPIService) GetTagDetailByIdExecute(r ApiGetTagDetailByIdRequ } type ApiListTagDetailRequest struct { ctx context.Context - ApiService *TagDetailsAPIService + ApiService *TagDetailsApiService } func (r ApiListTagDetailRequest) Execute() ([]*TagDetailsResource, *http.Response, error) { @@ -165,7 +165,7 @@ ListTagDetail Method for ListTagDetail @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListTagDetailRequest */ -func (a *TagDetailsAPIService) ListTagDetail(ctx context.Context) ApiListTagDetailRequest { +func (a *TagDetailsApiService) ListTagDetail(ctx context.Context) ApiListTagDetailRequest { return ApiListTagDetailRequest{ ApiService: a, ctx: ctx, @@ -174,7 +174,7 @@ func (a *TagDetailsAPIService) ListTagDetail(ctx context.Context) ApiListTagDeta // Execute executes the request // @return []TagDetailsResource -func (a *TagDetailsAPIService) ListTagDetailExecute(r ApiListTagDetailRequest) ([]*TagDetailsResource, *http.Response, error) { +func (a *TagDetailsApiService) ListTagDetailExecute(r ApiListTagDetailRequest) ([]*TagDetailsResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -182,7 +182,7 @@ func (a *TagDetailsAPIService) ListTagDetailExecute(r ApiListTagDetailRequest) ( localVarReturnValue []*TagDetailsResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TagDetailsAPIService.ListTagDetail") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TagDetailsApiService.ListTagDetail") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } diff --git a/sonarr/api_task.go b/sonarr/api_task.go index a427f78..d87d66c 100644 --- a/sonarr/api_task.go +++ b/sonarr/api_task.go @@ -20,11 +20,11 @@ import ( ) -// TaskAPIService TaskAPI service -type TaskAPIService service +// TaskApiService TaskApi service +type TaskApiService service type ApiGetSystemTaskByIdRequest struct { ctx context.Context - ApiService *TaskAPIService + ApiService *TaskApiService id int32 } @@ -39,7 +39,7 @@ GetSystemTaskById Method for GetSystemTaskById @param id @return ApiGetSystemTaskByIdRequest */ -func (a *TaskAPIService) GetSystemTaskById(ctx context.Context, id int32) ApiGetSystemTaskByIdRequest { +func (a *TaskApiService) GetSystemTaskById(ctx context.Context, id int32) ApiGetSystemTaskByIdRequest { return ApiGetSystemTaskByIdRequest{ ApiService: a, ctx: ctx, @@ -49,7 +49,7 @@ func (a *TaskAPIService) GetSystemTaskById(ctx context.Context, id int32) ApiGet // Execute executes the request // @return TaskResource -func (a *TaskAPIService) GetSystemTaskByIdExecute(r ApiGetSystemTaskByIdRequest) (*TaskResource, *http.Response, error) { +func (a *TaskApiService) GetSystemTaskByIdExecute(r ApiGetSystemTaskByIdRequest) (*TaskResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -57,7 +57,7 @@ func (a *TaskAPIService) GetSystemTaskByIdExecute(r ApiGetSystemTaskByIdRequest) localVarReturnValue *TaskResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TaskAPIService.GetSystemTaskById") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TaskApiService.GetSystemTaskById") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -152,7 +152,7 @@ func (a *TaskAPIService) GetSystemTaskByIdExecute(r ApiGetSystemTaskByIdRequest) } type ApiListSystemTaskRequest struct { ctx context.Context - ApiService *TaskAPIService + ApiService *TaskApiService } func (r ApiListSystemTaskRequest) Execute() ([]*TaskResource, *http.Response, error) { @@ -165,7 +165,7 @@ ListSystemTask Method for ListSystemTask @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListSystemTaskRequest */ -func (a *TaskAPIService) ListSystemTask(ctx context.Context) ApiListSystemTaskRequest { +func (a *TaskApiService) ListSystemTask(ctx context.Context) ApiListSystemTaskRequest { return ApiListSystemTaskRequest{ ApiService: a, ctx: ctx, @@ -174,7 +174,7 @@ func (a *TaskAPIService) ListSystemTask(ctx context.Context) ApiListSystemTaskRe // Execute executes the request // @return []TaskResource -func (a *TaskAPIService) ListSystemTaskExecute(r ApiListSystemTaskRequest) ([]*TaskResource, *http.Response, error) { +func (a *TaskApiService) ListSystemTaskExecute(r ApiListSystemTaskRequest) ([]*TaskResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -182,7 +182,7 @@ func (a *TaskAPIService) ListSystemTaskExecute(r ApiListSystemTaskRequest) ([]*T localVarReturnValue []*TaskResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TaskAPIService.ListSystemTask") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TaskApiService.ListSystemTask") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } diff --git a/sonarr/api_ui_config.go b/sonarr/api_ui_config.go index 1f24a25..fd0d575 100644 --- a/sonarr/api_ui_config.go +++ b/sonarr/api_ui_config.go @@ -20,11 +20,11 @@ import ( ) -// UiConfigAPIService UiConfigAPI service -type UiConfigAPIService service +// UiConfigApiService UiConfigApi service +type UiConfigApiService service type ApiGetUiConfigRequest struct { ctx context.Context - ApiService *UiConfigAPIService + ApiService *UiConfigApiService } func (r ApiGetUiConfigRequest) Execute() (*UiConfigResource, *http.Response, error) { @@ -37,7 +37,7 @@ GetUiConfig Method for GetUiConfig @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetUiConfigRequest */ -func (a *UiConfigAPIService) GetUiConfig(ctx context.Context) ApiGetUiConfigRequest { +func (a *UiConfigApiService) GetUiConfig(ctx context.Context) ApiGetUiConfigRequest { return ApiGetUiConfigRequest{ ApiService: a, ctx: ctx, @@ -46,7 +46,7 @@ func (a *UiConfigAPIService) GetUiConfig(ctx context.Context) ApiGetUiConfigRequ // Execute executes the request // @return UiConfigResource -func (a *UiConfigAPIService) GetUiConfigExecute(r ApiGetUiConfigRequest) (*UiConfigResource, *http.Response, error) { +func (a *UiConfigApiService) GetUiConfigExecute(r ApiGetUiConfigRequest) (*UiConfigResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -54,7 +54,7 @@ func (a *UiConfigAPIService) GetUiConfigExecute(r ApiGetUiConfigRequest) (*UiCon localVarReturnValue *UiConfigResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UiConfigAPIService.GetUiConfig") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UiConfigApiService.GetUiConfig") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -148,7 +148,7 @@ func (a *UiConfigAPIService) GetUiConfigExecute(r ApiGetUiConfigRequest) (*UiCon } type ApiGetUiConfigByIdRequest struct { ctx context.Context - ApiService *UiConfigAPIService + ApiService *UiConfigApiService id int32 } @@ -163,7 +163,7 @@ GetUiConfigById Method for GetUiConfigById @param id @return ApiGetUiConfigByIdRequest */ -func (a *UiConfigAPIService) GetUiConfigById(ctx context.Context, id int32) ApiGetUiConfigByIdRequest { +func (a *UiConfigApiService) GetUiConfigById(ctx context.Context, id int32) ApiGetUiConfigByIdRequest { return ApiGetUiConfigByIdRequest{ ApiService: a, ctx: ctx, @@ -173,7 +173,7 @@ func (a *UiConfigAPIService) GetUiConfigById(ctx context.Context, id int32) ApiG // Execute executes the request // @return UiConfigResource -func (a *UiConfigAPIService) GetUiConfigByIdExecute(r ApiGetUiConfigByIdRequest) (*UiConfigResource, *http.Response, error) { +func (a *UiConfigApiService) GetUiConfigByIdExecute(r ApiGetUiConfigByIdRequest) (*UiConfigResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -181,7 +181,7 @@ func (a *UiConfigAPIService) GetUiConfigByIdExecute(r ApiGetUiConfigByIdRequest) localVarReturnValue *UiConfigResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UiConfigAPIService.GetUiConfigById") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UiConfigApiService.GetUiConfigById") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -276,7 +276,7 @@ func (a *UiConfigAPIService) GetUiConfigByIdExecute(r ApiGetUiConfigByIdRequest) } type ApiUpdateUiConfigRequest struct { ctx context.Context - ApiService *UiConfigAPIService + ApiService *UiConfigApiService id string uiConfigResource *UiConfigResource } @@ -297,7 +297,7 @@ UpdateUiConfig Method for UpdateUiConfig @param id @return ApiUpdateUiConfigRequest */ -func (a *UiConfigAPIService) UpdateUiConfig(ctx context.Context, id string) ApiUpdateUiConfigRequest { +func (a *UiConfigApiService) UpdateUiConfig(ctx context.Context, id string) ApiUpdateUiConfigRequest { return ApiUpdateUiConfigRequest{ ApiService: a, ctx: ctx, @@ -307,7 +307,7 @@ func (a *UiConfigAPIService) UpdateUiConfig(ctx context.Context, id string) ApiU // Execute executes the request // @return UiConfigResource -func (a *UiConfigAPIService) UpdateUiConfigExecute(r ApiUpdateUiConfigRequest) (*UiConfigResource, *http.Response, error) { +func (a *UiConfigApiService) UpdateUiConfigExecute(r ApiUpdateUiConfigRequest) (*UiConfigResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} @@ -315,7 +315,7 @@ func (a *UiConfigAPIService) UpdateUiConfigExecute(r ApiUpdateUiConfigRequest) ( localVarReturnValue *UiConfigResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UiConfigAPIService.UpdateUiConfig") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UiConfigApiService.UpdateUiConfig") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } diff --git a/sonarr/api_update.go b/sonarr/api_update.go index 5aa1bc1..1a8ddcf 100644 --- a/sonarr/api_update.go +++ b/sonarr/api_update.go @@ -19,11 +19,11 @@ import ( ) -// UpdateAPIService UpdateAPI service -type UpdateAPIService service +// UpdateApiService UpdateApi service +type UpdateApiService service type ApiListUpdateRequest struct { ctx context.Context - ApiService *UpdateAPIService + ApiService *UpdateApiService } func (r ApiListUpdateRequest) Execute() ([]*UpdateResource, *http.Response, error) { @@ -36,7 +36,7 @@ ListUpdate Method for ListUpdate @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListUpdateRequest */ -func (a *UpdateAPIService) ListUpdate(ctx context.Context) ApiListUpdateRequest { +func (a *UpdateApiService) ListUpdate(ctx context.Context) ApiListUpdateRequest { return ApiListUpdateRequest{ ApiService: a, ctx: ctx, @@ -45,7 +45,7 @@ func (a *UpdateAPIService) ListUpdate(ctx context.Context) ApiListUpdateRequest // Execute executes the request // @return []UpdateResource -func (a *UpdateAPIService) ListUpdateExecute(r ApiListUpdateRequest) ([]*UpdateResource, *http.Response, error) { +func (a *UpdateApiService) ListUpdateExecute(r ApiListUpdateRequest) ([]*UpdateResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -53,7 +53,7 @@ func (a *UpdateAPIService) ListUpdateExecute(r ApiListUpdateRequest) ([]*UpdateR localVarReturnValue []*UpdateResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UpdateAPIService.ListUpdate") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UpdateApiService.ListUpdate") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } diff --git a/sonarr/api_update_log_file.go b/sonarr/api_update_log_file.go index 46798ec..05824c4 100644 --- a/sonarr/api_update_log_file.go +++ b/sonarr/api_update_log_file.go @@ -20,11 +20,11 @@ import ( ) -// UpdateLogFileAPIService UpdateLogFileAPI service -type UpdateLogFileAPIService service +// UpdateLogFileApiService UpdateLogFileApi service +type UpdateLogFileApiService service type ApiGetLogFileUpdateByFilenameRequest struct { ctx context.Context - ApiService *UpdateLogFileAPIService + ApiService *UpdateLogFileApiService filename string } @@ -39,7 +39,7 @@ GetLogFileUpdateByFilename Method for GetLogFileUpdateByFilename @param filename @return ApiGetLogFileUpdateByFilenameRequest */ -func (a *UpdateLogFileAPIService) GetLogFileUpdateByFilename(ctx context.Context, filename string) ApiGetLogFileUpdateByFilenameRequest { +func (a *UpdateLogFileApiService) GetLogFileUpdateByFilename(ctx context.Context, filename string) ApiGetLogFileUpdateByFilenameRequest { return ApiGetLogFileUpdateByFilenameRequest{ ApiService: a, ctx: ctx, @@ -48,14 +48,14 @@ func (a *UpdateLogFileAPIService) GetLogFileUpdateByFilename(ctx context.Context } // Execute executes the request -func (a *UpdateLogFileAPIService) GetLogFileUpdateByFilenameExecute(r ApiGetLogFileUpdateByFilenameRequest) (*http.Response, error) { +func (a *UpdateLogFileApiService) GetLogFileUpdateByFilenameExecute(r ApiGetLogFileUpdateByFilenameRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UpdateLogFileAPIService.GetLogFileUpdateByFilename") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UpdateLogFileApiService.GetLogFileUpdateByFilename") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -141,7 +141,7 @@ func (a *UpdateLogFileAPIService) GetLogFileUpdateByFilenameExecute(r ApiGetLogF } type ApiListLogFileUpdateRequest struct { ctx context.Context - ApiService *UpdateLogFileAPIService + ApiService *UpdateLogFileApiService } func (r ApiListLogFileUpdateRequest) Execute() ([]*LogFileResource, *http.Response, error) { @@ -154,7 +154,7 @@ ListLogFileUpdate Method for ListLogFileUpdate @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListLogFileUpdateRequest */ -func (a *UpdateLogFileAPIService) ListLogFileUpdate(ctx context.Context) ApiListLogFileUpdateRequest { +func (a *UpdateLogFileApiService) ListLogFileUpdate(ctx context.Context) ApiListLogFileUpdateRequest { return ApiListLogFileUpdateRequest{ ApiService: a, ctx: ctx, @@ -163,7 +163,7 @@ func (a *UpdateLogFileAPIService) ListLogFileUpdate(ctx context.Context) ApiList // Execute executes the request // @return []LogFileResource -func (a *UpdateLogFileAPIService) ListLogFileUpdateExecute(r ApiListLogFileUpdateRequest) ([]*LogFileResource, *http.Response, error) { +func (a *UpdateLogFileApiService) ListLogFileUpdateExecute(r ApiListLogFileUpdateRequest) ([]*LogFileResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -171,7 +171,7 @@ func (a *UpdateLogFileAPIService) ListLogFileUpdateExecute(r ApiListLogFileUpdat localVarReturnValue []*LogFileResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UpdateLogFileAPIService.ListLogFileUpdate") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UpdateLogFileApiService.ListLogFileUpdate") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } diff --git a/sonarr/client.go b/sonarr/client.go index 533cb52..6d75b98 100644 --- a/sonarr/client.go +++ b/sonarr/client.go @@ -47,73 +47,73 @@ type APIClient struct { common service // Reuse a single struct instead of allocating one for each service on the heap. // API Services - ApiInfoAPI *ApiInfoAPIService - AuthenticationAPI *AuthenticationAPIService - AutoTaggingAPI *AutoTaggingAPIService - BackupAPI *BackupAPIService - BlocklistAPI *BlocklistAPIService - CalendarAPI *CalendarAPIService - CalendarFeedAPI *CalendarFeedAPIService - CommandAPI *CommandAPIService - CustomFilterAPI *CustomFilterAPIService - CustomFormatAPI *CustomFormatAPIService - CutoffAPI *CutoffAPIService - DelayProfileAPI *DelayProfileAPIService - DiskSpaceAPI *DiskSpaceAPIService - DownloadClientAPI *DownloadClientAPIService - DownloadClientConfigAPI *DownloadClientConfigAPIService - EpisodeAPI *EpisodeAPIService - EpisodeFileAPI *EpisodeFileAPIService - FileSystemAPI *FileSystemAPIService - HealthAPI *HealthAPIService - HistoryAPI *HistoryAPIService - HostConfigAPI *HostConfigAPIService - ImportListAPI *ImportListAPIService - ImportListExclusionAPI *ImportListExclusionAPIService - IndexerAPI *IndexerAPIService - IndexerConfigAPI *IndexerConfigAPIService - InitializeJsAPI *InitializeJsAPIService - LanguageAPI *LanguageAPIService - LanguageProfileAPI *LanguageProfileAPIService - LanguageProfileSchemaAPI *LanguageProfileSchemaAPIService - LocalizationAPI *LocalizationAPIService - LogAPI *LogAPIService - LogFileAPI *LogFileAPIService - ManualImportAPI *ManualImportAPIService - MediaCoverAPI *MediaCoverAPIService - MediaManagementConfigAPI *MediaManagementConfigAPIService - MetadataAPI *MetadataAPIService - MissingAPI *MissingAPIService - NamingConfigAPI *NamingConfigAPIService - NotificationAPI *NotificationAPIService - ParseAPI *ParseAPIService - PingAPI *PingAPIService - QualityDefinitionAPI *QualityDefinitionAPIService - QualityProfileAPI *QualityProfileAPIService - QualityProfileSchemaAPI *QualityProfileSchemaAPIService - QueueAPI *QueueAPIService - QueueActionAPI *QueueActionAPIService - QueueDetailsAPI *QueueDetailsAPIService - QueueStatusAPI *QueueStatusAPIService - ReleaseAPI *ReleaseAPIService - ReleaseProfileAPI *ReleaseProfileAPIService - ReleasePushAPI *ReleasePushAPIService - RemotePathMappingAPI *RemotePathMappingAPIService - RenameEpisodeAPI *RenameEpisodeAPIService - RootFolderAPI *RootFolderAPIService - SeasonPassAPI *SeasonPassAPIService - SeriesAPI *SeriesAPIService - SeriesEditorAPI *SeriesEditorAPIService - SeriesImportAPI *SeriesImportAPIService - SeriesLookupAPI *SeriesLookupAPIService - StaticResourceAPI *StaticResourceAPIService - SystemAPI *SystemAPIService - TagAPI *TagAPIService - TagDetailsAPI *TagDetailsAPIService - TaskAPI *TaskAPIService - UiConfigAPI *UiConfigAPIService - UpdateAPI *UpdateAPIService - UpdateLogFileAPI *UpdateLogFileAPIService + ApiInfoApi *ApiInfoApiService + AuthenticationApi *AuthenticationApiService + AutoTaggingApi *AutoTaggingApiService + BackupApi *BackupApiService + BlocklistApi *BlocklistApiService + CalendarApi *CalendarApiService + CalendarFeedApi *CalendarFeedApiService + CommandApi *CommandApiService + CustomFilterApi *CustomFilterApiService + CustomFormatApi *CustomFormatApiService + CutoffApi *CutoffApiService + DelayProfileApi *DelayProfileApiService + DiskSpaceApi *DiskSpaceApiService + DownloadClientApi *DownloadClientApiService + DownloadClientConfigApi *DownloadClientConfigApiService + EpisodeApi *EpisodeApiService + EpisodeFileApi *EpisodeFileApiService + FileSystemApi *FileSystemApiService + HealthApi *HealthApiService + HistoryApi *HistoryApiService + HostConfigApi *HostConfigApiService + ImportListApi *ImportListApiService + ImportListExclusionApi *ImportListExclusionApiService + IndexerApi *IndexerApiService + IndexerConfigApi *IndexerConfigApiService + InitializeJsApi *InitializeJsApiService + LanguageApi *LanguageApiService + LanguageProfileApi *LanguageProfileApiService + LanguageProfileSchemaApi *LanguageProfileSchemaApiService + LocalizationApi *LocalizationApiService + LogApi *LogApiService + LogFileApi *LogFileApiService + ManualImportApi *ManualImportApiService + MediaCoverApi *MediaCoverApiService + MediaManagementConfigApi *MediaManagementConfigApiService + MetadataApi *MetadataApiService + MissingApi *MissingApiService + NamingConfigApi *NamingConfigApiService + NotificationApi *NotificationApiService + ParseApi *ParseApiService + PingApi *PingApiService + QualityDefinitionApi *QualityDefinitionApiService + QualityProfileApi *QualityProfileApiService + QualityProfileSchemaApi *QualityProfileSchemaApiService + QueueApi *QueueApiService + QueueActionApi *QueueActionApiService + QueueDetailsApi *QueueDetailsApiService + QueueStatusApi *QueueStatusApiService + ReleaseApi *ReleaseApiService + ReleaseProfileApi *ReleaseProfileApiService + ReleasePushApi *ReleasePushApiService + RemotePathMappingApi *RemotePathMappingApiService + RenameEpisodeApi *RenameEpisodeApiService + RootFolderApi *RootFolderApiService + SeasonPassApi *SeasonPassApiService + SeriesApi *SeriesApiService + SeriesEditorApi *SeriesEditorApiService + SeriesImportApi *SeriesImportApiService + SeriesLookupApi *SeriesLookupApiService + StaticResourceApi *StaticResourceApiService + SystemApi *SystemApiService + TagApi *TagApiService + TagDetailsApi *TagDetailsApiService + TaskApi *TaskApiService + UiConfigApi *UiConfigApiService + UpdateApi *UpdateApiService + UpdateLogFileApi *UpdateLogFileApiService } type service struct { @@ -132,73 +132,73 @@ func NewAPIClient(cfg *Configuration) *APIClient { c.common.client = c // API Services - c.ApiInfoAPI = (*ApiInfoAPIService)(&c.common) - c.AuthenticationAPI = (*AuthenticationAPIService)(&c.common) - c.AutoTaggingAPI = (*AutoTaggingAPIService)(&c.common) - c.BackupAPI = (*BackupAPIService)(&c.common) - c.BlocklistAPI = (*BlocklistAPIService)(&c.common) - c.CalendarAPI = (*CalendarAPIService)(&c.common) - c.CalendarFeedAPI = (*CalendarFeedAPIService)(&c.common) - c.CommandAPI = (*CommandAPIService)(&c.common) - c.CustomFilterAPI = (*CustomFilterAPIService)(&c.common) - c.CustomFormatAPI = (*CustomFormatAPIService)(&c.common) - c.CutoffAPI = (*CutoffAPIService)(&c.common) - c.DelayProfileAPI = (*DelayProfileAPIService)(&c.common) - c.DiskSpaceAPI = (*DiskSpaceAPIService)(&c.common) - c.DownloadClientAPI = (*DownloadClientAPIService)(&c.common) - c.DownloadClientConfigAPI = (*DownloadClientConfigAPIService)(&c.common) - c.EpisodeAPI = (*EpisodeAPIService)(&c.common) - c.EpisodeFileAPI = (*EpisodeFileAPIService)(&c.common) - c.FileSystemAPI = (*FileSystemAPIService)(&c.common) - c.HealthAPI = (*HealthAPIService)(&c.common) - c.HistoryAPI = (*HistoryAPIService)(&c.common) - c.HostConfigAPI = (*HostConfigAPIService)(&c.common) - c.ImportListAPI = (*ImportListAPIService)(&c.common) - c.ImportListExclusionAPI = (*ImportListExclusionAPIService)(&c.common) - c.IndexerAPI = (*IndexerAPIService)(&c.common) - c.IndexerConfigAPI = (*IndexerConfigAPIService)(&c.common) - c.InitializeJsAPI = (*InitializeJsAPIService)(&c.common) - c.LanguageAPI = (*LanguageAPIService)(&c.common) - c.LanguageProfileAPI = (*LanguageProfileAPIService)(&c.common) - c.LanguageProfileSchemaAPI = (*LanguageProfileSchemaAPIService)(&c.common) - c.LocalizationAPI = (*LocalizationAPIService)(&c.common) - c.LogAPI = (*LogAPIService)(&c.common) - c.LogFileAPI = (*LogFileAPIService)(&c.common) - c.ManualImportAPI = (*ManualImportAPIService)(&c.common) - c.MediaCoverAPI = (*MediaCoverAPIService)(&c.common) - c.MediaManagementConfigAPI = (*MediaManagementConfigAPIService)(&c.common) - c.MetadataAPI = (*MetadataAPIService)(&c.common) - c.MissingAPI = (*MissingAPIService)(&c.common) - c.NamingConfigAPI = (*NamingConfigAPIService)(&c.common) - c.NotificationAPI = (*NotificationAPIService)(&c.common) - c.ParseAPI = (*ParseAPIService)(&c.common) - c.PingAPI = (*PingAPIService)(&c.common) - c.QualityDefinitionAPI = (*QualityDefinitionAPIService)(&c.common) - c.QualityProfileAPI = (*QualityProfileAPIService)(&c.common) - c.QualityProfileSchemaAPI = (*QualityProfileSchemaAPIService)(&c.common) - c.QueueAPI = (*QueueAPIService)(&c.common) - c.QueueActionAPI = (*QueueActionAPIService)(&c.common) - c.QueueDetailsAPI = (*QueueDetailsAPIService)(&c.common) - c.QueueStatusAPI = (*QueueStatusAPIService)(&c.common) - c.ReleaseAPI = (*ReleaseAPIService)(&c.common) - c.ReleaseProfileAPI = (*ReleaseProfileAPIService)(&c.common) - c.ReleasePushAPI = (*ReleasePushAPIService)(&c.common) - c.RemotePathMappingAPI = (*RemotePathMappingAPIService)(&c.common) - c.RenameEpisodeAPI = (*RenameEpisodeAPIService)(&c.common) - c.RootFolderAPI = (*RootFolderAPIService)(&c.common) - c.SeasonPassAPI = (*SeasonPassAPIService)(&c.common) - c.SeriesAPI = (*SeriesAPIService)(&c.common) - c.SeriesEditorAPI = (*SeriesEditorAPIService)(&c.common) - c.SeriesImportAPI = (*SeriesImportAPIService)(&c.common) - c.SeriesLookupAPI = (*SeriesLookupAPIService)(&c.common) - c.StaticResourceAPI = (*StaticResourceAPIService)(&c.common) - c.SystemAPI = (*SystemAPIService)(&c.common) - c.TagAPI = (*TagAPIService)(&c.common) - c.TagDetailsAPI = (*TagDetailsAPIService)(&c.common) - c.TaskAPI = (*TaskAPIService)(&c.common) - c.UiConfigAPI = (*UiConfigAPIService)(&c.common) - c.UpdateAPI = (*UpdateAPIService)(&c.common) - c.UpdateLogFileAPI = (*UpdateLogFileAPIService)(&c.common) + c.ApiInfoApi = (*ApiInfoApiService)(&c.common) + c.AuthenticationApi = (*AuthenticationApiService)(&c.common) + c.AutoTaggingApi = (*AutoTaggingApiService)(&c.common) + c.BackupApi = (*BackupApiService)(&c.common) + c.BlocklistApi = (*BlocklistApiService)(&c.common) + c.CalendarApi = (*CalendarApiService)(&c.common) + c.CalendarFeedApi = (*CalendarFeedApiService)(&c.common) + c.CommandApi = (*CommandApiService)(&c.common) + c.CustomFilterApi = (*CustomFilterApiService)(&c.common) + c.CustomFormatApi = (*CustomFormatApiService)(&c.common) + c.CutoffApi = (*CutoffApiService)(&c.common) + c.DelayProfileApi = (*DelayProfileApiService)(&c.common) + c.DiskSpaceApi = (*DiskSpaceApiService)(&c.common) + c.DownloadClientApi = (*DownloadClientApiService)(&c.common) + c.DownloadClientConfigApi = (*DownloadClientConfigApiService)(&c.common) + c.EpisodeApi = (*EpisodeApiService)(&c.common) + c.EpisodeFileApi = (*EpisodeFileApiService)(&c.common) + c.FileSystemApi = (*FileSystemApiService)(&c.common) + c.HealthApi = (*HealthApiService)(&c.common) + c.HistoryApi = (*HistoryApiService)(&c.common) + c.HostConfigApi = (*HostConfigApiService)(&c.common) + c.ImportListApi = (*ImportListApiService)(&c.common) + c.ImportListExclusionApi = (*ImportListExclusionApiService)(&c.common) + c.IndexerApi = (*IndexerApiService)(&c.common) + c.IndexerConfigApi = (*IndexerConfigApiService)(&c.common) + c.InitializeJsApi = (*InitializeJsApiService)(&c.common) + c.LanguageApi = (*LanguageApiService)(&c.common) + c.LanguageProfileApi = (*LanguageProfileApiService)(&c.common) + c.LanguageProfileSchemaApi = (*LanguageProfileSchemaApiService)(&c.common) + c.LocalizationApi = (*LocalizationApiService)(&c.common) + c.LogApi = (*LogApiService)(&c.common) + c.LogFileApi = (*LogFileApiService)(&c.common) + c.ManualImportApi = (*ManualImportApiService)(&c.common) + c.MediaCoverApi = (*MediaCoverApiService)(&c.common) + c.MediaManagementConfigApi = (*MediaManagementConfigApiService)(&c.common) + c.MetadataApi = (*MetadataApiService)(&c.common) + c.MissingApi = (*MissingApiService)(&c.common) + c.NamingConfigApi = (*NamingConfigApiService)(&c.common) + c.NotificationApi = (*NotificationApiService)(&c.common) + c.ParseApi = (*ParseApiService)(&c.common) + c.PingApi = (*PingApiService)(&c.common) + c.QualityDefinitionApi = (*QualityDefinitionApiService)(&c.common) + c.QualityProfileApi = (*QualityProfileApiService)(&c.common) + c.QualityProfileSchemaApi = (*QualityProfileSchemaApiService)(&c.common) + c.QueueApi = (*QueueApiService)(&c.common) + c.QueueActionApi = (*QueueActionApiService)(&c.common) + c.QueueDetailsApi = (*QueueDetailsApiService)(&c.common) + c.QueueStatusApi = (*QueueStatusApiService)(&c.common) + c.ReleaseApi = (*ReleaseApiService)(&c.common) + c.ReleaseProfileApi = (*ReleaseProfileApiService)(&c.common) + c.ReleasePushApi = (*ReleasePushApiService)(&c.common) + c.RemotePathMappingApi = (*RemotePathMappingApiService)(&c.common) + c.RenameEpisodeApi = (*RenameEpisodeApiService)(&c.common) + c.RootFolderApi = (*RootFolderApiService)(&c.common) + c.SeasonPassApi = (*SeasonPassApiService)(&c.common) + c.SeriesApi = (*SeriesApiService)(&c.common) + c.SeriesEditorApi = (*SeriesEditorApiService)(&c.common) + c.SeriesImportApi = (*SeriesImportApiService)(&c.common) + c.SeriesLookupApi = (*SeriesLookupApiService)(&c.common) + c.StaticResourceApi = (*StaticResourceApiService)(&c.common) + c.SystemApi = (*SystemApiService)(&c.common) + c.TagApi = (*TagApiService)(&c.common) + c.TagDetailsApi = (*TagDetailsApiService)(&c.common) + c.TaskApi = (*TaskApiService)(&c.common) + c.UiConfigApi = (*UiConfigApiService)(&c.common) + c.UpdateApi = (*UpdateApiService)(&c.common) + c.UpdateLogFileApi = (*UpdateLogFileApiService)(&c.common) return c } diff --git a/sonarr/docs/ApiInfoAPI.md b/sonarr/docs/ApiInfoApi.md similarity index 85% rename from sonarr/docs/ApiInfoAPI.md rename to sonarr/docs/ApiInfoApi.md index 1d9105d..4303f1e 100644 --- a/sonarr/docs/ApiInfoAPI.md +++ b/sonarr/docs/ApiInfoApi.md @@ -1,10 +1,10 @@ -# \ApiInfoAPI +# \ApiInfoApi All URIs are relative to *http://localhost:8989* Method | HTTP request | Description ------------- | ------------- | ------------- -[**GetApi**](ApiInfoAPI.md#GetApi) | **Get** /api | +[**GetApi**](ApiInfoApi.md#GetApi) | **Get** /api | @@ -30,9 +30,9 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.ApiInfoAPI.GetApi(context.Background()).Execute() + resp, r, err := apiClient.ApiInfoApi.GetApi(context.Background()).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `ApiInfoAPI.GetApi``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `ApiInfoApi.GetApi``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } diff --git a/sonarr/docs/AuthenticationAPI.md b/sonarr/docs/AuthenticationApi.md similarity index 89% rename from sonarr/docs/AuthenticationAPI.md rename to sonarr/docs/AuthenticationApi.md index 22d05a2..87d93c7 100644 --- a/sonarr/docs/AuthenticationAPI.md +++ b/sonarr/docs/AuthenticationApi.md @@ -1,11 +1,11 @@ -# \AuthenticationAPI +# \AuthenticationApi All URIs are relative to *http://localhost:8989* Method | HTTP request | Description ------------- | ------------- | ------------- -[**CreateLogin**](AuthenticationAPI.md#CreateLogin) | **Post** /login | -[**GetLogout**](AuthenticationAPI.md#GetLogout) | **Get** /logout | +[**CreateLogin**](AuthenticationApi.md#CreateLogin) | **Post** /login | +[**GetLogout**](AuthenticationApi.md#GetLogout) | **Get** /logout | @@ -35,9 +35,9 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.AuthenticationAPI.CreateLogin(context.Background()).ReturnUrl(returnUrl).Username(username).Password(password).RememberMe(rememberMe).Execute() + resp, r, err := apiClient.AuthenticationApi.CreateLogin(context.Background()).ReturnUrl(returnUrl).Username(username).Password(password).RememberMe(rememberMe).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `AuthenticationAPI.CreateLogin``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `AuthenticationApi.CreateLogin``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -99,9 +99,9 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.AuthenticationAPI.GetLogout(context.Background()).Execute() + resp, r, err := apiClient.AuthenticationApi.GetLogout(context.Background()).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `AuthenticationAPI.GetLogout``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `AuthenticationApi.GetLogout``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } diff --git a/sonarr/docs/AutoTaggingAPI.md b/sonarr/docs/AutoTaggingApi.md similarity index 87% rename from sonarr/docs/AutoTaggingAPI.md rename to sonarr/docs/AutoTaggingApi.md index 0abc213..33d761f 100644 --- a/sonarr/docs/AutoTaggingAPI.md +++ b/sonarr/docs/AutoTaggingApi.md @@ -1,15 +1,15 @@ -# \AutoTaggingAPI +# \AutoTaggingApi All URIs are relative to *http://localhost:8989* Method | HTTP request | Description ------------- | ------------- | ------------- -[**CreateAutoTagging**](AutoTaggingAPI.md#CreateAutoTagging) | **Post** /api/v3/autotagging | -[**DeleteAutoTagging**](AutoTaggingAPI.md#DeleteAutoTagging) | **Delete** /api/v3/autotagging/{id} | -[**GetAutoTaggingById**](AutoTaggingAPI.md#GetAutoTaggingById) | **Get** /api/v3/autotagging/{id} | -[**GetAutoTaggingSchema**](AutoTaggingAPI.md#GetAutoTaggingSchema) | **Get** /api/v3/autotagging/schema | -[**ListAutoTagging**](AutoTaggingAPI.md#ListAutoTagging) | **Get** /api/v3/autotagging | -[**UpdateAutoTagging**](AutoTaggingAPI.md#UpdateAutoTagging) | **Put** /api/v3/autotagging/{id} | +[**CreateAutoTagging**](AutoTaggingApi.md#CreateAutoTagging) | **Post** /api/v3/autotagging | +[**DeleteAutoTagging**](AutoTaggingApi.md#DeleteAutoTagging) | **Delete** /api/v3/autotagging/{id} | +[**GetAutoTaggingById**](AutoTaggingApi.md#GetAutoTaggingById) | **Get** /api/v3/autotagging/{id} | +[**GetAutoTaggingSchema**](AutoTaggingApi.md#GetAutoTaggingSchema) | **Get** /api/v3/autotagging/schema | +[**ListAutoTagging**](AutoTaggingApi.md#ListAutoTagging) | **Get** /api/v3/autotagging | +[**UpdateAutoTagging**](AutoTaggingApi.md#UpdateAutoTagging) | **Put** /api/v3/autotagging/{id} | @@ -36,13 +36,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.AutoTaggingAPI.CreateAutoTagging(context.Background()).AutoTaggingResource(autoTaggingResource).Execute() + resp, r, err := apiClient.AutoTaggingApi.CreateAutoTagging(context.Background()).AutoTaggingResource(autoTaggingResource).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `AutoTaggingAPI.CreateAutoTagging``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `AutoTaggingApi.CreateAutoTagging``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `CreateAutoTagging`: AutoTaggingResource - fmt.Fprintf(os.Stdout, "Response from `AutoTaggingAPI.CreateAutoTagging`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `AutoTaggingApi.CreateAutoTagging`: %v\n", resp) } ``` @@ -100,9 +100,9 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.AutoTaggingAPI.DeleteAutoTagging(context.Background(), id).Execute() + resp, r, err := apiClient.AutoTaggingApi.DeleteAutoTagging(context.Background(), id).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `AutoTaggingAPI.DeleteAutoTagging``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `AutoTaggingApi.DeleteAutoTagging``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -166,13 +166,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.AutoTaggingAPI.GetAutoTaggingById(context.Background(), id).Execute() + resp, r, err := apiClient.AutoTaggingApi.GetAutoTaggingById(context.Background(), id).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `AutoTaggingAPI.GetAutoTaggingById``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `AutoTaggingApi.GetAutoTaggingById``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `GetAutoTaggingById`: AutoTaggingResource - fmt.Fprintf(os.Stdout, "Response from `AutoTaggingAPI.GetAutoTaggingById`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `AutoTaggingApi.GetAutoTaggingById`: %v\n", resp) } ``` @@ -233,9 +233,9 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.AutoTaggingAPI.GetAutoTaggingSchema(context.Background()).Execute() + resp, r, err := apiClient.AutoTaggingApi.GetAutoTaggingSchema(context.Background()).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `AutoTaggingAPI.GetAutoTaggingSchema``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `AutoTaggingApi.GetAutoTaggingSchema``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -290,13 +290,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.AutoTaggingAPI.ListAutoTagging(context.Background()).Execute() + resp, r, err := apiClient.AutoTaggingApi.ListAutoTagging(context.Background()).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `AutoTaggingAPI.ListAutoTagging``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `AutoTaggingApi.ListAutoTagging``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `ListAutoTagging`: []AutoTaggingResource - fmt.Fprintf(os.Stdout, "Response from `AutoTaggingAPI.ListAutoTagging`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `AutoTaggingApi.ListAutoTagging`: %v\n", resp) } ``` @@ -351,13 +351,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.AutoTaggingAPI.UpdateAutoTagging(context.Background(), id).AutoTaggingResource(autoTaggingResource).Execute() + resp, r, err := apiClient.AutoTaggingApi.UpdateAutoTagging(context.Background(), id).AutoTaggingResource(autoTaggingResource).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `AutoTaggingAPI.UpdateAutoTagging``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `AutoTaggingApi.UpdateAutoTagging``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `UpdateAutoTagging`: AutoTaggingResource - fmt.Fprintf(os.Stdout, "Response from `AutoTaggingAPI.UpdateAutoTagging`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `AutoTaggingApi.UpdateAutoTagging`: %v\n", resp) } ``` diff --git a/sonarr/docs/BackupAPI.md b/sonarr/docs/BackupApi.md similarity index 86% rename from sonarr/docs/BackupAPI.md rename to sonarr/docs/BackupApi.md index 40ea48f..b5d7edf 100644 --- a/sonarr/docs/BackupAPI.md +++ b/sonarr/docs/BackupApi.md @@ -1,13 +1,13 @@ -# \BackupAPI +# \BackupApi All URIs are relative to *http://localhost:8989* Method | HTTP request | Description ------------- | ------------- | ------------- -[**CreateSystemBackupRestoreById**](BackupAPI.md#CreateSystemBackupRestoreById) | **Post** /api/v3/system/backup/restore/{id} | -[**CreateSystemBackupRestoreUpload**](BackupAPI.md#CreateSystemBackupRestoreUpload) | **Post** /api/v3/system/backup/restore/upload | -[**DeleteSystemBackup**](BackupAPI.md#DeleteSystemBackup) | **Delete** /api/v3/system/backup/{id} | -[**ListSystemBackup**](BackupAPI.md#ListSystemBackup) | **Get** /api/v3/system/backup | +[**CreateSystemBackupRestoreById**](BackupApi.md#CreateSystemBackupRestoreById) | **Post** /api/v3/system/backup/restore/{id} | +[**CreateSystemBackupRestoreUpload**](BackupApi.md#CreateSystemBackupRestoreUpload) | **Post** /api/v3/system/backup/restore/upload | +[**DeleteSystemBackup**](BackupApi.md#DeleteSystemBackup) | **Delete** /api/v3/system/backup/{id} | +[**ListSystemBackup**](BackupApi.md#ListSystemBackup) | **Get** /api/v3/system/backup | @@ -34,9 +34,9 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.BackupAPI.CreateSystemBackupRestoreById(context.Background(), id).Execute() + resp, r, err := apiClient.BackupApi.CreateSystemBackupRestoreById(context.Background(), id).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `BackupAPI.CreateSystemBackupRestoreById``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `BackupApi.CreateSystemBackupRestoreById``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -99,9 +99,9 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.BackupAPI.CreateSystemBackupRestoreUpload(context.Background()).Execute() + resp, r, err := apiClient.BackupApi.CreateSystemBackupRestoreUpload(context.Background()).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `BackupAPI.CreateSystemBackupRestoreUpload``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `BackupApi.CreateSystemBackupRestoreUpload``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -157,9 +157,9 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.BackupAPI.DeleteSystemBackup(context.Background(), id).Execute() + resp, r, err := apiClient.BackupApi.DeleteSystemBackup(context.Background(), id).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `BackupAPI.DeleteSystemBackup``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `BackupApi.DeleteSystemBackup``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -222,13 +222,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.BackupAPI.ListSystemBackup(context.Background()).Execute() + resp, r, err := apiClient.BackupApi.ListSystemBackup(context.Background()).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `BackupAPI.ListSystemBackup``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `BackupApi.ListSystemBackup``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `ListSystemBackup`: []BackupResource - fmt.Fprintf(os.Stdout, "Response from `BackupAPI.ListSystemBackup`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `BackupApi.ListSystemBackup`: %v\n", resp) } ``` diff --git a/sonarr/docs/BlocklistAPI.md b/sonarr/docs/BlocklistApi.md similarity index 86% rename from sonarr/docs/BlocklistAPI.md rename to sonarr/docs/BlocklistApi.md index 8487c61..0a39341 100644 --- a/sonarr/docs/BlocklistAPI.md +++ b/sonarr/docs/BlocklistApi.md @@ -1,12 +1,12 @@ -# \BlocklistAPI +# \BlocklistApi All URIs are relative to *http://localhost:8989* Method | HTTP request | Description ------------- | ------------- | ------------- -[**DeleteBlocklist**](BlocklistAPI.md#DeleteBlocklist) | **Delete** /api/v3/blocklist/{id} | -[**DeleteBlocklistBulk**](BlocklistAPI.md#DeleteBlocklistBulk) | **Delete** /api/v3/blocklist/bulk | -[**GetBlocklist**](BlocklistAPI.md#GetBlocklist) | **Get** /api/v3/blocklist | +[**DeleteBlocklist**](BlocklistApi.md#DeleteBlocklist) | **Delete** /api/v3/blocklist/{id} | +[**DeleteBlocklistBulk**](BlocklistApi.md#DeleteBlocklistBulk) | **Delete** /api/v3/blocklist/bulk | +[**GetBlocklist**](BlocklistApi.md#GetBlocklist) | **Get** /api/v3/blocklist | @@ -33,9 +33,9 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.BlocklistAPI.DeleteBlocklist(context.Background(), id).Execute() + resp, r, err := apiClient.BlocklistApi.DeleteBlocklist(context.Background(), id).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `BlocklistAPI.DeleteBlocklist``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `BlocklistApi.DeleteBlocklist``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -99,9 +99,9 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.BlocklistAPI.DeleteBlocklistBulk(context.Background()).BlocklistBulkResource(blocklistBulkResource).Execute() + resp, r, err := apiClient.BlocklistApi.DeleteBlocklistBulk(context.Background()).BlocklistBulkResource(blocklistBulkResource).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `BlocklistAPI.DeleteBlocklistBulk``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `BlocklistApi.DeleteBlocklistBulk``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -160,13 +160,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.BlocklistAPI.GetBlocklist(context.Background()).Execute() + resp, r, err := apiClient.BlocklistApi.GetBlocklist(context.Background()).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `BlocklistAPI.GetBlocklist``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `BlocklistApi.GetBlocklist``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `GetBlocklist`: BlocklistResourcePagingResource - fmt.Fprintf(os.Stdout, "Response from `BlocklistAPI.GetBlocklist`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `BlocklistApi.GetBlocklist`: %v\n", resp) } ``` diff --git a/sonarr/docs/CalendarAPI.md b/sonarr/docs/CalendarApi.md similarity index 83% rename from sonarr/docs/CalendarAPI.md rename to sonarr/docs/CalendarApi.md index 86a27b0..7ee62d6 100644 --- a/sonarr/docs/CalendarAPI.md +++ b/sonarr/docs/CalendarApi.md @@ -1,11 +1,11 @@ -# \CalendarAPI +# \CalendarApi All URIs are relative to *http://localhost:8989* Method | HTTP request | Description ------------- | ------------- | ------------- -[**GetCalendarById**](CalendarAPI.md#GetCalendarById) | **Get** /api/v3/calendar/{id} | -[**ListCalendar**](CalendarAPI.md#ListCalendar) | **Get** /api/v3/calendar | +[**GetCalendarById**](CalendarApi.md#GetCalendarById) | **Get** /api/v3/calendar/{id} | +[**ListCalendar**](CalendarApi.md#ListCalendar) | **Get** /api/v3/calendar | @@ -32,13 +32,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.CalendarAPI.GetCalendarById(context.Background(), id).Execute() + 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, "Error when calling `CalendarApi.GetCalendarById``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `GetCalendarById`: EpisodeResource - fmt.Fprintf(os.Stdout, "Response from `CalendarAPI.GetCalendarById`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `CalendarApi.GetCalendarById`: %v\n", resp) } ``` @@ -79,7 +79,7 @@ Name | Type | Description | Notes ## ListCalendar -> []EpisodeResource ListCalendar(ctx).Start(start).End(end).Unmonitored(unmonitored).IncludeSeries(includeSeries).IncludeEpisodeFile(includeEpisodeFile).IncludeEpisodeImages(includeEpisodeImages).Tags(tags).Execute() +> []EpisodeResource ListCalendar(ctx).Start(start).End(end).Unmonitored(unmonitored).IncludeSeries(includeSeries).IncludeEpisodeFile(includeEpisodeFile).IncludeEpisodeImages(includeEpisodeImages).Execute() @@ -103,17 +103,16 @@ func main() { includeSeries := true // bool | (optional) (default to false) includeEpisodeFile := true // bool | (optional) (default to false) includeEpisodeImages := true // bool | (optional) (default to false) - tags := "tags_example" // string | (optional) (default to "") configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.CalendarAPI.ListCalendar(context.Background()).Start(start).End(end).Unmonitored(unmonitored).IncludeSeries(includeSeries).IncludeEpisodeFile(includeEpisodeFile).IncludeEpisodeImages(includeEpisodeImages).Tags(tags).Execute() + resp, r, err := apiClient.CalendarApi.ListCalendar(context.Background()).Start(start).End(end).Unmonitored(unmonitored).IncludeSeries(includeSeries).IncludeEpisodeFile(includeEpisodeFile).IncludeEpisodeImages(includeEpisodeImages).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `CalendarAPI.ListCalendar``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `CalendarApi.ListCalendar``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `ListCalendar`: []EpisodeResource - fmt.Fprintf(os.Stdout, "Response from `CalendarAPI.ListCalendar`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `CalendarApi.ListCalendar`: %v\n", resp) } ``` @@ -134,7 +133,6 @@ Name | Type | Description | Notes **includeSeries** | **bool** | | [default to false] **includeEpisodeFile** | **bool** | | [default to false] **includeEpisodeImages** | **bool** | | [default to false] - **tags** | **string** | | [default to ""] ### Return type diff --git a/sonarr/docs/CalendarFeedAPI.md b/sonarr/docs/CalendarFeedApi.md similarity index 78% rename from sonarr/docs/CalendarFeedAPI.md rename to sonarr/docs/CalendarFeedApi.md index a8ea9ad..7553ed3 100644 --- a/sonarr/docs/CalendarFeedAPI.md +++ b/sonarr/docs/CalendarFeedApi.md @@ -1,16 +1,16 @@ -# \CalendarFeedAPI +# \CalendarFeedApi All URIs are relative to *http://localhost:8989* Method | HTTP request | Description ------------- | ------------- | ------------- -[**GetFeedV3CalendarSonarrIcs**](CalendarFeedAPI.md#GetFeedV3CalendarSonarrIcs) | **Get** /feed/v3/calendar/sonarr.ics | +[**GetFeedV3CalendarSonarrIcs**](CalendarFeedApi.md#GetFeedV3CalendarSonarrIcs) | **Get** /feed/v3/calendar/sonarr.ics | ## GetFeedV3CalendarSonarrIcs -> GetFeedV3CalendarSonarrIcs(ctx).PastDays(pastDays).FutureDays(futureDays).Tags(tags).Unmonitored(unmonitored).PremieresOnly(premieresOnly).AsAllDay(asAllDay).Execute() +> GetFeedV3CalendarSonarrIcs(ctx).PastDays(pastDays).FutureDays(futureDays).TagList(tagList).Unmonitored(unmonitored).PremieresOnly(premieresOnly).AsAllDay(asAllDay).Execute() @@ -29,16 +29,16 @@ import ( func main() { pastDays := int32(56) // int32 | (optional) (default to 7) futureDays := int32(56) // int32 | (optional) (default to 28) - tags := "tags_example" // string | (optional) (default to "") + tagList := "tagList_example" // string | (optional) (default to "") unmonitored := true // bool | (optional) (default to false) premieresOnly := true // bool | (optional) (default to false) asAllDay := true // bool | (optional) (default to false) configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.CalendarFeedAPI.GetFeedV3CalendarSonarrIcs(context.Background()).PastDays(pastDays).FutureDays(futureDays).Tags(tags).Unmonitored(unmonitored).PremieresOnly(premieresOnly).AsAllDay(asAllDay).Execute() + resp, r, err := apiClient.CalendarFeedApi.GetFeedV3CalendarSonarrIcs(context.Background()).PastDays(pastDays).FutureDays(futureDays).TagList(tagList).Unmonitored(unmonitored).PremieresOnly(premieresOnly).AsAllDay(asAllDay).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `CalendarFeedAPI.GetFeedV3CalendarSonarrIcs``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `CalendarFeedApi.GetFeedV3CalendarSonarrIcs``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -57,7 +57,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pastDays** | **int32** | | [default to 7] **futureDays** | **int32** | | [default to 28] - **tags** | **string** | | [default to ""] + **tagList** | **string** | | [default to ""] **unmonitored** | **bool** | | [default to false] **premieresOnly** | **bool** | | [default to false] **asAllDay** | **bool** | | [default to false] diff --git a/sonarr/docs/CommandAPI.md b/sonarr/docs/CommandApi.md similarity index 85% rename from sonarr/docs/CommandAPI.md rename to sonarr/docs/CommandApi.md index bdd4442..1178dc6 100644 --- a/sonarr/docs/CommandAPI.md +++ b/sonarr/docs/CommandApi.md @@ -1,13 +1,13 @@ -# \CommandAPI +# \CommandApi All URIs are relative to *http://localhost:8989* Method | HTTP request | Description ------------- | ------------- | ------------- -[**CreateCommand**](CommandAPI.md#CreateCommand) | **Post** /api/v3/command | -[**DeleteCommand**](CommandAPI.md#DeleteCommand) | **Delete** /api/v3/command/{id} | -[**GetCommandById**](CommandAPI.md#GetCommandById) | **Get** /api/v3/command/{id} | -[**ListCommand**](CommandAPI.md#ListCommand) | **Get** /api/v3/command | +[**CreateCommand**](CommandApi.md#CreateCommand) | **Post** /api/v3/command | +[**DeleteCommand**](CommandApi.md#DeleteCommand) | **Delete** /api/v3/command/{id} | +[**GetCommandById**](CommandApi.md#GetCommandById) | **Get** /api/v3/command/{id} | +[**ListCommand**](CommandApi.md#ListCommand) | **Get** /api/v3/command | @@ -34,13 +34,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.CommandAPI.CreateCommand(context.Background()).CommandResource(commandResource).Execute() + resp, r, err := apiClient.CommandApi.CreateCommand(context.Background()).CommandResource(commandResource).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `CommandAPI.CreateCommand``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `CommandApi.CreateCommand``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `CreateCommand`: CommandResource - fmt.Fprintf(os.Stdout, "Response from `CommandAPI.CreateCommand`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `CommandApi.CreateCommand`: %v\n", resp) } ``` @@ -98,9 +98,9 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.CommandAPI.DeleteCommand(context.Background(), id).Execute() + resp, r, err := apiClient.CommandApi.DeleteCommand(context.Background(), id).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `CommandAPI.DeleteCommand``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `CommandApi.DeleteCommand``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -164,13 +164,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.CommandAPI.GetCommandById(context.Background(), id).Execute() + resp, r, err := apiClient.CommandApi.GetCommandById(context.Background(), id).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `CommandAPI.GetCommandById``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `CommandApi.GetCommandById``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `GetCommandById`: CommandResource - fmt.Fprintf(os.Stdout, "Response from `CommandAPI.GetCommandById`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `CommandApi.GetCommandById`: %v\n", resp) } ``` @@ -231,13 +231,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.CommandAPI.ListCommand(context.Background()).Execute() + resp, r, err := apiClient.CommandApi.ListCommand(context.Background()).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `CommandAPI.ListCommand``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `CommandApi.ListCommand``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `ListCommand`: []CommandResource - fmt.Fprintf(os.Stdout, "Response from `CommandAPI.ListCommand`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `CommandApi.ListCommand`: %v\n", resp) } ``` diff --git a/sonarr/docs/CommandResource.md b/sonarr/docs/CommandResource.md index 30d0efc..97588cc 100644 --- a/sonarr/docs/CommandResource.md +++ b/sonarr/docs/CommandResource.md @@ -11,7 +11,6 @@ Name | Type | Description | Notes **Body** | Pointer to [**Command**](Command.md) | | [optional] **Priority** | Pointer to [**CommandPriority**](CommandPriority.md) | | [optional] **Status** | Pointer to [**CommandStatus**](CommandStatus.md) | | [optional] -**Result** | Pointer to [**CommandResult**](CommandResult.md) | | [optional] **Queued** | Pointer to **time.Time** | | [optional] **Started** | Pointer to **NullableTime** | | [optional] **Ended** | Pointer to **NullableTime** | | [optional] @@ -248,31 +247,6 @@ SetStatus sets Status field to given value. HasStatus returns a boolean if a field has been set. -### GetResult - -`func (o *CommandResource) GetResult() CommandResult` - -GetResult returns the Result field if non-nil, zero value otherwise. - -### GetResultOk - -`func (o *CommandResource) GetResultOk() (*CommandResult, bool)` - -GetResultOk returns a tuple with the Result field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetResult - -`func (o *CommandResource) SetResult(v CommandResult)` - -SetResult sets Result field to given value. - -### HasResult - -`func (o *CommandResource) HasResult() bool` - -HasResult returns a boolean if a field has been set. - ### GetQueued `func (o *CommandResource) GetQueued() time.Time` diff --git a/sonarr/docs/CommandResult.md b/sonarr/docs/CommandResult.md deleted file mode 100644 index 1c88719..0000000 --- a/sonarr/docs/CommandResult.md +++ /dev/null @@ -1,15 +0,0 @@ -# CommandResult - -## Enum - - -* `UNKNOWN` (value: `"unknown"`) - -* `SUCCESSFUL` (value: `"successful"`) - -* `UNSUCCESSFUL` (value: `"unsuccessful"`) - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/sonarr/docs/CustomFilterAPI.md b/sonarr/docs/CustomFilterApi.md similarity index 87% rename from sonarr/docs/CustomFilterAPI.md rename to sonarr/docs/CustomFilterApi.md index 7bfa2f9..18f53c2 100644 --- a/sonarr/docs/CustomFilterAPI.md +++ b/sonarr/docs/CustomFilterApi.md @@ -1,14 +1,14 @@ -# \CustomFilterAPI +# \CustomFilterApi All URIs are relative to *http://localhost:8989* Method | HTTP request | Description ------------- | ------------- | ------------- -[**CreateCustomFilter**](CustomFilterAPI.md#CreateCustomFilter) | **Post** /api/v3/customfilter | -[**DeleteCustomFilter**](CustomFilterAPI.md#DeleteCustomFilter) | **Delete** /api/v3/customfilter/{id} | -[**GetCustomFilterById**](CustomFilterAPI.md#GetCustomFilterById) | **Get** /api/v3/customfilter/{id} | -[**ListCustomFilter**](CustomFilterAPI.md#ListCustomFilter) | **Get** /api/v3/customfilter | -[**UpdateCustomFilter**](CustomFilterAPI.md#UpdateCustomFilter) | **Put** /api/v3/customfilter/{id} | +[**CreateCustomFilter**](CustomFilterApi.md#CreateCustomFilter) | **Post** /api/v3/customfilter | +[**DeleteCustomFilter**](CustomFilterApi.md#DeleteCustomFilter) | **Delete** /api/v3/customfilter/{id} | +[**GetCustomFilterById**](CustomFilterApi.md#GetCustomFilterById) | **Get** /api/v3/customfilter/{id} | +[**ListCustomFilter**](CustomFilterApi.md#ListCustomFilter) | **Get** /api/v3/customfilter | +[**UpdateCustomFilter**](CustomFilterApi.md#UpdateCustomFilter) | **Put** /api/v3/customfilter/{id} | @@ -35,13 +35,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.CustomFilterAPI.CreateCustomFilter(context.Background()).CustomFilterResource(customFilterResource).Execute() + resp, r, err := apiClient.CustomFilterApi.CreateCustomFilter(context.Background()).CustomFilterResource(customFilterResource).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `CustomFilterAPI.CreateCustomFilter``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `CustomFilterApi.CreateCustomFilter``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `CreateCustomFilter`: CustomFilterResource - fmt.Fprintf(os.Stdout, "Response from `CustomFilterAPI.CreateCustomFilter`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `CustomFilterApi.CreateCustomFilter`: %v\n", resp) } ``` @@ -99,9 +99,9 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.CustomFilterAPI.DeleteCustomFilter(context.Background(), id).Execute() + resp, r, err := apiClient.CustomFilterApi.DeleteCustomFilter(context.Background(), id).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `CustomFilterAPI.DeleteCustomFilter``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `CustomFilterApi.DeleteCustomFilter``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -165,13 +165,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.CustomFilterAPI.GetCustomFilterById(context.Background(), id).Execute() + resp, r, err := apiClient.CustomFilterApi.GetCustomFilterById(context.Background(), id).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `CustomFilterAPI.GetCustomFilterById``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `CustomFilterApi.GetCustomFilterById``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `GetCustomFilterById`: CustomFilterResource - fmt.Fprintf(os.Stdout, "Response from `CustomFilterAPI.GetCustomFilterById`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `CustomFilterApi.GetCustomFilterById`: %v\n", resp) } ``` @@ -232,13 +232,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.CustomFilterAPI.ListCustomFilter(context.Background()).Execute() + resp, r, err := apiClient.CustomFilterApi.ListCustomFilter(context.Background()).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `CustomFilterAPI.ListCustomFilter``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `CustomFilterApi.ListCustomFilter``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `ListCustomFilter`: []CustomFilterResource - fmt.Fprintf(os.Stdout, "Response from `CustomFilterAPI.ListCustomFilter`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `CustomFilterApi.ListCustomFilter`: %v\n", resp) } ``` @@ -293,13 +293,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.CustomFilterAPI.UpdateCustomFilter(context.Background(), id).CustomFilterResource(customFilterResource).Execute() + resp, r, err := apiClient.CustomFilterApi.UpdateCustomFilter(context.Background(), id).CustomFilterResource(customFilterResource).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `CustomFilterAPI.UpdateCustomFilter``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `CustomFilterApi.UpdateCustomFilter``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `UpdateCustomFilter`: CustomFilterResource - fmt.Fprintf(os.Stdout, "Response from `CustomFilterAPI.UpdateCustomFilter`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `CustomFilterApi.UpdateCustomFilter`: %v\n", resp) } ``` diff --git a/sonarr/docs/CustomFormatAPI.md b/sonarr/docs/CustomFormatApi.md similarity index 87% rename from sonarr/docs/CustomFormatAPI.md rename to sonarr/docs/CustomFormatApi.md index ec419e1..ae46347 100644 --- a/sonarr/docs/CustomFormatAPI.md +++ b/sonarr/docs/CustomFormatApi.md @@ -1,15 +1,15 @@ -# \CustomFormatAPI +# \CustomFormatApi All URIs are relative to *http://localhost:8989* Method | HTTP request | Description ------------- | ------------- | ------------- -[**CreateCustomFormat**](CustomFormatAPI.md#CreateCustomFormat) | **Post** /api/v3/customformat | -[**DeleteCustomFormat**](CustomFormatAPI.md#DeleteCustomFormat) | **Delete** /api/v3/customformat/{id} | -[**GetCustomFormatById**](CustomFormatAPI.md#GetCustomFormatById) | **Get** /api/v3/customformat/{id} | -[**GetCustomFormatSchema**](CustomFormatAPI.md#GetCustomFormatSchema) | **Get** /api/v3/customformat/schema | -[**ListCustomFormat**](CustomFormatAPI.md#ListCustomFormat) | **Get** /api/v3/customformat | -[**UpdateCustomFormat**](CustomFormatAPI.md#UpdateCustomFormat) | **Put** /api/v3/customformat/{id} | +[**CreateCustomFormat**](CustomFormatApi.md#CreateCustomFormat) | **Post** /api/v3/customformat | +[**DeleteCustomFormat**](CustomFormatApi.md#DeleteCustomFormat) | **Delete** /api/v3/customformat/{id} | +[**GetCustomFormatById**](CustomFormatApi.md#GetCustomFormatById) | **Get** /api/v3/customformat/{id} | +[**GetCustomFormatSchema**](CustomFormatApi.md#GetCustomFormatSchema) | **Get** /api/v3/customformat/schema | +[**ListCustomFormat**](CustomFormatApi.md#ListCustomFormat) | **Get** /api/v3/customformat | +[**UpdateCustomFormat**](CustomFormatApi.md#UpdateCustomFormat) | **Put** /api/v3/customformat/{id} | @@ -36,13 +36,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.CustomFormatAPI.CreateCustomFormat(context.Background()).CustomFormatResource(customFormatResource).Execute() + resp, r, err := apiClient.CustomFormatApi.CreateCustomFormat(context.Background()).CustomFormatResource(customFormatResource).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `CustomFormatAPI.CreateCustomFormat``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `CustomFormatApi.CreateCustomFormat``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `CreateCustomFormat`: CustomFormatResource - fmt.Fprintf(os.Stdout, "Response from `CustomFormatAPI.CreateCustomFormat`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `CustomFormatApi.CreateCustomFormat`: %v\n", resp) } ``` @@ -100,9 +100,9 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.CustomFormatAPI.DeleteCustomFormat(context.Background(), id).Execute() + resp, r, err := apiClient.CustomFormatApi.DeleteCustomFormat(context.Background(), id).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `CustomFormatAPI.DeleteCustomFormat``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `CustomFormatApi.DeleteCustomFormat``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -166,13 +166,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.CustomFormatAPI.GetCustomFormatById(context.Background(), id).Execute() + resp, r, err := apiClient.CustomFormatApi.GetCustomFormatById(context.Background(), id).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `CustomFormatAPI.GetCustomFormatById``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `CustomFormatApi.GetCustomFormatById``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `GetCustomFormatById`: CustomFormatResource - fmt.Fprintf(os.Stdout, "Response from `CustomFormatAPI.GetCustomFormatById`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `CustomFormatApi.GetCustomFormatById`: %v\n", resp) } ``` @@ -233,9 +233,9 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.CustomFormatAPI.GetCustomFormatSchema(context.Background()).Execute() + resp, r, err := apiClient.CustomFormatApi.GetCustomFormatSchema(context.Background()).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `CustomFormatAPI.GetCustomFormatSchema``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `CustomFormatApi.GetCustomFormatSchema``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -290,13 +290,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.CustomFormatAPI.ListCustomFormat(context.Background()).Execute() + resp, r, err := apiClient.CustomFormatApi.ListCustomFormat(context.Background()).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `CustomFormatAPI.ListCustomFormat``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `CustomFormatApi.ListCustomFormat``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `ListCustomFormat`: []CustomFormatResource - fmt.Fprintf(os.Stdout, "Response from `CustomFormatAPI.ListCustomFormat`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `CustomFormatApi.ListCustomFormat`: %v\n", resp) } ``` @@ -351,13 +351,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.CustomFormatAPI.UpdateCustomFormat(context.Background(), id).CustomFormatResource(customFormatResource).Execute() + resp, r, err := apiClient.CustomFormatApi.UpdateCustomFormat(context.Background(), id).CustomFormatResource(customFormatResource).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `CustomFormatAPI.UpdateCustomFormat``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `CustomFormatApi.UpdateCustomFormat``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `UpdateCustomFormat`: CustomFormatResource - fmt.Fprintf(os.Stdout, "Response from `CustomFormatAPI.UpdateCustomFormat`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `CustomFormatApi.UpdateCustomFormat`: %v\n", resp) } ``` diff --git a/sonarr/docs/CutoffAPI.md b/sonarr/docs/CutoffApi.md similarity index 87% rename from sonarr/docs/CutoffAPI.md rename to sonarr/docs/CutoffApi.md index 957b292..f4ec2de 100644 --- a/sonarr/docs/CutoffAPI.md +++ b/sonarr/docs/CutoffApi.md @@ -1,11 +1,11 @@ -# \CutoffAPI +# \CutoffApi All URIs are relative to *http://localhost:8989* Method | HTTP request | Description ------------- | ------------- | ------------- -[**GetWantedCutoff**](CutoffAPI.md#GetWantedCutoff) | **Get** /api/v3/wanted/cutoff | -[**GetWantedCutoffById**](CutoffAPI.md#GetWantedCutoffById) | **Get** /api/v3/wanted/cutoff/{id} | +[**GetWantedCutoff**](CutoffApi.md#GetWantedCutoff) | **Get** /api/v3/wanted/cutoff | +[**GetWantedCutoffById**](CutoffApi.md#GetWantedCutoffById) | **Get** /api/v3/wanted/cutoff/{id} | @@ -34,13 +34,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.CutoffAPI.GetWantedCutoff(context.Background()).IncludeSeries(includeSeries).IncludeEpisodeFile(includeEpisodeFile).IncludeImages(includeImages).Execute() + resp, r, err := apiClient.CutoffApi.GetWantedCutoff(context.Background()).IncludeSeries(includeSeries).IncludeEpisodeFile(includeEpisodeFile).IncludeImages(includeImages).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `CutoffAPI.GetWantedCutoff``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `CutoffApi.GetWantedCutoff``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `GetWantedCutoff`: EpisodeResourcePagingResource - fmt.Fprintf(os.Stdout, "Response from `CutoffAPI.GetWantedCutoff`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `CutoffApi.GetWantedCutoff`: %v\n", resp) } ``` @@ -100,13 +100,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.CutoffAPI.GetWantedCutoffById(context.Background(), id).Execute() + resp, r, err := apiClient.CutoffApi.GetWantedCutoffById(context.Background(), id).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `CutoffAPI.GetWantedCutoffById``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `CutoffApi.GetWantedCutoffById``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `GetWantedCutoffById`: EpisodeResource - fmt.Fprintf(os.Stdout, "Response from `CutoffAPI.GetWantedCutoffById`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `CutoffApi.GetWantedCutoffById`: %v\n", resp) } ``` diff --git a/sonarr/docs/DelayProfileAPI.md b/sonarr/docs/DelayProfileApi.md similarity index 87% rename from sonarr/docs/DelayProfileAPI.md rename to sonarr/docs/DelayProfileApi.md index 5868296..60a6860 100644 --- a/sonarr/docs/DelayProfileAPI.md +++ b/sonarr/docs/DelayProfileApi.md @@ -1,15 +1,15 @@ -# \DelayProfileAPI +# \DelayProfileApi All URIs are relative to *http://localhost:8989* Method | HTTP request | Description ------------- | ------------- | ------------- -[**CreateDelayProfile**](DelayProfileAPI.md#CreateDelayProfile) | **Post** /api/v3/delayprofile | -[**DeleteDelayProfile**](DelayProfileAPI.md#DeleteDelayProfile) | **Delete** /api/v3/delayprofile/{id} | -[**GetDelayProfileById**](DelayProfileAPI.md#GetDelayProfileById) | **Get** /api/v3/delayprofile/{id} | -[**ListDelayProfile**](DelayProfileAPI.md#ListDelayProfile) | **Get** /api/v3/delayprofile | -[**UpdateDelayProfile**](DelayProfileAPI.md#UpdateDelayProfile) | **Put** /api/v3/delayprofile/{id} | -[**UpdateDelayProfileReorder**](DelayProfileAPI.md#UpdateDelayProfileReorder) | **Put** /api/v3/delayprofile/reorder/{id} | +[**CreateDelayProfile**](DelayProfileApi.md#CreateDelayProfile) | **Post** /api/v3/delayprofile | +[**DeleteDelayProfile**](DelayProfileApi.md#DeleteDelayProfile) | **Delete** /api/v3/delayprofile/{id} | +[**GetDelayProfileById**](DelayProfileApi.md#GetDelayProfileById) | **Get** /api/v3/delayprofile/{id} | +[**ListDelayProfile**](DelayProfileApi.md#ListDelayProfile) | **Get** /api/v3/delayprofile | +[**UpdateDelayProfile**](DelayProfileApi.md#UpdateDelayProfile) | **Put** /api/v3/delayprofile/{id} | +[**UpdateDelayProfileReorder**](DelayProfileApi.md#UpdateDelayProfileReorder) | **Put** /api/v3/delayprofile/reorder/{id} | @@ -36,13 +36,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.DelayProfileAPI.CreateDelayProfile(context.Background()).DelayProfileResource(delayProfileResource).Execute() + resp, r, err := apiClient.DelayProfileApi.CreateDelayProfile(context.Background()).DelayProfileResource(delayProfileResource).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `DelayProfileAPI.CreateDelayProfile``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `DelayProfileApi.CreateDelayProfile``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `CreateDelayProfile`: DelayProfileResource - fmt.Fprintf(os.Stdout, "Response from `DelayProfileAPI.CreateDelayProfile`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `DelayProfileApi.CreateDelayProfile`: %v\n", resp) } ``` @@ -100,9 +100,9 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.DelayProfileAPI.DeleteDelayProfile(context.Background(), id).Execute() + resp, r, err := apiClient.DelayProfileApi.DeleteDelayProfile(context.Background(), id).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `DelayProfileAPI.DeleteDelayProfile``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `DelayProfileApi.DeleteDelayProfile``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -166,13 +166,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.DelayProfileAPI.GetDelayProfileById(context.Background(), id).Execute() + resp, r, err := apiClient.DelayProfileApi.GetDelayProfileById(context.Background(), id).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `DelayProfileAPI.GetDelayProfileById``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `DelayProfileApi.GetDelayProfileById``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `GetDelayProfileById`: DelayProfileResource - fmt.Fprintf(os.Stdout, "Response from `DelayProfileAPI.GetDelayProfileById`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `DelayProfileApi.GetDelayProfileById`: %v\n", resp) } ``` @@ -233,13 +233,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.DelayProfileAPI.ListDelayProfile(context.Background()).Execute() + resp, r, err := apiClient.DelayProfileApi.ListDelayProfile(context.Background()).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `DelayProfileAPI.ListDelayProfile``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `DelayProfileApi.ListDelayProfile``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `ListDelayProfile`: []DelayProfileResource - fmt.Fprintf(os.Stdout, "Response from `DelayProfileAPI.ListDelayProfile`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `DelayProfileApi.ListDelayProfile`: %v\n", resp) } ``` @@ -294,13 +294,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.DelayProfileAPI.UpdateDelayProfile(context.Background(), id).DelayProfileResource(delayProfileResource).Execute() + resp, r, err := apiClient.DelayProfileApi.UpdateDelayProfile(context.Background(), id).DelayProfileResource(delayProfileResource).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `DelayProfileAPI.UpdateDelayProfile``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `DelayProfileApi.UpdateDelayProfile``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `UpdateDelayProfile`: DelayProfileResource - fmt.Fprintf(os.Stdout, "Response from `DelayProfileAPI.UpdateDelayProfile`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `DelayProfileApi.UpdateDelayProfile`: %v\n", resp) } ``` @@ -364,13 +364,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.DelayProfileAPI.UpdateDelayProfileReorder(context.Background(), id).After(after).Execute() + resp, r, err := apiClient.DelayProfileApi.UpdateDelayProfileReorder(context.Background(), id).After(after).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `DelayProfileAPI.UpdateDelayProfileReorder``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `DelayProfileApi.UpdateDelayProfileReorder``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `UpdateDelayProfileReorder`: []DelayProfileResource - fmt.Fprintf(os.Stdout, "Response from `DelayProfileAPI.UpdateDelayProfileReorder`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `DelayProfileApi.UpdateDelayProfileReorder`: %v\n", resp) } ``` diff --git a/sonarr/docs/DiskSpaceAPI.md b/sonarr/docs/DiskSpaceApi.md similarity index 82% rename from sonarr/docs/DiskSpaceAPI.md rename to sonarr/docs/DiskSpaceApi.md index c79a15b..02e3e08 100644 --- a/sonarr/docs/DiskSpaceAPI.md +++ b/sonarr/docs/DiskSpaceApi.md @@ -1,10 +1,10 @@ -# \DiskSpaceAPI +# \DiskSpaceApi All URIs are relative to *http://localhost:8989* Method | HTTP request | Description ------------- | ------------- | ------------- -[**ListDiskSpace**](DiskSpaceAPI.md#ListDiskSpace) | **Get** /api/v3/diskspace | +[**ListDiskSpace**](DiskSpaceApi.md#ListDiskSpace) | **Get** /api/v3/diskspace | @@ -30,13 +30,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.DiskSpaceAPI.ListDiskSpace(context.Background()).Execute() + resp, r, err := apiClient.DiskSpaceApi.ListDiskSpace(context.Background()).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `DiskSpaceAPI.ListDiskSpace``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `DiskSpaceApi.ListDiskSpace``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `ListDiskSpace`: []DiskSpaceResource - fmt.Fprintf(os.Stdout, "Response from `DiskSpaceAPI.ListDiskSpace`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `DiskSpaceApi.ListDiskSpace`: %v\n", resp) } ``` diff --git a/sonarr/docs/DownloadClientAPI.md b/sonarr/docs/DownloadClientApi.md similarity index 88% rename from sonarr/docs/DownloadClientAPI.md rename to sonarr/docs/DownloadClientApi.md index d7d5a84..26c09a3 100644 --- a/sonarr/docs/DownloadClientAPI.md +++ b/sonarr/docs/DownloadClientApi.md @@ -1,18 +1,18 @@ -# \DownloadClientAPI +# \DownloadClientApi All URIs are relative to *http://localhost:8989* Method | HTTP request | Description ------------- | ------------- | ------------- -[**CreateDownloadClient**](DownloadClientAPI.md#CreateDownloadClient) | **Post** /api/v3/downloadclient | -[**CreateDownloadClientActionByName**](DownloadClientAPI.md#CreateDownloadClientActionByName) | **Post** /api/v3/downloadclient/action/{name} | -[**DeleteDownloadClient**](DownloadClientAPI.md#DeleteDownloadClient) | **Delete** /api/v3/downloadclient/{id} | -[**GetDownloadClientById**](DownloadClientAPI.md#GetDownloadClientById) | **Get** /api/v3/downloadclient/{id} | -[**ListDownloadClient**](DownloadClientAPI.md#ListDownloadClient) | **Get** /api/v3/downloadclient | -[**ListDownloadClientSchema**](DownloadClientAPI.md#ListDownloadClientSchema) | **Get** /api/v3/downloadclient/schema | -[**TestDownloadClient**](DownloadClientAPI.md#TestDownloadClient) | **Post** /api/v3/downloadclient/test | -[**TestallDownloadClient**](DownloadClientAPI.md#TestallDownloadClient) | **Post** /api/v3/downloadclient/testall | -[**UpdateDownloadClient**](DownloadClientAPI.md#UpdateDownloadClient) | **Put** /api/v3/downloadclient/{id} | +[**CreateDownloadClient**](DownloadClientApi.md#CreateDownloadClient) | **Post** /api/v3/downloadclient | +[**CreateDownloadClientActionByName**](DownloadClientApi.md#CreateDownloadClientActionByName) | **Post** /api/v3/downloadclient/action/{name} | +[**DeleteDownloadClient**](DownloadClientApi.md#DeleteDownloadClient) | **Delete** /api/v3/downloadclient/{id} | +[**GetDownloadClientById**](DownloadClientApi.md#GetDownloadClientById) | **Get** /api/v3/downloadclient/{id} | +[**ListDownloadClient**](DownloadClientApi.md#ListDownloadClient) | **Get** /api/v3/downloadclient | +[**ListDownloadClientSchema**](DownloadClientApi.md#ListDownloadClientSchema) | **Get** /api/v3/downloadclient/schema | +[**TestDownloadClient**](DownloadClientApi.md#TestDownloadClient) | **Post** /api/v3/downloadclient/test | +[**TestallDownloadClient**](DownloadClientApi.md#TestallDownloadClient) | **Post** /api/v3/downloadclient/testall | +[**UpdateDownloadClient**](DownloadClientApi.md#UpdateDownloadClient) | **Put** /api/v3/downloadclient/{id} | @@ -39,13 +39,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.DownloadClientAPI.CreateDownloadClient(context.Background()).DownloadClientResource(downloadClientResource).Execute() + resp, r, err := apiClient.DownloadClientApi.CreateDownloadClient(context.Background()).DownloadClientResource(downloadClientResource).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `DownloadClientAPI.CreateDownloadClient``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `DownloadClientApi.CreateDownloadClient``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `CreateDownloadClient`: DownloadClientResource - fmt.Fprintf(os.Stdout, "Response from `DownloadClientAPI.CreateDownloadClient`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `DownloadClientApi.CreateDownloadClient`: %v\n", resp) } ``` @@ -104,9 +104,9 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.DownloadClientAPI.CreateDownloadClientActionByName(context.Background(), name).DownloadClientResource(downloadClientResource).Execute() + resp, r, err := apiClient.DownloadClientApi.CreateDownloadClientActionByName(context.Background(), name).DownloadClientResource(downloadClientResource).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `DownloadClientAPI.CreateDownloadClientActionByName``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `DownloadClientApi.CreateDownloadClientActionByName``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -171,9 +171,9 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.DownloadClientAPI.DeleteDownloadClient(context.Background(), id).Execute() + resp, r, err := apiClient.DownloadClientApi.DeleteDownloadClient(context.Background(), id).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `DownloadClientAPI.DeleteDownloadClient``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `DownloadClientApi.DeleteDownloadClient``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -237,13 +237,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.DownloadClientAPI.GetDownloadClientById(context.Background(), id).Execute() + resp, r, err := apiClient.DownloadClientApi.GetDownloadClientById(context.Background(), id).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `DownloadClientAPI.GetDownloadClientById``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `DownloadClientApi.GetDownloadClientById``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `GetDownloadClientById`: DownloadClientResource - fmt.Fprintf(os.Stdout, "Response from `DownloadClientAPI.GetDownloadClientById`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `DownloadClientApi.GetDownloadClientById`: %v\n", resp) } ``` @@ -304,13 +304,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.DownloadClientAPI.ListDownloadClient(context.Background()).Execute() + resp, r, err := apiClient.DownloadClientApi.ListDownloadClient(context.Background()).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `DownloadClientAPI.ListDownloadClient``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `DownloadClientApi.ListDownloadClient``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `ListDownloadClient`: []DownloadClientResource - fmt.Fprintf(os.Stdout, "Response from `DownloadClientAPI.ListDownloadClient`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `DownloadClientApi.ListDownloadClient`: %v\n", resp) } ``` @@ -363,13 +363,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.DownloadClientAPI.ListDownloadClientSchema(context.Background()).Execute() + resp, r, err := apiClient.DownloadClientApi.ListDownloadClientSchema(context.Background()).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `DownloadClientAPI.ListDownloadClientSchema``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `DownloadClientApi.ListDownloadClientSchema``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `ListDownloadClientSchema`: []DownloadClientResource - fmt.Fprintf(os.Stdout, "Response from `DownloadClientAPI.ListDownloadClientSchema`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `DownloadClientApi.ListDownloadClientSchema`: %v\n", resp) } ``` @@ -423,9 +423,9 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.DownloadClientAPI.TestDownloadClient(context.Background()).DownloadClientResource(downloadClientResource).Execute() + resp, r, err := apiClient.DownloadClientApi.TestDownloadClient(context.Background()).DownloadClientResource(downloadClientResource).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `DownloadClientAPI.TestDownloadClient``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `DownloadClientApi.TestDownloadClient``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -484,9 +484,9 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.DownloadClientAPI.TestallDownloadClient(context.Background()).Execute() + resp, r, err := apiClient.DownloadClientApi.TestallDownloadClient(context.Background()).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `DownloadClientAPI.TestallDownloadClient``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `DownloadClientApi.TestallDownloadClient``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -543,13 +543,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.DownloadClientAPI.UpdateDownloadClient(context.Background(), id).DownloadClientResource(downloadClientResource).Execute() + resp, r, err := apiClient.DownloadClientApi.UpdateDownloadClient(context.Background(), id).DownloadClientResource(downloadClientResource).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `DownloadClientAPI.UpdateDownloadClient``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `DownloadClientApi.UpdateDownloadClient``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `UpdateDownloadClient`: DownloadClientResource - fmt.Fprintf(os.Stdout, "Response from `DownloadClientAPI.UpdateDownloadClient`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `DownloadClientApi.UpdateDownloadClient`: %v\n", resp) } ``` diff --git a/sonarr/docs/DownloadClientConfigAPI.md b/sonarr/docs/DownloadClientConfigApi.md similarity index 88% rename from sonarr/docs/DownloadClientConfigAPI.md rename to sonarr/docs/DownloadClientConfigApi.md index 02ede9a..089f907 100644 --- a/sonarr/docs/DownloadClientConfigAPI.md +++ b/sonarr/docs/DownloadClientConfigApi.md @@ -1,12 +1,12 @@ -# \DownloadClientConfigAPI +# \DownloadClientConfigApi All URIs are relative to *http://localhost:8989* Method | HTTP request | Description ------------- | ------------- | ------------- -[**GetDownloadClientConfig**](DownloadClientConfigAPI.md#GetDownloadClientConfig) | **Get** /api/v3/config/downloadclient | -[**GetDownloadClientConfigById**](DownloadClientConfigAPI.md#GetDownloadClientConfigById) | **Get** /api/v3/config/downloadclient/{id} | -[**UpdateDownloadClientConfig**](DownloadClientConfigAPI.md#UpdateDownloadClientConfig) | **Put** /api/v3/config/downloadclient/{id} | +[**GetDownloadClientConfig**](DownloadClientConfigApi.md#GetDownloadClientConfig) | **Get** /api/v3/config/downloadclient | +[**GetDownloadClientConfigById**](DownloadClientConfigApi.md#GetDownloadClientConfigById) | **Get** /api/v3/config/downloadclient/{id} | +[**UpdateDownloadClientConfig**](DownloadClientConfigApi.md#UpdateDownloadClientConfig) | **Put** /api/v3/config/downloadclient/{id} | @@ -32,13 +32,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.DownloadClientConfigAPI.GetDownloadClientConfig(context.Background()).Execute() + resp, r, err := apiClient.DownloadClientConfigApi.GetDownloadClientConfig(context.Background()).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `DownloadClientConfigAPI.GetDownloadClientConfig``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `DownloadClientConfigApi.GetDownloadClientConfig``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `GetDownloadClientConfig`: DownloadClientConfigResource - fmt.Fprintf(os.Stdout, "Response from `DownloadClientConfigAPI.GetDownloadClientConfig`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `DownloadClientConfigApi.GetDownloadClientConfig`: %v\n", resp) } ``` @@ -92,13 +92,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.DownloadClientConfigAPI.GetDownloadClientConfigById(context.Background(), id).Execute() + resp, r, err := apiClient.DownloadClientConfigApi.GetDownloadClientConfigById(context.Background(), id).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `DownloadClientConfigAPI.GetDownloadClientConfigById``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `DownloadClientConfigApi.GetDownloadClientConfigById``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `GetDownloadClientConfigById`: DownloadClientConfigResource - fmt.Fprintf(os.Stdout, "Response from `DownloadClientConfigAPI.GetDownloadClientConfigById`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `DownloadClientConfigApi.GetDownloadClientConfigById`: %v\n", resp) } ``` @@ -161,13 +161,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.DownloadClientConfigAPI.UpdateDownloadClientConfig(context.Background(), id).DownloadClientConfigResource(downloadClientConfigResource).Execute() + resp, r, err := apiClient.DownloadClientConfigApi.UpdateDownloadClientConfig(context.Background(), id).DownloadClientConfigResource(downloadClientConfigResource).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `DownloadClientConfigAPI.UpdateDownloadClientConfig``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `DownloadClientConfigApi.UpdateDownloadClientConfig``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `UpdateDownloadClientConfig`: DownloadClientConfigResource - fmt.Fprintf(os.Stdout, "Response from `DownloadClientConfigAPI.UpdateDownloadClientConfig`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `DownloadClientConfigApi.UpdateDownloadClientConfig`: %v\n", resp) } ``` diff --git a/sonarr/docs/EpisodeAPI.md b/sonarr/docs/EpisodeApi.md similarity index 83% rename from sonarr/docs/EpisodeAPI.md rename to sonarr/docs/EpisodeApi.md index 42625bc..545984c 100644 --- a/sonarr/docs/EpisodeAPI.md +++ b/sonarr/docs/EpisodeApi.md @@ -1,13 +1,13 @@ -# \EpisodeAPI +# \EpisodeApi All URIs are relative to *http://localhost:8989* Method | HTTP request | Description ------------- | ------------- | ------------- -[**GetEpisodeById**](EpisodeAPI.md#GetEpisodeById) | **Get** /api/v3/episode/{id} | -[**ListEpisode**](EpisodeAPI.md#ListEpisode) | **Get** /api/v3/episode | -[**PutEpisodeMonitor**](EpisodeAPI.md#PutEpisodeMonitor) | **Put** /api/v3/episode/monitor | -[**UpdateEpisode**](EpisodeAPI.md#UpdateEpisode) | **Put** /api/v3/episode/{id} | +[**GetEpisodeById**](EpisodeApi.md#GetEpisodeById) | **Get** /api/v3/episode/{id} | +[**ListEpisode**](EpisodeApi.md#ListEpisode) | **Get** /api/v3/episode | +[**PutEpisodeMonitor**](EpisodeApi.md#PutEpisodeMonitor) | **Put** /api/v3/episode/monitor | +[**UpdateEpisode**](EpisodeApi.md#UpdateEpisode) | **Put** /api/v3/episode/{id} | @@ -34,13 +34,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.EpisodeAPI.GetEpisodeById(context.Background(), id).Execute() + resp, r, err := apiClient.EpisodeApi.GetEpisodeById(context.Background(), id).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `EpisodeAPI.GetEpisodeById``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `EpisodeApi.GetEpisodeById``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `GetEpisodeById`: EpisodeResource - fmt.Fprintf(os.Stdout, "Response from `EpisodeAPI.GetEpisodeById`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `EpisodeApi.GetEpisodeById`: %v\n", resp) } ``` @@ -106,13 +106,13 @@ func main() { 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).IncludeImages(includeImages).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `EpisodeAPI.ListEpisode``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `EpisodeApi.ListEpisode``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `ListEpisode`: []EpisodeResource - fmt.Fprintf(os.Stdout, "Response from `EpisodeAPI.ListEpisode`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `EpisodeApi.ListEpisode`: %v\n", resp) } ``` @@ -153,7 +153,7 @@ Name | Type | Description | Notes ## PutEpisodeMonitor -> PutEpisodeMonitor(ctx).IncludeImages(includeImages).EpisodesMonitoredResource(episodesMonitoredResource).Execute() +> PutEpisodeMonitor(ctx).EpisodesMonitoredResource(episodesMonitoredResource).Execute() @@ -170,14 +170,13 @@ import ( ) func main() { - includeImages := true // bool | (optional) (default to false) episodesMonitoredResource := *sonarrClient.NewEpisodesMonitoredResource() // EpisodesMonitoredResource | (optional) configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.EpisodeAPI.PutEpisodeMonitor(context.Background()).IncludeImages(includeImages).EpisodesMonitoredResource(episodesMonitoredResource).Execute() + resp, r, err := apiClient.EpisodeApi.PutEpisodeMonitor(context.Background()).EpisodesMonitoredResource(episodesMonitoredResource).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `EpisodeAPI.PutEpisodeMonitor``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `EpisodeApi.PutEpisodeMonitor``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -194,7 +193,6 @@ Other parameters are passed through a pointer to a apiPutEpisodeMonitorRequest s Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **includeImages** | **bool** | | [default to false] **episodesMonitoredResource** | [**EpisodesMonitoredResource**](EpisodesMonitoredResource.md) | | ### Return type @@ -239,13 +237,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.EpisodeAPI.UpdateEpisode(context.Background(), id).EpisodeResource(episodeResource).Execute() + resp, r, err := apiClient.EpisodeApi.UpdateEpisode(context.Background(), id).EpisodeResource(episodeResource).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `EpisodeAPI.UpdateEpisode``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `EpisodeApi.UpdateEpisode``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `UpdateEpisode`: EpisodeResource - fmt.Fprintf(os.Stdout, "Response from `EpisodeAPI.UpdateEpisode`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `EpisodeApi.UpdateEpisode`: %v\n", resp) } ``` diff --git a/sonarr/docs/EpisodeFileAPI.md b/sonarr/docs/EpisodeFileApi.md similarity index 89% rename from sonarr/docs/EpisodeFileAPI.md rename to sonarr/docs/EpisodeFileApi.md index 2071885..3d3834b 100644 --- a/sonarr/docs/EpisodeFileAPI.md +++ b/sonarr/docs/EpisodeFileApi.md @@ -1,16 +1,16 @@ -# \EpisodeFileAPI +# \EpisodeFileApi All URIs are relative to *http://localhost:8989* Method | HTTP request | Description ------------- | ------------- | ------------- -[**DeleteEpisodeFile**](EpisodeFileAPI.md#DeleteEpisodeFile) | **Delete** /api/v3/episodefile/{id} | -[**DeleteEpisodeFileBulk**](EpisodeFileAPI.md#DeleteEpisodeFileBulk) | **Delete** /api/v3/episodefile/bulk | -[**GetEpisodeFileById**](EpisodeFileAPI.md#GetEpisodeFileById) | **Get** /api/v3/episodefile/{id} | -[**ListEpisodeFile**](EpisodeFileAPI.md#ListEpisodeFile) | **Get** /api/v3/episodefile | -[**PutEpisodeFileBulk**](EpisodeFileAPI.md#PutEpisodeFileBulk) | **Put** /api/v3/episodefile/bulk | -[**PutEpisodeFileEditor**](EpisodeFileAPI.md#PutEpisodeFileEditor) | **Put** /api/v3/episodefile/editor | -[**UpdateEpisodeFile**](EpisodeFileAPI.md#UpdateEpisodeFile) | **Put** /api/v3/episodefile/{id} | +[**DeleteEpisodeFile**](EpisodeFileApi.md#DeleteEpisodeFile) | **Delete** /api/v3/episodefile/{id} | +[**DeleteEpisodeFileBulk**](EpisodeFileApi.md#DeleteEpisodeFileBulk) | **Delete** /api/v3/episodefile/bulk | +[**GetEpisodeFileById**](EpisodeFileApi.md#GetEpisodeFileById) | **Get** /api/v3/episodefile/{id} | +[**ListEpisodeFile**](EpisodeFileApi.md#ListEpisodeFile) | **Get** /api/v3/episodefile | +[**PutEpisodeFileBulk**](EpisodeFileApi.md#PutEpisodeFileBulk) | **Put** /api/v3/episodefile/bulk | +[**PutEpisodeFileEditor**](EpisodeFileApi.md#PutEpisodeFileEditor) | **Put** /api/v3/episodefile/editor | +[**UpdateEpisodeFile**](EpisodeFileApi.md#UpdateEpisodeFile) | **Put** /api/v3/episodefile/{id} | @@ -37,9 +37,9 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.EpisodeFileAPI.DeleteEpisodeFile(context.Background(), id).Execute() + resp, r, err := apiClient.EpisodeFileApi.DeleteEpisodeFile(context.Background(), id).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `EpisodeFileAPI.DeleteEpisodeFile``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `EpisodeFileApi.DeleteEpisodeFile``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -103,9 +103,9 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.EpisodeFileAPI.DeleteEpisodeFileBulk(context.Background()).EpisodeFileListResource(episodeFileListResource).Execute() + resp, r, err := apiClient.EpisodeFileApi.DeleteEpisodeFileBulk(context.Background()).EpisodeFileListResource(episodeFileListResource).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `EpisodeFileAPI.DeleteEpisodeFileBulk``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `EpisodeFileApi.DeleteEpisodeFileBulk``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -165,13 +165,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.EpisodeFileAPI.GetEpisodeFileById(context.Background(), id).Execute() + resp, r, err := apiClient.EpisodeFileApi.GetEpisodeFileById(context.Background(), id).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `EpisodeFileAPI.GetEpisodeFileById``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `EpisodeFileApi.GetEpisodeFileById``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `GetEpisodeFileById`: EpisodeFileResource - fmt.Fprintf(os.Stdout, "Response from `EpisodeFileAPI.GetEpisodeFileById`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `EpisodeFileApi.GetEpisodeFileById`: %v\n", resp) } ``` @@ -234,13 +234,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.EpisodeFileAPI.ListEpisodeFile(context.Background()).SeriesId(seriesId).EpisodeFileIds(episodeFileIds).Execute() + resp, r, err := apiClient.EpisodeFileApi.ListEpisodeFile(context.Background()).SeriesId(seriesId).EpisodeFileIds(episodeFileIds).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `EpisodeFileAPI.ListEpisodeFile``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `EpisodeFileApi.ListEpisodeFile``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `ListEpisodeFile`: []EpisodeFileResource - fmt.Fprintf(os.Stdout, "Response from `EpisodeFileAPI.ListEpisodeFile`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `EpisodeFileApi.ListEpisodeFile`: %v\n", resp) } ``` @@ -299,9 +299,9 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.EpisodeFileAPI.PutEpisodeFileBulk(context.Background()).EpisodeFileResource(episodeFileResource).Execute() + resp, r, err := apiClient.EpisodeFileApi.PutEpisodeFileBulk(context.Background()).EpisodeFileResource(episodeFileResource).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `EpisodeFileAPI.PutEpisodeFileBulk``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `EpisodeFileApi.PutEpisodeFileBulk``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -361,9 +361,9 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.EpisodeFileAPI.PutEpisodeFileEditor(context.Background()).EpisodeFileListResource(episodeFileListResource).Execute() + resp, r, err := apiClient.EpisodeFileApi.PutEpisodeFileEditor(context.Background()).EpisodeFileListResource(episodeFileListResource).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `EpisodeFileAPI.PutEpisodeFileEditor``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `EpisodeFileApi.PutEpisodeFileEditor``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -424,13 +424,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.EpisodeFileAPI.UpdateEpisodeFile(context.Background(), id).EpisodeFileResource(episodeFileResource).Execute() + resp, r, err := apiClient.EpisodeFileApi.UpdateEpisodeFile(context.Background(), id).EpisodeFileResource(episodeFileResource).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `EpisodeFileAPI.UpdateEpisodeFile``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `EpisodeFileApi.UpdateEpisodeFile``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `UpdateEpisodeFile`: EpisodeFileResource - fmt.Fprintf(os.Stdout, "Response from `EpisodeFileAPI.UpdateEpisodeFile`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `EpisodeFileApi.UpdateEpisodeFile`: %v\n", resp) } ``` diff --git a/sonarr/docs/EpisodeResource.md b/sonarr/docs/EpisodeResource.md index 5c5f333..320a2e4 100644 --- a/sonarr/docs/EpisodeResource.md +++ b/sonarr/docs/EpisodeResource.md @@ -13,7 +13,6 @@ Name | Type | Description | Notes **Title** | Pointer to **NullableString** | | [optional] **AirDate** | Pointer to **NullableString** | | [optional] **AirDateUtc** | Pointer to **NullableTime** | | [optional] -**Runtime** | Pointer to **int32** | | [optional] **Overview** | Pointer to **NullableString** | | [optional] **EpisodeFile** | Pointer to [**EpisodeFileResource**](EpisodeFileResource.md) | | [optional] **HasFile** | Pointer to **bool** | | [optional] @@ -304,31 +303,6 @@ HasAirDateUtc returns a boolean if a field has been set. `func (o *EpisodeResource) UnsetAirDateUtc()` UnsetAirDateUtc ensures that no value is present for AirDateUtc, not even an explicit nil -### GetRuntime - -`func (o *EpisodeResource) GetRuntime() int32` - -GetRuntime returns the Runtime field if non-nil, zero value otherwise. - -### GetRuntimeOk - -`func (o *EpisodeResource) GetRuntimeOk() (*int32, bool)` - -GetRuntimeOk returns a tuple with the Runtime field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetRuntime - -`func (o *EpisodeResource) SetRuntime(v int32)` - -SetRuntime sets Runtime field to given value. - -### HasRuntime - -`func (o *EpisodeResource) HasRuntime() bool` - -HasRuntime returns a boolean if a field has been set. - ### GetOverview `func (o *EpisodeResource) GetOverview() string` diff --git a/sonarr/docs/Field.md b/sonarr/docs/Field.md index 50187e2..89c5ad0 100644 --- a/sonarr/docs/Field.md +++ b/sonarr/docs/Field.md @@ -18,7 +18,6 @@ Name | Type | Description | Notes **Section** | Pointer to **NullableString** | | [optional] **Hidden** | Pointer to **NullableString** | | [optional] **Privacy** | Pointer to [**PrivacyLevel**](PrivacyLevel.md) | | [optional] -**Placeholder** | Pointer to **NullableString** | | [optional] ## Methods @@ -499,41 +498,6 @@ SetPrivacy sets Privacy field to given value. HasPrivacy returns a boolean if a field has been set. -### GetPlaceholder - -`func (o *Field) GetPlaceholder() string` - -GetPlaceholder returns the Placeholder field if non-nil, zero value otherwise. - -### GetPlaceholderOk - -`func (o *Field) GetPlaceholderOk() (*string, bool)` - -GetPlaceholderOk returns a tuple with the Placeholder field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetPlaceholder - -`func (o *Field) SetPlaceholder(v string)` - -SetPlaceholder sets Placeholder field to given value. - -### HasPlaceholder - -`func (o *Field) HasPlaceholder() bool` - -HasPlaceholder returns a boolean if a field has been set. - -### SetPlaceholderNil - -`func (o *Field) SetPlaceholderNil(b bool)` - - SetPlaceholderNil sets the value for Placeholder to be an explicit nil - -### UnsetPlaceholder -`func (o *Field) UnsetPlaceholder()` - -UnsetPlaceholder ensures that no value is present for Placeholder, 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) diff --git a/sonarr/docs/FileSystemAPI.md b/sonarr/docs/FileSystemApi.md similarity index 85% rename from sonarr/docs/FileSystemAPI.md rename to sonarr/docs/FileSystemApi.md index 66ee48d..514a087 100644 --- a/sonarr/docs/FileSystemAPI.md +++ b/sonarr/docs/FileSystemApi.md @@ -1,12 +1,12 @@ -# \FileSystemAPI +# \FileSystemApi All URIs are relative to *http://localhost:8989* Method | HTTP request | Description ------------- | ------------- | ------------- -[**GetFileSystem**](FileSystemAPI.md#GetFileSystem) | **Get** /api/v3/filesystem | -[**GetFileSystemMediafiles**](FileSystemAPI.md#GetFileSystemMediafiles) | **Get** /api/v3/filesystem/mediafiles | -[**GetFileSystemType**](FileSystemAPI.md#GetFileSystemType) | **Get** /api/v3/filesystem/type | +[**GetFileSystem**](FileSystemApi.md#GetFileSystem) | **Get** /api/v3/filesystem | +[**GetFileSystemMediafiles**](FileSystemApi.md#GetFileSystemMediafiles) | **Get** /api/v3/filesystem/mediafiles | +[**GetFileSystemType**](FileSystemApi.md#GetFileSystemType) | **Get** /api/v3/filesystem/type | @@ -35,9 +35,9 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.FileSystemAPI.GetFileSystem(context.Background()).Path(path).IncludeFiles(includeFiles).AllowFoldersWithoutTrailingSlashes(allowFoldersWithoutTrailingSlashes).Execute() + resp, r, err := apiClient.FileSystemApi.GetFileSystem(context.Background()).Path(path).IncludeFiles(includeFiles).AllowFoldersWithoutTrailingSlashes(allowFoldersWithoutTrailingSlashes).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `FileSystemAPI.GetFileSystem``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `FileSystemApi.GetFileSystem``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -99,9 +99,9 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.FileSystemAPI.GetFileSystemMediafiles(context.Background()).Path(path).Execute() + resp, r, err := apiClient.FileSystemApi.GetFileSystemMediafiles(context.Background()).Path(path).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `FileSystemAPI.GetFileSystemMediafiles``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `FileSystemApi.GetFileSystemMediafiles``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -161,9 +161,9 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.FileSystemAPI.GetFileSystemType(context.Background()).Path(path).Execute() + resp, r, err := apiClient.FileSystemApi.GetFileSystemType(context.Background()).Path(path).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `FileSystemAPI.GetFileSystemType``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `FileSystemApi.GetFileSystemType``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } diff --git a/sonarr/docs/HealthAPI.md b/sonarr/docs/HealthApi.md similarity index 83% rename from sonarr/docs/HealthAPI.md rename to sonarr/docs/HealthApi.md index ec86abb..43a7e31 100644 --- a/sonarr/docs/HealthAPI.md +++ b/sonarr/docs/HealthApi.md @@ -1,11 +1,11 @@ -# \HealthAPI +# \HealthApi All URIs are relative to *http://localhost:8989* Method | HTTP request | Description ------------- | ------------- | ------------- -[**GetHealthById**](HealthAPI.md#GetHealthById) | **Get** /api/v3/health/{id} | -[**ListHealth**](HealthAPI.md#ListHealth) | **Get** /api/v3/health | +[**GetHealthById**](HealthApi.md#GetHealthById) | **Get** /api/v3/health/{id} | +[**ListHealth**](HealthApi.md#ListHealth) | **Get** /api/v3/health | @@ -32,13 +32,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.HealthAPI.GetHealthById(context.Background(), id).Execute() + resp, r, err := apiClient.HealthApi.GetHealthById(context.Background(), id).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `HealthAPI.GetHealthById``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `HealthApi.GetHealthById``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `GetHealthById`: HealthResource - fmt.Fprintf(os.Stdout, "Response from `HealthAPI.GetHealthById`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `HealthApi.GetHealthById`: %v\n", resp) } ``` @@ -99,13 +99,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.HealthAPI.ListHealth(context.Background()).Execute() + resp, r, err := apiClient.HealthApi.ListHealth(context.Background()).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `HealthAPI.ListHealth``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `HealthApi.ListHealth``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `ListHealth`: []HealthResource - fmt.Fprintf(os.Stdout, "Response from `HealthAPI.ListHealth`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `HealthApi.ListHealth`: %v\n", resp) } ``` diff --git a/sonarr/docs/HistoryAPI.md b/sonarr/docs/HistoryApi.md similarity index 88% rename from sonarr/docs/HistoryAPI.md rename to sonarr/docs/HistoryApi.md index 740456d..4c38d51 100644 --- a/sonarr/docs/HistoryAPI.md +++ b/sonarr/docs/HistoryApi.md @@ -1,13 +1,13 @@ -# \HistoryAPI +# \HistoryApi All URIs are relative to *http://localhost:8989* Method | HTTP request | Description ------------- | ------------- | ------------- -[**CreateHistoryFailedById**](HistoryAPI.md#CreateHistoryFailedById) | **Post** /api/v3/history/failed/{id} | -[**GetHistory**](HistoryAPI.md#GetHistory) | **Get** /api/v3/history | -[**ListHistorySeries**](HistoryAPI.md#ListHistorySeries) | **Get** /api/v3/history/series | -[**ListHistorySince**](HistoryAPI.md#ListHistorySince) | **Get** /api/v3/history/since | +[**CreateHistoryFailedById**](HistoryApi.md#CreateHistoryFailedById) | **Post** /api/v3/history/failed/{id} | +[**GetHistory**](HistoryApi.md#GetHistory) | **Get** /api/v3/history | +[**ListHistorySeries**](HistoryApi.md#ListHistorySeries) | **Get** /api/v3/history/series | +[**ListHistorySince**](HistoryApi.md#ListHistorySince) | **Get** /api/v3/history/since | @@ -34,9 +34,9 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.HistoryAPI.CreateHistoryFailedById(context.Background(), id).Execute() + resp, r, err := apiClient.HistoryApi.CreateHistoryFailedById(context.Background(), id).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `HistoryAPI.CreateHistoryFailedById``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `HistoryApi.CreateHistoryFailedById``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -101,13 +101,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.HistoryAPI.GetHistory(context.Background()).IncludeSeries(includeSeries).IncludeEpisode(includeEpisode).Execute() + resp, r, err := apiClient.HistoryApi.GetHistory(context.Background()).IncludeSeries(includeSeries).IncludeEpisode(includeEpisode).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `HistoryAPI.GetHistory``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `HistoryApi.GetHistory``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `GetHistory`: HistoryResourcePagingResource - fmt.Fprintf(os.Stdout, "Response from `HistoryAPI.GetHistory`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `HistoryApi.GetHistory`: %v\n", resp) } ``` @@ -170,13 +170,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.HistoryAPI.ListHistorySeries(context.Background()).SeriesId(seriesId).SeasonNumber(seasonNumber).EventType(eventType).IncludeSeries(includeSeries).IncludeEpisode(includeEpisode).Execute() + resp, r, err := apiClient.HistoryApi.ListHistorySeries(context.Background()).SeriesId(seriesId).SeasonNumber(seasonNumber).EventType(eventType).IncludeSeries(includeSeries).IncludeEpisode(includeEpisode).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `HistoryAPI.ListHistorySeries``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `HistoryApi.ListHistorySeries``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `ListHistorySeries`: []HistoryResource - fmt.Fprintf(os.Stdout, "Response from `HistoryAPI.ListHistorySeries`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `HistoryApi.ListHistorySeries`: %v\n", resp) } ``` @@ -242,13 +242,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.HistoryAPI.ListHistorySince(context.Background()).Date(date).EventType(eventType).IncludeSeries(includeSeries).IncludeEpisode(includeEpisode).Execute() + resp, r, err := apiClient.HistoryApi.ListHistorySince(context.Background()).Date(date).EventType(eventType).IncludeSeries(includeSeries).IncludeEpisode(includeEpisode).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `HistoryAPI.ListHistorySince``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `HistoryApi.ListHistorySince``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `ListHistorySince`: []HistoryResource - fmt.Fprintf(os.Stdout, "Response from `HistoryAPI.ListHistorySince`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `HistoryApi.ListHistorySince`: %v\n", resp) } ``` diff --git a/sonarr/docs/HostConfigAPI.md b/sonarr/docs/HostConfigApi.md similarity index 83% rename from sonarr/docs/HostConfigAPI.md rename to sonarr/docs/HostConfigApi.md index 391bc1f..266fbe6 100644 --- a/sonarr/docs/HostConfigAPI.md +++ b/sonarr/docs/HostConfigApi.md @@ -1,12 +1,12 @@ -# \HostConfigAPI +# \HostConfigApi All URIs are relative to *http://localhost:8989* Method | HTTP request | Description ------------- | ------------- | ------------- -[**GetHostConfig**](HostConfigAPI.md#GetHostConfig) | **Get** /api/v3/config/host | -[**GetHostConfigById**](HostConfigAPI.md#GetHostConfigById) | **Get** /api/v3/config/host/{id} | -[**UpdateHostConfig**](HostConfigAPI.md#UpdateHostConfig) | **Put** /api/v3/config/host/{id} | +[**GetHostConfig**](HostConfigApi.md#GetHostConfig) | **Get** /api/v3/config/host | +[**GetHostConfigById**](HostConfigApi.md#GetHostConfigById) | **Get** /api/v3/config/host/{id} | +[**UpdateHostConfig**](HostConfigApi.md#UpdateHostConfig) | **Put** /api/v3/config/host/{id} | @@ -32,13 +32,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.HostConfigAPI.GetHostConfig(context.Background()).Execute() + resp, r, err := apiClient.HostConfigApi.GetHostConfig(context.Background()).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `HostConfigAPI.GetHostConfig``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `HostConfigApi.GetHostConfig``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `GetHostConfig`: HostConfigResource - fmt.Fprintf(os.Stdout, "Response from `HostConfigAPI.GetHostConfig`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `HostConfigApi.GetHostConfig`: %v\n", resp) } ``` @@ -92,13 +92,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.HostConfigAPI.GetHostConfigById(context.Background(), id).Execute() + resp, r, err := apiClient.HostConfigApi.GetHostConfigById(context.Background(), id).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `HostConfigAPI.GetHostConfigById``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `HostConfigApi.GetHostConfigById``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `GetHostConfigById`: HostConfigResource - fmt.Fprintf(os.Stdout, "Response from `HostConfigAPI.GetHostConfigById`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `HostConfigApi.GetHostConfigById`: %v\n", resp) } ``` @@ -161,13 +161,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.HostConfigAPI.UpdateHostConfig(context.Background(), id).HostConfigResource(hostConfigResource).Execute() + resp, r, err := apiClient.HostConfigApi.UpdateHostConfig(context.Background(), id).HostConfigResource(hostConfigResource).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `HostConfigAPI.UpdateHostConfig``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `HostConfigApi.UpdateHostConfig``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `UpdateHostConfig`: HostConfigResource - fmt.Fprintf(os.Stdout, "Response from `HostConfigAPI.UpdateHostConfig`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `HostConfigApi.UpdateHostConfig`: %v\n", resp) } ``` diff --git a/sonarr/docs/ImportListAPI.md b/sonarr/docs/ImportListApi.md similarity index 84% rename from sonarr/docs/ImportListAPI.md rename to sonarr/docs/ImportListApi.md index 44f2607..0ddca9e 100644 --- a/sonarr/docs/ImportListAPI.md +++ b/sonarr/docs/ImportListApi.md @@ -1,18 +1,18 @@ -# \ImportListAPI +# \ImportListApi All URIs are relative to *http://localhost:8989* Method | HTTP request | Description ------------- | ------------- | ------------- -[**CreateImportList**](ImportListAPI.md#CreateImportList) | **Post** /api/v3/importlist | -[**CreateImportListActionByName**](ImportListAPI.md#CreateImportListActionByName) | **Post** /api/v3/importlist/action/{name} | -[**DeleteImportList**](ImportListAPI.md#DeleteImportList) | **Delete** /api/v3/importlist/{id} | -[**GetImportListById**](ImportListAPI.md#GetImportListById) | **Get** /api/v3/importlist/{id} | -[**ListImportList**](ImportListAPI.md#ListImportList) | **Get** /api/v3/importlist | -[**ListImportListSchema**](ImportListAPI.md#ListImportListSchema) | **Get** /api/v3/importlist/schema | -[**TestImportList**](ImportListAPI.md#TestImportList) | **Post** /api/v3/importlist/test | -[**TestallImportList**](ImportListAPI.md#TestallImportList) | **Post** /api/v3/importlist/testall | -[**UpdateImportList**](ImportListAPI.md#UpdateImportList) | **Put** /api/v3/importlist/{id} | +[**CreateImportList**](ImportListApi.md#CreateImportList) | **Post** /api/v3/importlist | +[**CreateImportListActionByName**](ImportListApi.md#CreateImportListActionByName) | **Post** /api/v3/importlist/action/{name} | +[**DeleteImportList**](ImportListApi.md#DeleteImportList) | **Delete** /api/v3/importlist/{id} | +[**GetImportListById**](ImportListApi.md#GetImportListById) | **Get** /api/v3/importlist/{id} | +[**ListImportList**](ImportListApi.md#ListImportList) | **Get** /api/v3/importlist | +[**ListImportListSchema**](ImportListApi.md#ListImportListSchema) | **Get** /api/v3/importlist/schema | +[**TestImportList**](ImportListApi.md#TestImportList) | **Post** /api/v3/importlist/test | +[**TestallImportList**](ImportListApi.md#TestallImportList) | **Post** /api/v3/importlist/testall | +[**UpdateImportList**](ImportListApi.md#UpdateImportList) | **Put** /api/v3/importlist/{id} | @@ -39,13 +39,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.ImportListAPI.CreateImportList(context.Background()).ImportListResource(importListResource).Execute() + resp, r, err := apiClient.ImportListApi.CreateImportList(context.Background()).ImportListResource(importListResource).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `ImportListAPI.CreateImportList``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `ImportListApi.CreateImportList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `CreateImportList`: ImportListResource - fmt.Fprintf(os.Stdout, "Response from `ImportListAPI.CreateImportList`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `ImportListApi.CreateImportList`: %v\n", resp) } ``` @@ -104,9 +104,9 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.ImportListAPI.CreateImportListActionByName(context.Background(), name).ImportListResource(importListResource).Execute() + resp, r, err := apiClient.ImportListApi.CreateImportListActionByName(context.Background(), name).ImportListResource(importListResource).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `ImportListAPI.CreateImportListActionByName``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `ImportListApi.CreateImportListActionByName``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -171,9 +171,9 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.ImportListAPI.DeleteImportList(context.Background(), id).Execute() + resp, r, err := apiClient.ImportListApi.DeleteImportList(context.Background(), id).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `ImportListAPI.DeleteImportList``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `ImportListApi.DeleteImportList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -237,13 +237,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.ImportListAPI.GetImportListById(context.Background(), id).Execute() + resp, r, err := apiClient.ImportListApi.GetImportListById(context.Background(), id).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `ImportListAPI.GetImportListById``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `ImportListApi.GetImportListById``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `GetImportListById`: ImportListResource - fmt.Fprintf(os.Stdout, "Response from `ImportListAPI.GetImportListById`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `ImportListApi.GetImportListById`: %v\n", resp) } ``` @@ -304,13 +304,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.ImportListAPI.ListImportList(context.Background()).Execute() + resp, r, err := apiClient.ImportListApi.ListImportList(context.Background()).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `ImportListAPI.ListImportList``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `ImportListApi.ListImportList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `ListImportList`: []ImportListResource - fmt.Fprintf(os.Stdout, "Response from `ImportListAPI.ListImportList`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `ImportListApi.ListImportList`: %v\n", resp) } ``` @@ -363,13 +363,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.ImportListAPI.ListImportListSchema(context.Background()).Execute() + resp, r, err := apiClient.ImportListApi.ListImportListSchema(context.Background()).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `ImportListAPI.ListImportListSchema``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `ImportListApi.ListImportListSchema``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `ListImportListSchema`: []ImportListResource - fmt.Fprintf(os.Stdout, "Response from `ImportListAPI.ListImportListSchema`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `ImportListApi.ListImportListSchema`: %v\n", resp) } ``` @@ -423,9 +423,9 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.ImportListAPI.TestImportList(context.Background()).ImportListResource(importListResource).Execute() + resp, r, err := apiClient.ImportListApi.TestImportList(context.Background()).ImportListResource(importListResource).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `ImportListAPI.TestImportList``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `ImportListApi.TestImportList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -484,9 +484,9 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.ImportListAPI.TestallImportList(context.Background()).Execute() + resp, r, err := apiClient.ImportListApi.TestallImportList(context.Background()).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `ImportListAPI.TestallImportList``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `ImportListApi.TestallImportList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -543,13 +543,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.ImportListAPI.UpdateImportList(context.Background(), id).ImportListResource(importListResource).Execute() + resp, r, err := apiClient.ImportListApi.UpdateImportList(context.Background(), id).ImportListResource(importListResource).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `ImportListAPI.UpdateImportList``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `ImportListApi.UpdateImportList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `UpdateImportList`: ImportListResource - fmt.Fprintf(os.Stdout, "Response from `ImportListAPI.UpdateImportList`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `ImportListApi.UpdateImportList`: %v\n", resp) } ``` diff --git a/sonarr/docs/ImportListExclusionAPI.md b/sonarr/docs/ImportListExclusionApi.md similarity index 86% rename from sonarr/docs/ImportListExclusionAPI.md rename to sonarr/docs/ImportListExclusionApi.md index 31377e1..e23e3e3 100644 --- a/sonarr/docs/ImportListExclusionAPI.md +++ b/sonarr/docs/ImportListExclusionApi.md @@ -1,14 +1,14 @@ -# \ImportListExclusionAPI +# \ImportListExclusionApi All URIs are relative to *http://localhost:8989* Method | HTTP request | Description ------------- | ------------- | ------------- -[**CreateImportListExclusion**](ImportListExclusionAPI.md#CreateImportListExclusion) | **Post** /api/v3/importlistexclusion | -[**DeleteImportListExclusion**](ImportListExclusionAPI.md#DeleteImportListExclusion) | **Delete** /api/v3/importlistexclusion/{id} | -[**GetImportListExclusionById**](ImportListExclusionAPI.md#GetImportListExclusionById) | **Get** /api/v3/importlistexclusion/{id} | -[**ListImportListExclusion**](ImportListExclusionAPI.md#ListImportListExclusion) | **Get** /api/v3/importlistexclusion | -[**UpdateImportListExclusion**](ImportListExclusionAPI.md#UpdateImportListExclusion) | **Put** /api/v3/importlistexclusion/{id} | +[**CreateImportListExclusion**](ImportListExclusionApi.md#CreateImportListExclusion) | **Post** /api/v3/importlistexclusion | +[**DeleteImportListExclusion**](ImportListExclusionApi.md#DeleteImportListExclusion) | **Delete** /api/v3/importlistexclusion/{id} | +[**GetImportListExclusionById**](ImportListExclusionApi.md#GetImportListExclusionById) | **Get** /api/v3/importlistexclusion/{id} | +[**ListImportListExclusion**](ImportListExclusionApi.md#ListImportListExclusion) | **Get** /api/v3/importlistexclusion | +[**UpdateImportListExclusion**](ImportListExclusionApi.md#UpdateImportListExclusion) | **Put** /api/v3/importlistexclusion/{id} | @@ -35,13 +35,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.ImportListExclusionAPI.CreateImportListExclusion(context.Background()).ImportListExclusionResource(importListExclusionResource).Execute() + resp, r, err := apiClient.ImportListExclusionApi.CreateImportListExclusion(context.Background()).ImportListExclusionResource(importListExclusionResource).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `ImportListExclusionAPI.CreateImportListExclusion``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `ImportListExclusionApi.CreateImportListExclusion``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `CreateImportListExclusion`: ImportListExclusionResource - fmt.Fprintf(os.Stdout, "Response from `ImportListExclusionAPI.CreateImportListExclusion`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `ImportListExclusionApi.CreateImportListExclusion`: %v\n", resp) } ``` @@ -99,9 +99,9 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.ImportListExclusionAPI.DeleteImportListExclusion(context.Background(), id).Execute() + resp, r, err := apiClient.ImportListExclusionApi.DeleteImportListExclusion(context.Background(), id).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `ImportListExclusionAPI.DeleteImportListExclusion``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `ImportListExclusionApi.DeleteImportListExclusion``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -165,13 +165,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.ImportListExclusionAPI.GetImportListExclusionById(context.Background(), id).Execute() + resp, r, err := apiClient.ImportListExclusionApi.GetImportListExclusionById(context.Background(), id).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `ImportListExclusionAPI.GetImportListExclusionById``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `ImportListExclusionApi.GetImportListExclusionById``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `GetImportListExclusionById`: ImportListExclusionResource - fmt.Fprintf(os.Stdout, "Response from `ImportListExclusionAPI.GetImportListExclusionById`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `ImportListExclusionApi.GetImportListExclusionById`: %v\n", resp) } ``` @@ -232,13 +232,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.ImportListExclusionAPI.ListImportListExclusion(context.Background()).Execute() + resp, r, err := apiClient.ImportListExclusionApi.ListImportListExclusion(context.Background()).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `ImportListExclusionAPI.ListImportListExclusion``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `ImportListExclusionApi.ListImportListExclusion``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `ListImportListExclusion`: []ImportListExclusionResource - fmt.Fprintf(os.Stdout, "Response from `ImportListExclusionAPI.ListImportListExclusion`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `ImportListExclusionApi.ListImportListExclusion`: %v\n", resp) } ``` @@ -293,13 +293,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.ImportListExclusionAPI.UpdateImportListExclusion(context.Background(), id).ImportListExclusionResource(importListExclusionResource).Execute() + resp, r, err := apiClient.ImportListExclusionApi.UpdateImportListExclusion(context.Background(), id).ImportListExclusionResource(importListExclusionResource).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `ImportListExclusionAPI.UpdateImportListExclusion``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `ImportListExclusionApi.UpdateImportListExclusion``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `UpdateImportListExclusion`: ImportListExclusionResource - fmt.Fprintf(os.Stdout, "Response from `ImportListExclusionAPI.UpdateImportListExclusion`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `ImportListExclusionApi.UpdateImportListExclusion`: %v\n", resp) } ``` diff --git a/sonarr/docs/IndexerAPI.md b/sonarr/docs/IndexerApi.md similarity index 85% rename from sonarr/docs/IndexerAPI.md rename to sonarr/docs/IndexerApi.md index 6317b8d..cc2362c 100644 --- a/sonarr/docs/IndexerAPI.md +++ b/sonarr/docs/IndexerApi.md @@ -1,18 +1,18 @@ -# \IndexerAPI +# \IndexerApi All URIs are relative to *http://localhost:8989* Method | HTTP request | Description ------------- | ------------- | ------------- -[**CreateIndexer**](IndexerAPI.md#CreateIndexer) | **Post** /api/v3/indexer | -[**CreateIndexerActionByName**](IndexerAPI.md#CreateIndexerActionByName) | **Post** /api/v3/indexer/action/{name} | -[**DeleteIndexer**](IndexerAPI.md#DeleteIndexer) | **Delete** /api/v3/indexer/{id} | -[**GetIndexerById**](IndexerAPI.md#GetIndexerById) | **Get** /api/v3/indexer/{id} | -[**ListIndexer**](IndexerAPI.md#ListIndexer) | **Get** /api/v3/indexer | -[**ListIndexerSchema**](IndexerAPI.md#ListIndexerSchema) | **Get** /api/v3/indexer/schema | -[**TestIndexer**](IndexerAPI.md#TestIndexer) | **Post** /api/v3/indexer/test | -[**TestallIndexer**](IndexerAPI.md#TestallIndexer) | **Post** /api/v3/indexer/testall | -[**UpdateIndexer**](IndexerAPI.md#UpdateIndexer) | **Put** /api/v3/indexer/{id} | +[**CreateIndexer**](IndexerApi.md#CreateIndexer) | **Post** /api/v3/indexer | +[**CreateIndexerActionByName**](IndexerApi.md#CreateIndexerActionByName) | **Post** /api/v3/indexer/action/{name} | +[**DeleteIndexer**](IndexerApi.md#DeleteIndexer) | **Delete** /api/v3/indexer/{id} | +[**GetIndexerById**](IndexerApi.md#GetIndexerById) | **Get** /api/v3/indexer/{id} | +[**ListIndexer**](IndexerApi.md#ListIndexer) | **Get** /api/v3/indexer | +[**ListIndexerSchema**](IndexerApi.md#ListIndexerSchema) | **Get** /api/v3/indexer/schema | +[**TestIndexer**](IndexerApi.md#TestIndexer) | **Post** /api/v3/indexer/test | +[**TestallIndexer**](IndexerApi.md#TestallIndexer) | **Post** /api/v3/indexer/testall | +[**UpdateIndexer**](IndexerApi.md#UpdateIndexer) | **Put** /api/v3/indexer/{id} | @@ -39,13 +39,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.IndexerAPI.CreateIndexer(context.Background()).IndexerResource(indexerResource).Execute() + resp, r, err := apiClient.IndexerApi.CreateIndexer(context.Background()).IndexerResource(indexerResource).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `IndexerAPI.CreateIndexer``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `IndexerApi.CreateIndexer``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `CreateIndexer`: IndexerResource - fmt.Fprintf(os.Stdout, "Response from `IndexerAPI.CreateIndexer`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `IndexerApi.CreateIndexer`: %v\n", resp) } ``` @@ -104,9 +104,9 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.IndexerAPI.CreateIndexerActionByName(context.Background(), name).IndexerResource(indexerResource).Execute() + resp, r, err := apiClient.IndexerApi.CreateIndexerActionByName(context.Background(), name).IndexerResource(indexerResource).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `IndexerAPI.CreateIndexerActionByName``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `IndexerApi.CreateIndexerActionByName``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -171,9 +171,9 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.IndexerAPI.DeleteIndexer(context.Background(), id).Execute() + resp, r, err := apiClient.IndexerApi.DeleteIndexer(context.Background(), id).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `IndexerAPI.DeleteIndexer``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `IndexerApi.DeleteIndexer``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -237,13 +237,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.IndexerAPI.GetIndexerById(context.Background(), id).Execute() + resp, r, err := apiClient.IndexerApi.GetIndexerById(context.Background(), id).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `IndexerAPI.GetIndexerById``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `IndexerApi.GetIndexerById``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `GetIndexerById`: IndexerResource - fmt.Fprintf(os.Stdout, "Response from `IndexerAPI.GetIndexerById`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `IndexerApi.GetIndexerById`: %v\n", resp) } ``` @@ -304,13 +304,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.IndexerAPI.ListIndexer(context.Background()).Execute() + resp, r, err := apiClient.IndexerApi.ListIndexer(context.Background()).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `IndexerAPI.ListIndexer``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `IndexerApi.ListIndexer``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `ListIndexer`: []IndexerResource - fmt.Fprintf(os.Stdout, "Response from `IndexerAPI.ListIndexer`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `IndexerApi.ListIndexer`: %v\n", resp) } ``` @@ -363,13 +363,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.IndexerAPI.ListIndexerSchema(context.Background()).Execute() + resp, r, err := apiClient.IndexerApi.ListIndexerSchema(context.Background()).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `IndexerAPI.ListIndexerSchema``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `IndexerApi.ListIndexerSchema``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `ListIndexerSchema`: []IndexerResource - fmt.Fprintf(os.Stdout, "Response from `IndexerAPI.ListIndexerSchema`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `IndexerApi.ListIndexerSchema`: %v\n", resp) } ``` @@ -423,9 +423,9 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.IndexerAPI.TestIndexer(context.Background()).IndexerResource(indexerResource).Execute() + resp, r, err := apiClient.IndexerApi.TestIndexer(context.Background()).IndexerResource(indexerResource).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `IndexerAPI.TestIndexer``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `IndexerApi.TestIndexer``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -484,9 +484,9 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.IndexerAPI.TestallIndexer(context.Background()).Execute() + resp, r, err := apiClient.IndexerApi.TestallIndexer(context.Background()).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `IndexerAPI.TestallIndexer``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `IndexerApi.TestallIndexer``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -543,13 +543,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.IndexerAPI.UpdateIndexer(context.Background(), id).IndexerResource(indexerResource).Execute() + resp, r, err := apiClient.IndexerApi.UpdateIndexer(context.Background(), id).IndexerResource(indexerResource).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `IndexerAPI.UpdateIndexer``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `IndexerApi.UpdateIndexer``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `UpdateIndexer`: IndexerResource - fmt.Fprintf(os.Stdout, "Response from `IndexerAPI.UpdateIndexer`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `IndexerApi.UpdateIndexer`: %v\n", resp) } ``` diff --git a/sonarr/docs/IndexerConfigAPI.md b/sonarr/docs/IndexerConfigApi.md similarity index 87% rename from sonarr/docs/IndexerConfigAPI.md rename to sonarr/docs/IndexerConfigApi.md index 7a2e3d6..6fe5b1e 100644 --- a/sonarr/docs/IndexerConfigAPI.md +++ b/sonarr/docs/IndexerConfigApi.md @@ -1,12 +1,12 @@ -# \IndexerConfigAPI +# \IndexerConfigApi All URIs are relative to *http://localhost:8989* Method | HTTP request | Description ------------- | ------------- | ------------- -[**GetIndexerConfig**](IndexerConfigAPI.md#GetIndexerConfig) | **Get** /api/v3/config/indexer | -[**GetIndexerConfigById**](IndexerConfigAPI.md#GetIndexerConfigById) | **Get** /api/v3/config/indexer/{id} | -[**UpdateIndexerConfig**](IndexerConfigAPI.md#UpdateIndexerConfig) | **Put** /api/v3/config/indexer/{id} | +[**GetIndexerConfig**](IndexerConfigApi.md#GetIndexerConfig) | **Get** /api/v3/config/indexer | +[**GetIndexerConfigById**](IndexerConfigApi.md#GetIndexerConfigById) | **Get** /api/v3/config/indexer/{id} | +[**UpdateIndexerConfig**](IndexerConfigApi.md#UpdateIndexerConfig) | **Put** /api/v3/config/indexer/{id} | @@ -32,13 +32,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.IndexerConfigAPI.GetIndexerConfig(context.Background()).Execute() + resp, r, err := apiClient.IndexerConfigApi.GetIndexerConfig(context.Background()).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `IndexerConfigAPI.GetIndexerConfig``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `IndexerConfigApi.GetIndexerConfig``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `GetIndexerConfig`: IndexerConfigResource - fmt.Fprintf(os.Stdout, "Response from `IndexerConfigAPI.GetIndexerConfig`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `IndexerConfigApi.GetIndexerConfig`: %v\n", resp) } ``` @@ -92,13 +92,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.IndexerConfigAPI.GetIndexerConfigById(context.Background(), id).Execute() + resp, r, err := apiClient.IndexerConfigApi.GetIndexerConfigById(context.Background(), id).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `IndexerConfigAPI.GetIndexerConfigById``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `IndexerConfigApi.GetIndexerConfigById``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `GetIndexerConfigById`: IndexerConfigResource - fmt.Fprintf(os.Stdout, "Response from `IndexerConfigAPI.GetIndexerConfigById`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `IndexerConfigApi.GetIndexerConfigById`: %v\n", resp) } ``` @@ -161,13 +161,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.IndexerConfigAPI.UpdateIndexerConfig(context.Background(), id).IndexerConfigResource(indexerConfigResource).Execute() + resp, r, err := apiClient.IndexerConfigApi.UpdateIndexerConfig(context.Background(), id).IndexerConfigResource(indexerConfigResource).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `IndexerConfigAPI.UpdateIndexerConfig``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `IndexerConfigApi.UpdateIndexerConfig``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `UpdateIndexerConfig`: IndexerConfigResource - fmt.Fprintf(os.Stdout, "Response from `IndexerConfigAPI.UpdateIndexerConfig`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `IndexerConfigApi.UpdateIndexerConfig`: %v\n", resp) } ``` diff --git a/sonarr/docs/InitializeJsAPI.md b/sonarr/docs/InitializeJsApi.md similarity index 87% rename from sonarr/docs/InitializeJsAPI.md rename to sonarr/docs/InitializeJsApi.md index b003a23..b0be2a5 100644 --- a/sonarr/docs/InitializeJsAPI.md +++ b/sonarr/docs/InitializeJsApi.md @@ -1,10 +1,10 @@ -# \InitializeJsAPI +# \InitializeJsApi All URIs are relative to *http://localhost:8989* Method | HTTP request | Description ------------- | ------------- | ------------- -[**GetInitializeJs**](InitializeJsAPI.md#GetInitializeJs) | **Get** /initialize.js | +[**GetInitializeJs**](InitializeJsApi.md#GetInitializeJs) | **Get** /initialize.js | @@ -30,9 +30,9 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.InitializeJsAPI.GetInitializeJs(context.Background()).Execute() + resp, r, err := apiClient.InitializeJsApi.GetInitializeJs(context.Background()).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `InitializeJsAPI.GetInitializeJs``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `InitializeJsApi.GetInitializeJs``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } diff --git a/sonarr/docs/LanguageAPI.md b/sonarr/docs/LanguageApi.md similarity index 84% rename from sonarr/docs/LanguageAPI.md rename to sonarr/docs/LanguageApi.md index 2a731d3..a149c1b 100644 --- a/sonarr/docs/LanguageAPI.md +++ b/sonarr/docs/LanguageApi.md @@ -1,11 +1,11 @@ -# \LanguageAPI +# \LanguageApi All URIs are relative to *http://localhost:8989* Method | HTTP request | Description ------------- | ------------- | ------------- -[**GetLanguageById**](LanguageAPI.md#GetLanguageById) | **Get** /api/v3/language/{id} | -[**ListLanguage**](LanguageAPI.md#ListLanguage) | **Get** /api/v3/language | +[**GetLanguageById**](LanguageApi.md#GetLanguageById) | **Get** /api/v3/language/{id} | +[**ListLanguage**](LanguageApi.md#ListLanguage) | **Get** /api/v3/language | @@ -32,13 +32,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.LanguageAPI.GetLanguageById(context.Background(), id).Execute() + resp, r, err := apiClient.LanguageApi.GetLanguageById(context.Background(), id).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `LanguageAPI.GetLanguageById``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `LanguageApi.GetLanguageById``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `GetLanguageById`: LanguageResource - fmt.Fprintf(os.Stdout, "Response from `LanguageAPI.GetLanguageById`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `LanguageApi.GetLanguageById`: %v\n", resp) } ``` @@ -99,13 +99,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.LanguageAPI.ListLanguage(context.Background()).Execute() + resp, r, err := apiClient.LanguageApi.ListLanguage(context.Background()).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `LanguageAPI.ListLanguage``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `LanguageApi.ListLanguage``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `ListLanguage`: []LanguageResource - fmt.Fprintf(os.Stdout, "Response from `LanguageAPI.ListLanguage`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `LanguageApi.ListLanguage`: %v\n", resp) } ``` diff --git a/sonarr/docs/LanguageProfileAPI.md b/sonarr/docs/LanguageProfileApi.md similarity index 87% rename from sonarr/docs/LanguageProfileAPI.md rename to sonarr/docs/LanguageProfileApi.md index 41d7274..d40673c 100644 --- a/sonarr/docs/LanguageProfileAPI.md +++ b/sonarr/docs/LanguageProfileApi.md @@ -1,14 +1,14 @@ -# \LanguageProfileAPI +# \LanguageProfileApi All URIs are relative to *http://localhost:8989* Method | HTTP request | Description ------------- | ------------- | ------------- -[**CreateLanguageProfile**](LanguageProfileAPI.md#CreateLanguageProfile) | **Post** /api/v3/languageprofile | -[**DeleteLanguageProfile**](LanguageProfileAPI.md#DeleteLanguageProfile) | **Delete** /api/v3/languageprofile/{id} | -[**GetLanguageProfileById**](LanguageProfileAPI.md#GetLanguageProfileById) | **Get** /api/v3/languageprofile/{id} | -[**ListLanguageProfile**](LanguageProfileAPI.md#ListLanguageProfile) | **Get** /api/v3/languageprofile | -[**UpdateLanguageProfile**](LanguageProfileAPI.md#UpdateLanguageProfile) | **Put** /api/v3/languageprofile/{id} | +[**CreateLanguageProfile**](LanguageProfileApi.md#CreateLanguageProfile) | **Post** /api/v3/languageprofile | +[**DeleteLanguageProfile**](LanguageProfileApi.md#DeleteLanguageProfile) | **Delete** /api/v3/languageprofile/{id} | +[**GetLanguageProfileById**](LanguageProfileApi.md#GetLanguageProfileById) | **Get** /api/v3/languageprofile/{id} | +[**ListLanguageProfile**](LanguageProfileApi.md#ListLanguageProfile) | **Get** /api/v3/languageprofile | +[**UpdateLanguageProfile**](LanguageProfileApi.md#UpdateLanguageProfile) | **Put** /api/v3/languageprofile/{id} | @@ -35,13 +35,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.LanguageProfileAPI.CreateLanguageProfile(context.Background()).LanguageProfileResource(languageProfileResource).Execute() + resp, r, err := apiClient.LanguageProfileApi.CreateLanguageProfile(context.Background()).LanguageProfileResource(languageProfileResource).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `LanguageProfileAPI.CreateLanguageProfile``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `LanguageProfileApi.CreateLanguageProfile``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `CreateLanguageProfile`: LanguageProfileResource - fmt.Fprintf(os.Stdout, "Response from `LanguageProfileAPI.CreateLanguageProfile`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `LanguageProfileApi.CreateLanguageProfile`: %v\n", resp) } ``` @@ -99,9 +99,9 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.LanguageProfileAPI.DeleteLanguageProfile(context.Background(), id).Execute() + resp, r, err := apiClient.LanguageProfileApi.DeleteLanguageProfile(context.Background(), id).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `LanguageProfileAPI.DeleteLanguageProfile``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `LanguageProfileApi.DeleteLanguageProfile``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -165,13 +165,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.LanguageProfileAPI.GetLanguageProfileById(context.Background(), id).Execute() + resp, r, err := apiClient.LanguageProfileApi.GetLanguageProfileById(context.Background(), id).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `LanguageProfileAPI.GetLanguageProfileById``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `LanguageProfileApi.GetLanguageProfileById``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `GetLanguageProfileById`: LanguageProfileResource - fmt.Fprintf(os.Stdout, "Response from `LanguageProfileAPI.GetLanguageProfileById`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `LanguageProfileApi.GetLanguageProfileById`: %v\n", resp) } ``` @@ -232,13 +232,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.LanguageProfileAPI.ListLanguageProfile(context.Background()).Execute() + resp, r, err := apiClient.LanguageProfileApi.ListLanguageProfile(context.Background()).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `LanguageProfileAPI.ListLanguageProfile``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `LanguageProfileApi.ListLanguageProfile``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `ListLanguageProfile`: []LanguageProfileResource - fmt.Fprintf(os.Stdout, "Response from `LanguageProfileAPI.ListLanguageProfile`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `LanguageProfileApi.ListLanguageProfile`: %v\n", resp) } ``` @@ -293,13 +293,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.LanguageProfileAPI.UpdateLanguageProfile(context.Background(), id).LanguageProfileResource(languageProfileResource).Execute() + resp, r, err := apiClient.LanguageProfileApi.UpdateLanguageProfile(context.Background(), id).LanguageProfileResource(languageProfileResource).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `LanguageProfileAPI.UpdateLanguageProfile``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `LanguageProfileApi.UpdateLanguageProfile``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `UpdateLanguageProfile`: LanguageProfileResource - fmt.Fprintf(os.Stdout, "Response from `LanguageProfileAPI.UpdateLanguageProfile`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `LanguageProfileApi.UpdateLanguageProfile`: %v\n", resp) } ``` diff --git a/sonarr/docs/LanguageProfileSchemaAPI.md b/sonarr/docs/LanguageProfileSchemaApi.md similarity index 87% rename from sonarr/docs/LanguageProfileSchemaAPI.md rename to sonarr/docs/LanguageProfileSchemaApi.md index eb7ad5f..d764208 100644 --- a/sonarr/docs/LanguageProfileSchemaAPI.md +++ b/sonarr/docs/LanguageProfileSchemaApi.md @@ -1,11 +1,11 @@ -# \LanguageProfileSchemaAPI +# \LanguageProfileSchemaApi All URIs are relative to *http://localhost:8989* Method | HTTP request | Description ------------- | ------------- | ------------- -[**GetLanguageprofileSchema**](LanguageProfileSchemaAPI.md#GetLanguageprofileSchema) | **Get** /api/v3/languageprofile/schema | -[**GetLanguageprofileSchemaById**](LanguageProfileSchemaAPI.md#GetLanguageprofileSchemaById) | **Get** /api/v3/languageprofile/schema/{id} | +[**GetLanguageprofileSchema**](LanguageProfileSchemaApi.md#GetLanguageprofileSchema) | **Get** /api/v3/languageprofile/schema | +[**GetLanguageprofileSchemaById**](LanguageProfileSchemaApi.md#GetLanguageprofileSchemaById) | **Get** /api/v3/languageprofile/schema/{id} | @@ -31,13 +31,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.LanguageProfileSchemaAPI.GetLanguageprofileSchema(context.Background()).Execute() + resp, r, err := apiClient.LanguageProfileSchemaApi.GetLanguageprofileSchema(context.Background()).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `LanguageProfileSchemaAPI.GetLanguageprofileSchema``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `LanguageProfileSchemaApi.GetLanguageprofileSchema``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `GetLanguageprofileSchema`: LanguageProfileResource - fmt.Fprintf(os.Stdout, "Response from `LanguageProfileSchemaAPI.GetLanguageprofileSchema`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `LanguageProfileSchemaApi.GetLanguageprofileSchema`: %v\n", resp) } ``` @@ -91,13 +91,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.LanguageProfileSchemaAPI.GetLanguageprofileSchemaById(context.Background(), id).Execute() + resp, r, err := apiClient.LanguageProfileSchemaApi.GetLanguageprofileSchemaById(context.Background(), id).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `LanguageProfileSchemaAPI.GetLanguageprofileSchemaById``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `LanguageProfileSchemaApi.GetLanguageprofileSchemaById``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `GetLanguageprofileSchemaById`: LanguageProfileResource - fmt.Fprintf(os.Stdout, "Response from `LanguageProfileSchemaAPI.GetLanguageprofileSchemaById`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `LanguageProfileSchemaApi.GetLanguageprofileSchemaById`: %v\n", resp) } ``` diff --git a/sonarr/docs/LocalizationAPI.md b/sonarr/docs/LocalizationApi.md similarity index 85% rename from sonarr/docs/LocalizationAPI.md rename to sonarr/docs/LocalizationApi.md index 7fb8c28..c53326d 100644 --- a/sonarr/docs/LocalizationAPI.md +++ b/sonarr/docs/LocalizationApi.md @@ -1,12 +1,12 @@ -# \LocalizationAPI +# \LocalizationApi All URIs are relative to *http://localhost:8989* Method | HTTP request | Description ------------- | ------------- | ------------- -[**GetLocalization**](LocalizationAPI.md#GetLocalization) | **Get** /api/v3/localization | -[**GetLocalizationById**](LocalizationAPI.md#GetLocalizationById) | **Get** /api/v3/localization/{id} | -[**GetLocalizationLanguage**](LocalizationAPI.md#GetLocalizationLanguage) | **Get** /api/v3/localization/language | +[**GetLocalization**](LocalizationApi.md#GetLocalization) | **Get** /api/v3/localization | +[**GetLocalizationById**](LocalizationApi.md#GetLocalizationById) | **Get** /api/v3/localization/{id} | +[**GetLocalizationLanguage**](LocalizationApi.md#GetLocalizationLanguage) | **Get** /api/v3/localization/language | @@ -32,13 +32,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.LocalizationAPI.GetLocalization(context.Background()).Execute() + resp, r, err := apiClient.LocalizationApi.GetLocalization(context.Background()).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `LocalizationAPI.GetLocalization``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `LocalizationApi.GetLocalization``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `GetLocalization`: LocalizationResource - fmt.Fprintf(os.Stdout, "Response from `LocalizationAPI.GetLocalization`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `LocalizationApi.GetLocalization`: %v\n", resp) } ``` @@ -92,13 +92,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.LocalizationAPI.GetLocalizationById(context.Background(), id).Execute() + resp, r, err := apiClient.LocalizationApi.GetLocalizationById(context.Background(), id).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `LocalizationAPI.GetLocalizationById``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `LocalizationApi.GetLocalizationById``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `GetLocalizationById`: LocalizationResource - fmt.Fprintf(os.Stdout, "Response from `LocalizationAPI.GetLocalizationById`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `LocalizationApi.GetLocalizationById`: %v\n", resp) } ``` @@ -159,13 +159,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.LocalizationAPI.GetLocalizationLanguage(context.Background()).Execute() + resp, r, err := apiClient.LocalizationApi.GetLocalizationLanguage(context.Background()).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `LocalizationAPI.GetLocalizationLanguage``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `LocalizationApi.GetLocalizationLanguage``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `GetLocalizationLanguage`: LocalizationLanguageResource - fmt.Fprintf(os.Stdout, "Response from `LocalizationAPI.GetLocalizationLanguage`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `LocalizationApi.GetLocalizationLanguage`: %v\n", resp) } ``` diff --git a/sonarr/docs/LogAPI.md b/sonarr/docs/LogApi.md similarity index 82% rename from sonarr/docs/LogAPI.md rename to sonarr/docs/LogApi.md index 543dfbf..a725df5 100644 --- a/sonarr/docs/LogAPI.md +++ b/sonarr/docs/LogApi.md @@ -1,10 +1,10 @@ -# \LogAPI +# \LogApi All URIs are relative to *http://localhost:8989* Method | HTTP request | Description ------------- | ------------- | ------------- -[**GetLog**](LogAPI.md#GetLog) | **Get** /api/v3/log | +[**GetLog**](LogApi.md#GetLog) | **Get** /api/v3/log | @@ -30,13 +30,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.LogAPI.GetLog(context.Background()).Execute() + resp, r, err := apiClient.LogApi.GetLog(context.Background()).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `LogAPI.GetLog``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `LogApi.GetLog``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `GetLog`: LogResourcePagingResource - fmt.Fprintf(os.Stdout, "Response from `LogAPI.GetLog`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `LogApi.GetLog`: %v\n", resp) } ``` diff --git a/sonarr/docs/LogFileAPI.md b/sonarr/docs/LogFileApi.md similarity index 85% rename from sonarr/docs/LogFileAPI.md rename to sonarr/docs/LogFileApi.md index 12a9737..6be40a1 100644 --- a/sonarr/docs/LogFileAPI.md +++ b/sonarr/docs/LogFileApi.md @@ -1,11 +1,11 @@ -# \LogFileAPI +# \LogFileApi All URIs are relative to *http://localhost:8989* Method | HTTP request | Description ------------- | ------------- | ------------- -[**GetLogFileByFilename**](LogFileAPI.md#GetLogFileByFilename) | **Get** /api/v3/log/file/{filename} | -[**ListLogFile**](LogFileAPI.md#ListLogFile) | **Get** /api/v3/log/file | +[**GetLogFileByFilename**](LogFileApi.md#GetLogFileByFilename) | **Get** /api/v3/log/file/{filename} | +[**ListLogFile**](LogFileApi.md#ListLogFile) | **Get** /api/v3/log/file | @@ -32,9 +32,9 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.LogFileAPI.GetLogFileByFilename(context.Background(), filename).Execute() + resp, r, err := apiClient.LogFileApi.GetLogFileByFilename(context.Background(), filename).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `LogFileAPI.GetLogFileByFilename``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `LogFileApi.GetLogFileByFilename``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -97,13 +97,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.LogFileAPI.ListLogFile(context.Background()).Execute() + resp, r, err := apiClient.LogFileApi.ListLogFile(context.Background()).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `LogFileAPI.ListLogFile``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `LogFileApi.ListLogFile``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `ListLogFile`: []LogFileResource - fmt.Fprintf(os.Stdout, "Response from `LogFileAPI.ListLogFile`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `LogFileApi.ListLogFile`: %v\n", resp) } ``` diff --git a/sonarr/docs/ManualImportAPI.md b/sonarr/docs/ManualImportApi.md similarity index 90% rename from sonarr/docs/ManualImportAPI.md rename to sonarr/docs/ManualImportApi.md index b582c7d..0140005 100644 --- a/sonarr/docs/ManualImportAPI.md +++ b/sonarr/docs/ManualImportApi.md @@ -1,11 +1,11 @@ -# \ManualImportAPI +# \ManualImportApi All URIs are relative to *http://localhost:8989* Method | HTTP request | Description ------------- | ------------- | ------------- -[**CreateManualImport**](ManualImportAPI.md#CreateManualImport) | **Post** /api/v3/manualimport | -[**ListManualImport**](ManualImportAPI.md#ListManualImport) | **Get** /api/v3/manualimport | +[**CreateManualImport**](ManualImportApi.md#CreateManualImport) | **Post** /api/v3/manualimport | +[**ListManualImport**](ManualImportApi.md#ListManualImport) | **Get** /api/v3/manualimport | @@ -32,9 +32,9 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.ManualImportAPI.CreateManualImport(context.Background()).ManualImportReprocessResource(manualImportReprocessResource).Execute() + resp, r, err := apiClient.ManualImportApi.CreateManualImport(context.Background()).ManualImportReprocessResource(manualImportReprocessResource).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `ManualImportAPI.CreateManualImport``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `ManualImportApi.CreateManualImport``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -98,13 +98,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.ManualImportAPI.ListManualImport(context.Background()).Folder(folder).DownloadId(downloadId).SeriesId(seriesId).SeasonNumber(seasonNumber).FilterExistingFiles(filterExistingFiles).Execute() + resp, r, err := apiClient.ManualImportApi.ListManualImport(context.Background()).Folder(folder).DownloadId(downloadId).SeriesId(seriesId).SeasonNumber(seasonNumber).FilterExistingFiles(filterExistingFiles).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `ManualImportAPI.ListManualImport``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `ManualImportApi.ListManualImport``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `ListManualImport`: []ManualImportResource - fmt.Fprintf(os.Stdout, "Response from `ManualImportAPI.ListManualImport`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `ManualImportApi.ListManualImport`: %v\n", resp) } ``` diff --git a/sonarr/docs/MediaCoverAPI.md b/sonarr/docs/MediaCoverApi.md similarity index 87% rename from sonarr/docs/MediaCoverAPI.md rename to sonarr/docs/MediaCoverApi.md index a513117..8bca566 100644 --- a/sonarr/docs/MediaCoverAPI.md +++ b/sonarr/docs/MediaCoverApi.md @@ -1,10 +1,10 @@ -# \MediaCoverAPI +# \MediaCoverApi All URIs are relative to *http://localhost:8989* Method | HTTP request | Description ------------- | ------------- | ------------- -[**GetMediaCoverseriesIdByFilename**](MediaCoverAPI.md#GetMediaCoverseriesIdByFilename) | **Get** /api/v3/mediacover/{seriesId}/{filename} | +[**GetMediaCoverseriesIdByFilename**](MediaCoverApi.md#GetMediaCoverseriesIdByFilename) | **Get** /api/v3/mediacover/{seriesId}/{filename} | @@ -32,9 +32,9 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.MediaCoverAPI.GetMediaCoverseriesIdByFilename(context.Background(), seriesId, filename).Execute() + resp, r, err := apiClient.MediaCoverApi.GetMediaCoverseriesIdByFilename(context.Background(), seriesId, filename).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `MediaCoverAPI.GetMediaCoverseriesIdByFilename``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `MediaCoverApi.GetMediaCoverseriesIdByFilename``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } diff --git a/sonarr/docs/MediaManagementConfigAPI.md b/sonarr/docs/MediaManagementConfigApi.md similarity index 88% rename from sonarr/docs/MediaManagementConfigAPI.md rename to sonarr/docs/MediaManagementConfigApi.md index 77d8d54..8a7bb5a 100644 --- a/sonarr/docs/MediaManagementConfigAPI.md +++ b/sonarr/docs/MediaManagementConfigApi.md @@ -1,12 +1,12 @@ -# \MediaManagementConfigAPI +# \MediaManagementConfigApi All URIs are relative to *http://localhost:8989* Method | HTTP request | Description ------------- | ------------- | ------------- -[**GetMediaManagementConfig**](MediaManagementConfigAPI.md#GetMediaManagementConfig) | **Get** /api/v3/config/mediamanagement | -[**GetMediaManagementConfigById**](MediaManagementConfigAPI.md#GetMediaManagementConfigById) | **Get** /api/v3/config/mediamanagement/{id} | -[**UpdateMediaManagementConfig**](MediaManagementConfigAPI.md#UpdateMediaManagementConfig) | **Put** /api/v3/config/mediamanagement/{id} | +[**GetMediaManagementConfig**](MediaManagementConfigApi.md#GetMediaManagementConfig) | **Get** /api/v3/config/mediamanagement | +[**GetMediaManagementConfigById**](MediaManagementConfigApi.md#GetMediaManagementConfigById) | **Get** /api/v3/config/mediamanagement/{id} | +[**UpdateMediaManagementConfig**](MediaManagementConfigApi.md#UpdateMediaManagementConfig) | **Put** /api/v3/config/mediamanagement/{id} | @@ -32,13 +32,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.MediaManagementConfigAPI.GetMediaManagementConfig(context.Background()).Execute() + resp, r, err := apiClient.MediaManagementConfigApi.GetMediaManagementConfig(context.Background()).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `MediaManagementConfigAPI.GetMediaManagementConfig``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `MediaManagementConfigApi.GetMediaManagementConfig``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `GetMediaManagementConfig`: MediaManagementConfigResource - fmt.Fprintf(os.Stdout, "Response from `MediaManagementConfigAPI.GetMediaManagementConfig`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `MediaManagementConfigApi.GetMediaManagementConfig`: %v\n", resp) } ``` @@ -92,13 +92,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.MediaManagementConfigAPI.GetMediaManagementConfigById(context.Background(), id).Execute() + resp, r, err := apiClient.MediaManagementConfigApi.GetMediaManagementConfigById(context.Background(), id).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `MediaManagementConfigAPI.GetMediaManagementConfigById``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `MediaManagementConfigApi.GetMediaManagementConfigById``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `GetMediaManagementConfigById`: MediaManagementConfigResource - fmt.Fprintf(os.Stdout, "Response from `MediaManagementConfigAPI.GetMediaManagementConfigById`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `MediaManagementConfigApi.GetMediaManagementConfigById`: %v\n", resp) } ``` @@ -161,13 +161,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.MediaManagementConfigAPI.UpdateMediaManagementConfig(context.Background(), id).MediaManagementConfigResource(mediaManagementConfigResource).Execute() + resp, r, err := apiClient.MediaManagementConfigApi.UpdateMediaManagementConfig(context.Background(), id).MediaManagementConfigResource(mediaManagementConfigResource).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `MediaManagementConfigAPI.UpdateMediaManagementConfig``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `MediaManagementConfigApi.UpdateMediaManagementConfig``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `UpdateMediaManagementConfig`: MediaManagementConfigResource - fmt.Fprintf(os.Stdout, "Response from `MediaManagementConfigAPI.UpdateMediaManagementConfig`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `MediaManagementConfigApi.UpdateMediaManagementConfig`: %v\n", resp) } ``` diff --git a/sonarr/docs/MetadataAPI.md b/sonarr/docs/MetadataApi.md similarity index 86% rename from sonarr/docs/MetadataAPI.md rename to sonarr/docs/MetadataApi.md index a383cc4..cd121c5 100644 --- a/sonarr/docs/MetadataAPI.md +++ b/sonarr/docs/MetadataApi.md @@ -1,18 +1,18 @@ -# \MetadataAPI +# \MetadataApi All URIs are relative to *http://localhost:8989* Method | HTTP request | Description ------------- | ------------- | ------------- -[**CreateMetadata**](MetadataAPI.md#CreateMetadata) | **Post** /api/v3/metadata | -[**CreateMetadataActionByName**](MetadataAPI.md#CreateMetadataActionByName) | **Post** /api/v3/metadata/action/{name} | -[**DeleteMetadata**](MetadataAPI.md#DeleteMetadata) | **Delete** /api/v3/metadata/{id} | -[**GetMetadataById**](MetadataAPI.md#GetMetadataById) | **Get** /api/v3/metadata/{id} | -[**ListMetadata**](MetadataAPI.md#ListMetadata) | **Get** /api/v3/metadata | -[**ListMetadataSchema**](MetadataAPI.md#ListMetadataSchema) | **Get** /api/v3/metadata/schema | -[**TestMetadata**](MetadataAPI.md#TestMetadata) | **Post** /api/v3/metadata/test | -[**TestallMetadata**](MetadataAPI.md#TestallMetadata) | **Post** /api/v3/metadata/testall | -[**UpdateMetadata**](MetadataAPI.md#UpdateMetadata) | **Put** /api/v3/metadata/{id} | +[**CreateMetadata**](MetadataApi.md#CreateMetadata) | **Post** /api/v3/metadata | +[**CreateMetadataActionByName**](MetadataApi.md#CreateMetadataActionByName) | **Post** /api/v3/metadata/action/{name} | +[**DeleteMetadata**](MetadataApi.md#DeleteMetadata) | **Delete** /api/v3/metadata/{id} | +[**GetMetadataById**](MetadataApi.md#GetMetadataById) | **Get** /api/v3/metadata/{id} | +[**ListMetadata**](MetadataApi.md#ListMetadata) | **Get** /api/v3/metadata | +[**ListMetadataSchema**](MetadataApi.md#ListMetadataSchema) | **Get** /api/v3/metadata/schema | +[**TestMetadata**](MetadataApi.md#TestMetadata) | **Post** /api/v3/metadata/test | +[**TestallMetadata**](MetadataApi.md#TestallMetadata) | **Post** /api/v3/metadata/testall | +[**UpdateMetadata**](MetadataApi.md#UpdateMetadata) | **Put** /api/v3/metadata/{id} | @@ -39,13 +39,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.MetadataAPI.CreateMetadata(context.Background()).MetadataResource(metadataResource).Execute() + resp, r, err := apiClient.MetadataApi.CreateMetadata(context.Background()).MetadataResource(metadataResource).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `MetadataAPI.CreateMetadata``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `MetadataApi.CreateMetadata``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `CreateMetadata`: MetadataResource - fmt.Fprintf(os.Stdout, "Response from `MetadataAPI.CreateMetadata`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `MetadataApi.CreateMetadata`: %v\n", resp) } ``` @@ -104,9 +104,9 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.MetadataAPI.CreateMetadataActionByName(context.Background(), name).MetadataResource(metadataResource).Execute() + resp, r, err := apiClient.MetadataApi.CreateMetadataActionByName(context.Background(), name).MetadataResource(metadataResource).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `MetadataAPI.CreateMetadataActionByName``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `MetadataApi.CreateMetadataActionByName``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -171,9 +171,9 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.MetadataAPI.DeleteMetadata(context.Background(), id).Execute() + resp, r, err := apiClient.MetadataApi.DeleteMetadata(context.Background(), id).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `MetadataAPI.DeleteMetadata``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `MetadataApi.DeleteMetadata``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -237,13 +237,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.MetadataAPI.GetMetadataById(context.Background(), id).Execute() + resp, r, err := apiClient.MetadataApi.GetMetadataById(context.Background(), id).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `MetadataAPI.GetMetadataById``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `MetadataApi.GetMetadataById``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `GetMetadataById`: MetadataResource - fmt.Fprintf(os.Stdout, "Response from `MetadataAPI.GetMetadataById`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `MetadataApi.GetMetadataById`: %v\n", resp) } ``` @@ -304,13 +304,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.MetadataAPI.ListMetadata(context.Background()).Execute() + resp, r, err := apiClient.MetadataApi.ListMetadata(context.Background()).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `MetadataAPI.ListMetadata``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `MetadataApi.ListMetadata``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `ListMetadata`: []MetadataResource - fmt.Fprintf(os.Stdout, "Response from `MetadataAPI.ListMetadata`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `MetadataApi.ListMetadata`: %v\n", resp) } ``` @@ -363,13 +363,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.MetadataAPI.ListMetadataSchema(context.Background()).Execute() + resp, r, err := apiClient.MetadataApi.ListMetadataSchema(context.Background()).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `MetadataAPI.ListMetadataSchema``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `MetadataApi.ListMetadataSchema``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `ListMetadataSchema`: []MetadataResource - fmt.Fprintf(os.Stdout, "Response from `MetadataAPI.ListMetadataSchema`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `MetadataApi.ListMetadataSchema`: %v\n", resp) } ``` @@ -423,9 +423,9 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.MetadataAPI.TestMetadata(context.Background()).MetadataResource(metadataResource).Execute() + resp, r, err := apiClient.MetadataApi.TestMetadata(context.Background()).MetadataResource(metadataResource).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `MetadataAPI.TestMetadata``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `MetadataApi.TestMetadata``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -484,9 +484,9 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.MetadataAPI.TestallMetadata(context.Background()).Execute() + resp, r, err := apiClient.MetadataApi.TestallMetadata(context.Background()).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `MetadataAPI.TestallMetadata``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `MetadataApi.TestallMetadata``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -543,13 +543,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.MetadataAPI.UpdateMetadata(context.Background(), id).MetadataResource(metadataResource).Execute() + resp, r, err := apiClient.MetadataApi.UpdateMetadata(context.Background(), id).MetadataResource(metadataResource).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `MetadataAPI.UpdateMetadata``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `MetadataApi.UpdateMetadata``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `UpdateMetadata`: MetadataResource - fmt.Fprintf(os.Stdout, "Response from `MetadataAPI.UpdateMetadata`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `MetadataApi.UpdateMetadata`: %v\n", resp) } ``` diff --git a/sonarr/docs/MissingAPI.md b/sonarr/docs/MissingApi.md similarity index 86% rename from sonarr/docs/MissingAPI.md rename to sonarr/docs/MissingApi.md index 18fd8a7..0c25eb7 100644 --- a/sonarr/docs/MissingAPI.md +++ b/sonarr/docs/MissingApi.md @@ -1,11 +1,11 @@ -# \MissingAPI +# \MissingApi All URIs are relative to *http://localhost:8989* Method | HTTP request | Description ------------- | ------------- | ------------- -[**GetWantedMissing**](MissingAPI.md#GetWantedMissing) | **Get** /api/v3/wanted/missing | -[**GetWantedMissingById**](MissingAPI.md#GetWantedMissingById) | **Get** /api/v3/wanted/missing/{id} | +[**GetWantedMissing**](MissingApi.md#GetWantedMissing) | **Get** /api/v3/wanted/missing | +[**GetWantedMissingById**](MissingApi.md#GetWantedMissingById) | **Get** /api/v3/wanted/missing/{id} | @@ -33,13 +33,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.MissingAPI.GetWantedMissing(context.Background()).IncludeSeries(includeSeries).IncludeImages(includeImages).Execute() + resp, r, err := apiClient.MissingApi.GetWantedMissing(context.Background()).IncludeSeries(includeSeries).IncludeImages(includeImages).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `MissingAPI.GetWantedMissing``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `MissingApi.GetWantedMissing``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `GetWantedMissing`: EpisodeResourcePagingResource - fmt.Fprintf(os.Stdout, "Response from `MissingAPI.GetWantedMissing`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `MissingApi.GetWantedMissing`: %v\n", resp) } ``` @@ -98,13 +98,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.MissingAPI.GetWantedMissingById(context.Background(), id).Execute() + resp, r, err := apiClient.MissingApi.GetWantedMissingById(context.Background(), id).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `MissingAPI.GetWantedMissingById``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `MissingApi.GetWantedMissingById``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `GetWantedMissingById`: EpisodeResource - fmt.Fprintf(os.Stdout, "Response from `MissingAPI.GetWantedMissingById`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `MissingApi.GetWantedMissingById`: %v\n", resp) } ``` diff --git a/sonarr/docs/MonitorTypes.md b/sonarr/docs/MonitorTypes.md index 6aa3aa3..63bcc1e 100644 --- a/sonarr/docs/MonitorTypes.md +++ b/sonarr/docs/MonitorTypes.md @@ -19,10 +19,6 @@ * `PILOT` (value: `"pilot"`) -* `MONITOR_SPECIALS` (value: `"monitorSpecials"`) - -* `UNMONITOR_SPECIALS` (value: `"unmonitorSpecials"`) - * `NONE` (value: `"none"`) diff --git a/sonarr/docs/NamingConfigAPI.md b/sonarr/docs/NamingConfigApi.md similarity index 78% rename from sonarr/docs/NamingConfigAPI.md rename to sonarr/docs/NamingConfigApi.md index c5ff88e..9a43859 100644 --- a/sonarr/docs/NamingConfigAPI.md +++ b/sonarr/docs/NamingConfigApi.md @@ -1,13 +1,13 @@ -# \NamingConfigAPI +# \NamingConfigApi All URIs are relative to *http://localhost:8989* Method | HTTP request | Description ------------- | ------------- | ------------- -[**GetNamingConfig**](NamingConfigAPI.md#GetNamingConfig) | **Get** /api/v3/config/naming | -[**GetNamingConfigById**](NamingConfigAPI.md#GetNamingConfigById) | **Get** /api/v3/config/naming/{id} | -[**GetNamingConfigExamples**](NamingConfigAPI.md#GetNamingConfigExamples) | **Get** /api/v3/config/naming/examples | -[**UpdateNamingConfig**](NamingConfigAPI.md#UpdateNamingConfig) | **Put** /api/v3/config/naming/{id} | +[**GetNamingConfig**](NamingConfigApi.md#GetNamingConfig) | **Get** /api/v3/config/naming | +[**GetNamingConfigById**](NamingConfigApi.md#GetNamingConfigById) | **Get** /api/v3/config/naming/{id} | +[**GetNamingConfigExamples**](NamingConfigApi.md#GetNamingConfigExamples) | **Get** /api/v3/config/naming/examples | +[**UpdateNamingConfig**](NamingConfigApi.md#UpdateNamingConfig) | **Put** /api/v3/config/naming/{id} | @@ -33,13 +33,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.NamingConfigAPI.GetNamingConfig(context.Background()).Execute() + resp, r, err := apiClient.NamingConfigApi.GetNamingConfig(context.Background()).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `NamingConfigAPI.GetNamingConfig``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `NamingConfigApi.GetNamingConfig``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `GetNamingConfig`: NamingConfigResource - fmt.Fprintf(os.Stdout, "Response from `NamingConfigAPI.GetNamingConfig`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `NamingConfigApi.GetNamingConfig`: %v\n", resp) } ``` @@ -93,13 +93,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.NamingConfigAPI.GetNamingConfigById(context.Background(), id).Execute() + resp, r, err := apiClient.NamingConfigApi.GetNamingConfigById(context.Background(), id).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `NamingConfigAPI.GetNamingConfigById``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `NamingConfigApi.GetNamingConfigById``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `GetNamingConfigById`: NamingConfigResource - fmt.Fprintf(os.Stdout, "Response from `NamingConfigAPI.GetNamingConfigById`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `NamingConfigApi.GetNamingConfigById`: %v\n", resp) } ``` @@ -140,7 +140,7 @@ Name | Type | Description | Notes ## GetNamingConfigExamples -> GetNamingConfigExamples(ctx).RenameEpisodes(renameEpisodes).ReplaceIllegalCharacters(replaceIllegalCharacters).ColonReplacementFormat(colonReplacementFormat).MultiEpisodeStyle(multiEpisodeStyle).StandardEpisodeFormat(standardEpisodeFormat).DailyEpisodeFormat(dailyEpisodeFormat).AnimeEpisodeFormat(animeEpisodeFormat).SeriesFolderFormat(seriesFolderFormat).SeasonFolderFormat(seasonFolderFormat).SpecialsFolderFormat(specialsFolderFormat).IncludeSeriesTitle(includeSeriesTitle).IncludeEpisodeTitle(includeEpisodeTitle).IncludeQuality(includeQuality).ReplaceSpaces(replaceSpaces).Separator(separator).NumberStyle(numberStyle).Id(id).ResourceName(resourceName).Execute() +> GetNamingConfigExamples(ctx).RenameEpisodes(renameEpisodes).ReplaceIllegalCharacters(replaceIllegalCharacters).MultiEpisodeStyle(multiEpisodeStyle).StandardEpisodeFormat(standardEpisodeFormat).DailyEpisodeFormat(dailyEpisodeFormat).AnimeEpisodeFormat(animeEpisodeFormat).SeriesFolderFormat(seriesFolderFormat).SeasonFolderFormat(seasonFolderFormat).SpecialsFolderFormat(specialsFolderFormat).IncludeSeriesTitle(includeSeriesTitle).IncludeEpisodeTitle(includeEpisodeTitle).IncludeQuality(includeQuality).ReplaceSpaces(replaceSpaces).Separator(separator).NumberStyle(numberStyle).Id(id).ResourceName(resourceName).Execute() @@ -159,7 +159,6 @@ import ( func main() { renameEpisodes := true // bool | (optional) replaceIllegalCharacters := true // bool | (optional) - colonReplacementFormat := int32(56) // int32 | (optional) multiEpisodeStyle := int32(56) // int32 | (optional) standardEpisodeFormat := "standardEpisodeFormat_example" // string | (optional) dailyEpisodeFormat := "dailyEpisodeFormat_example" // string | (optional) @@ -178,9 +177,9 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.NamingConfigAPI.GetNamingConfigExamples(context.Background()).RenameEpisodes(renameEpisodes).ReplaceIllegalCharacters(replaceIllegalCharacters).ColonReplacementFormat(colonReplacementFormat).MultiEpisodeStyle(multiEpisodeStyle).StandardEpisodeFormat(standardEpisodeFormat).DailyEpisodeFormat(dailyEpisodeFormat).AnimeEpisodeFormat(animeEpisodeFormat).SeriesFolderFormat(seriesFolderFormat).SeasonFolderFormat(seasonFolderFormat).SpecialsFolderFormat(specialsFolderFormat).IncludeSeriesTitle(includeSeriesTitle).IncludeEpisodeTitle(includeEpisodeTitle).IncludeQuality(includeQuality).ReplaceSpaces(replaceSpaces).Separator(separator).NumberStyle(numberStyle).Id(id).ResourceName(resourceName).Execute() + resp, r, err := apiClient.NamingConfigApi.GetNamingConfigExamples(context.Background()).RenameEpisodes(renameEpisodes).ReplaceIllegalCharacters(replaceIllegalCharacters).MultiEpisodeStyle(multiEpisodeStyle).StandardEpisodeFormat(standardEpisodeFormat).DailyEpisodeFormat(dailyEpisodeFormat).AnimeEpisodeFormat(animeEpisodeFormat).SeriesFolderFormat(seriesFolderFormat).SeasonFolderFormat(seasonFolderFormat).SpecialsFolderFormat(specialsFolderFormat).IncludeSeriesTitle(includeSeriesTitle).IncludeEpisodeTitle(includeEpisodeTitle).IncludeQuality(includeQuality).ReplaceSpaces(replaceSpaces).Separator(separator).NumberStyle(numberStyle).Id(id).ResourceName(resourceName).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `NamingConfigAPI.GetNamingConfigExamples``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `NamingConfigApi.GetNamingConfigExamples``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -199,7 +198,6 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **renameEpisodes** | **bool** | | **replaceIllegalCharacters** | **bool** | | - **colonReplacementFormat** | **int32** | | **multiEpisodeStyle** | **int32** | | **standardEpisodeFormat** | **string** | | **dailyEpisodeFormat** | **string** | | @@ -258,13 +256,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.NamingConfigAPI.UpdateNamingConfig(context.Background(), id).NamingConfigResource(namingConfigResource).Execute() + resp, r, err := apiClient.NamingConfigApi.UpdateNamingConfig(context.Background(), id).NamingConfigResource(namingConfigResource).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `NamingConfigAPI.UpdateNamingConfig``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `NamingConfigApi.UpdateNamingConfig``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `UpdateNamingConfig`: NamingConfigResource - fmt.Fprintf(os.Stdout, "Response from `NamingConfigAPI.UpdateNamingConfig`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `NamingConfigApi.UpdateNamingConfig`: %v\n", resp) } ``` diff --git a/sonarr/docs/NamingConfigResource.md b/sonarr/docs/NamingConfigResource.md index 42d28a8..3c75d9e 100644 --- a/sonarr/docs/NamingConfigResource.md +++ b/sonarr/docs/NamingConfigResource.md @@ -7,7 +7,6 @@ Name | Type | Description | Notes **Id** | Pointer to **int32** | | [optional] **RenameEpisodes** | Pointer to **bool** | | [optional] **ReplaceIllegalCharacters** | Pointer to **bool** | | [optional] -**ColonReplacementFormat** | Pointer to **int32** | | [optional] **MultiEpisodeStyle** | Pointer to **int32** | | [optional] **StandardEpisodeFormat** | Pointer to **NullableString** | | [optional] **DailyEpisodeFormat** | Pointer to **NullableString** | | [optional] @@ -116,31 +115,6 @@ SetReplaceIllegalCharacters sets ReplaceIllegalCharacters field to given value. HasReplaceIllegalCharacters returns a boolean if a field has been set. -### GetColonReplacementFormat - -`func (o *NamingConfigResource) GetColonReplacementFormat() int32` - -GetColonReplacementFormat returns the ColonReplacementFormat field if non-nil, zero value otherwise. - -### GetColonReplacementFormatOk - -`func (o *NamingConfigResource) GetColonReplacementFormatOk() (*int32, bool)` - -GetColonReplacementFormatOk returns a tuple with the ColonReplacementFormat field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetColonReplacementFormat - -`func (o *NamingConfigResource) SetColonReplacementFormat(v int32)` - -SetColonReplacementFormat sets ColonReplacementFormat field to given value. - -### HasColonReplacementFormat - -`func (o *NamingConfigResource) HasColonReplacementFormat() bool` - -HasColonReplacementFormat returns a boolean if a field has been set. - ### GetMultiEpisodeStyle `func (o *NamingConfigResource) GetMultiEpisodeStyle() int32` diff --git a/sonarr/docs/NotificationAPI.md b/sonarr/docs/NotificationApi.md similarity index 88% rename from sonarr/docs/NotificationAPI.md rename to sonarr/docs/NotificationApi.md index 8b43bd2..a6f1017 100644 --- a/sonarr/docs/NotificationAPI.md +++ b/sonarr/docs/NotificationApi.md @@ -1,18 +1,18 @@ -# \NotificationAPI +# \NotificationApi All URIs are relative to *http://localhost:8989* Method | HTTP request | Description ------------- | ------------- | ------------- -[**CreateNotification**](NotificationAPI.md#CreateNotification) | **Post** /api/v3/notification | -[**CreateNotificationActionByName**](NotificationAPI.md#CreateNotificationActionByName) | **Post** /api/v3/notification/action/{name} | -[**DeleteNotification**](NotificationAPI.md#DeleteNotification) | **Delete** /api/v3/notification/{id} | -[**GetNotificationById**](NotificationAPI.md#GetNotificationById) | **Get** /api/v3/notification/{id} | -[**ListNotification**](NotificationAPI.md#ListNotification) | **Get** /api/v3/notification | -[**ListNotificationSchema**](NotificationAPI.md#ListNotificationSchema) | **Get** /api/v3/notification/schema | -[**TestNotification**](NotificationAPI.md#TestNotification) | **Post** /api/v3/notification/test | -[**TestallNotification**](NotificationAPI.md#TestallNotification) | **Post** /api/v3/notification/testall | -[**UpdateNotification**](NotificationAPI.md#UpdateNotification) | **Put** /api/v3/notification/{id} | +[**CreateNotification**](NotificationApi.md#CreateNotification) | **Post** /api/v3/notification | +[**CreateNotificationActionByName**](NotificationApi.md#CreateNotificationActionByName) | **Post** /api/v3/notification/action/{name} | +[**DeleteNotification**](NotificationApi.md#DeleteNotification) | **Delete** /api/v3/notification/{id} | +[**GetNotificationById**](NotificationApi.md#GetNotificationById) | **Get** /api/v3/notification/{id} | +[**ListNotification**](NotificationApi.md#ListNotification) | **Get** /api/v3/notification | +[**ListNotificationSchema**](NotificationApi.md#ListNotificationSchema) | **Get** /api/v3/notification/schema | +[**TestNotification**](NotificationApi.md#TestNotification) | **Post** /api/v3/notification/test | +[**TestallNotification**](NotificationApi.md#TestallNotification) | **Post** /api/v3/notification/testall | +[**UpdateNotification**](NotificationApi.md#UpdateNotification) | **Put** /api/v3/notification/{id} | @@ -39,13 +39,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.NotificationAPI.CreateNotification(context.Background()).NotificationResource(notificationResource).Execute() + resp, r, err := apiClient.NotificationApi.CreateNotification(context.Background()).NotificationResource(notificationResource).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `NotificationAPI.CreateNotification``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `NotificationApi.CreateNotification``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `CreateNotification`: NotificationResource - fmt.Fprintf(os.Stdout, "Response from `NotificationAPI.CreateNotification`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `NotificationApi.CreateNotification`: %v\n", resp) } ``` @@ -104,9 +104,9 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.NotificationAPI.CreateNotificationActionByName(context.Background(), name).NotificationResource(notificationResource).Execute() + resp, r, err := apiClient.NotificationApi.CreateNotificationActionByName(context.Background(), name).NotificationResource(notificationResource).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `NotificationAPI.CreateNotificationActionByName``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `NotificationApi.CreateNotificationActionByName``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -171,9 +171,9 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.NotificationAPI.DeleteNotification(context.Background(), id).Execute() + resp, r, err := apiClient.NotificationApi.DeleteNotification(context.Background(), id).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `NotificationAPI.DeleteNotification``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `NotificationApi.DeleteNotification``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -237,13 +237,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.NotificationAPI.GetNotificationById(context.Background(), id).Execute() + resp, r, err := apiClient.NotificationApi.GetNotificationById(context.Background(), id).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `NotificationAPI.GetNotificationById``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `NotificationApi.GetNotificationById``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `GetNotificationById`: NotificationResource - fmt.Fprintf(os.Stdout, "Response from `NotificationAPI.GetNotificationById`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `NotificationApi.GetNotificationById`: %v\n", resp) } ``` @@ -304,13 +304,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.NotificationAPI.ListNotification(context.Background()).Execute() + resp, r, err := apiClient.NotificationApi.ListNotification(context.Background()).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `NotificationAPI.ListNotification``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `NotificationApi.ListNotification``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `ListNotification`: []NotificationResource - fmt.Fprintf(os.Stdout, "Response from `NotificationAPI.ListNotification`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `NotificationApi.ListNotification`: %v\n", resp) } ``` @@ -363,13 +363,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.NotificationAPI.ListNotificationSchema(context.Background()).Execute() + resp, r, err := apiClient.NotificationApi.ListNotificationSchema(context.Background()).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `NotificationAPI.ListNotificationSchema``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `NotificationApi.ListNotificationSchema``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `ListNotificationSchema`: []NotificationResource - fmt.Fprintf(os.Stdout, "Response from `NotificationAPI.ListNotificationSchema`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `NotificationApi.ListNotificationSchema`: %v\n", resp) } ``` @@ -423,9 +423,9 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.NotificationAPI.TestNotification(context.Background()).NotificationResource(notificationResource).Execute() + resp, r, err := apiClient.NotificationApi.TestNotification(context.Background()).NotificationResource(notificationResource).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `NotificationAPI.TestNotification``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `NotificationApi.TestNotification``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -484,9 +484,9 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.NotificationAPI.TestallNotification(context.Background()).Execute() + resp, r, err := apiClient.NotificationApi.TestallNotification(context.Background()).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `NotificationAPI.TestallNotification``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `NotificationApi.TestallNotification``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -543,13 +543,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.NotificationAPI.UpdateNotification(context.Background(), id).NotificationResource(notificationResource).Execute() + resp, r, err := apiClient.NotificationApi.UpdateNotification(context.Background(), id).NotificationResource(notificationResource).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `NotificationAPI.UpdateNotification``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `NotificationApi.UpdateNotification``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `UpdateNotification`: NotificationResource - fmt.Fprintf(os.Stdout, "Response from `NotificationAPI.UpdateNotification`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `NotificationApi.UpdateNotification`: %v\n", resp) } ``` diff --git a/sonarr/docs/NotificationResource.md b/sonarr/docs/NotificationResource.md index 27e776d..4e3ed23 100644 --- a/sonarr/docs/NotificationResource.md +++ b/sonarr/docs/NotificationResource.md @@ -19,26 +19,20 @@ Name | Type | Description | Notes **OnDownload** | Pointer to **bool** | | [optional] **OnUpgrade** | Pointer to **bool** | | [optional] **OnRename** | Pointer to **bool** | | [optional] -**OnSeriesAdd** | Pointer to **bool** | | [optional] **OnSeriesDelete** | Pointer to **bool** | | [optional] **OnEpisodeFileDelete** | Pointer to **bool** | | [optional] **OnEpisodeFileDeleteForUpgrade** | Pointer to **bool** | | [optional] **OnHealthIssue** | Pointer to **bool** | | [optional] -**OnHealthRestored** | Pointer to **bool** | | [optional] **OnApplicationUpdate** | Pointer to **bool** | | [optional] -**OnManualInteractionRequired** | Pointer to **bool** | | [optional] **SupportsOnGrab** | Pointer to **bool** | | [optional] **SupportsOnDownload** | Pointer to **bool** | | [optional] **SupportsOnUpgrade** | Pointer to **bool** | | [optional] **SupportsOnRename** | Pointer to **bool** | | [optional] -**SupportsOnSeriesAdd** | Pointer to **bool** | | [optional] **SupportsOnSeriesDelete** | Pointer to **bool** | | [optional] **SupportsOnEpisodeFileDelete** | Pointer to **bool** | | [optional] **SupportsOnEpisodeFileDeleteForUpgrade** | Pointer to **bool** | | [optional] **SupportsOnHealthIssue** | Pointer to **bool** | | [optional] -**SupportsOnHealthRestored** | Pointer to **bool** | | [optional] **SupportsOnApplicationUpdate** | Pointer to **bool** | | [optional] -**SupportsOnManualInteractionRequired** | Pointer to **bool** | | [optional] **IncludeHealthWarnings** | Pointer to **bool** | | [optional] **TestCommand** | Pointer to **NullableString** | | [optional] @@ -526,31 +520,6 @@ SetOnRename sets OnRename field to given value. HasOnRename returns a boolean if a field has been set. -### GetOnSeriesAdd - -`func (o *NotificationResource) GetOnSeriesAdd() bool` - -GetOnSeriesAdd returns the OnSeriesAdd field if non-nil, zero value otherwise. - -### GetOnSeriesAddOk - -`func (o *NotificationResource) GetOnSeriesAddOk() (*bool, bool)` - -GetOnSeriesAddOk returns a tuple with the OnSeriesAdd field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetOnSeriesAdd - -`func (o *NotificationResource) SetOnSeriesAdd(v bool)` - -SetOnSeriesAdd sets OnSeriesAdd field to given value. - -### HasOnSeriesAdd - -`func (o *NotificationResource) HasOnSeriesAdd() bool` - -HasOnSeriesAdd returns a boolean if a field has been set. - ### GetOnSeriesDelete `func (o *NotificationResource) GetOnSeriesDelete() bool` @@ -651,31 +620,6 @@ SetOnHealthIssue sets OnHealthIssue field to given value. HasOnHealthIssue returns a boolean if a field has been set. -### GetOnHealthRestored - -`func (o *NotificationResource) GetOnHealthRestored() bool` - -GetOnHealthRestored returns the OnHealthRestored field if non-nil, zero value otherwise. - -### GetOnHealthRestoredOk - -`func (o *NotificationResource) GetOnHealthRestoredOk() (*bool, bool)` - -GetOnHealthRestoredOk returns a tuple with the OnHealthRestored field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetOnHealthRestored - -`func (o *NotificationResource) SetOnHealthRestored(v bool)` - -SetOnHealthRestored sets OnHealthRestored field to given value. - -### HasOnHealthRestored - -`func (o *NotificationResource) HasOnHealthRestored() bool` - -HasOnHealthRestored returns a boolean if a field has been set. - ### GetOnApplicationUpdate `func (o *NotificationResource) GetOnApplicationUpdate() bool` @@ -701,31 +645,6 @@ SetOnApplicationUpdate sets OnApplicationUpdate field to given value. HasOnApplicationUpdate returns a boolean if a field has been set. -### GetOnManualInteractionRequired - -`func (o *NotificationResource) GetOnManualInteractionRequired() bool` - -GetOnManualInteractionRequired returns the OnManualInteractionRequired field if non-nil, zero value otherwise. - -### GetOnManualInteractionRequiredOk - -`func (o *NotificationResource) GetOnManualInteractionRequiredOk() (*bool, bool)` - -GetOnManualInteractionRequiredOk returns a tuple with the OnManualInteractionRequired field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetOnManualInteractionRequired - -`func (o *NotificationResource) SetOnManualInteractionRequired(v bool)` - -SetOnManualInteractionRequired sets OnManualInteractionRequired field to given value. - -### HasOnManualInteractionRequired - -`func (o *NotificationResource) HasOnManualInteractionRequired() bool` - -HasOnManualInteractionRequired returns a boolean if a field has been set. - ### GetSupportsOnGrab `func (o *NotificationResource) GetSupportsOnGrab() bool` @@ -826,31 +745,6 @@ SetSupportsOnRename sets SupportsOnRename field to given value. HasSupportsOnRename returns a boolean if a field has been set. -### GetSupportsOnSeriesAdd - -`func (o *NotificationResource) GetSupportsOnSeriesAdd() bool` - -GetSupportsOnSeriesAdd returns the SupportsOnSeriesAdd field if non-nil, zero value otherwise. - -### GetSupportsOnSeriesAddOk - -`func (o *NotificationResource) GetSupportsOnSeriesAddOk() (*bool, bool)` - -GetSupportsOnSeriesAddOk returns a tuple with the SupportsOnSeriesAdd field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSupportsOnSeriesAdd - -`func (o *NotificationResource) SetSupportsOnSeriesAdd(v bool)` - -SetSupportsOnSeriesAdd sets SupportsOnSeriesAdd field to given value. - -### HasSupportsOnSeriesAdd - -`func (o *NotificationResource) HasSupportsOnSeriesAdd() bool` - -HasSupportsOnSeriesAdd returns a boolean if a field has been set. - ### GetSupportsOnSeriesDelete `func (o *NotificationResource) GetSupportsOnSeriesDelete() bool` @@ -951,31 +845,6 @@ SetSupportsOnHealthIssue sets SupportsOnHealthIssue field to given value. HasSupportsOnHealthIssue returns a boolean if a field has been set. -### GetSupportsOnHealthRestored - -`func (o *NotificationResource) GetSupportsOnHealthRestored() bool` - -GetSupportsOnHealthRestored returns the SupportsOnHealthRestored field if non-nil, zero value otherwise. - -### GetSupportsOnHealthRestoredOk - -`func (o *NotificationResource) GetSupportsOnHealthRestoredOk() (*bool, bool)` - -GetSupportsOnHealthRestoredOk returns a tuple with the SupportsOnHealthRestored field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSupportsOnHealthRestored - -`func (o *NotificationResource) SetSupportsOnHealthRestored(v bool)` - -SetSupportsOnHealthRestored sets SupportsOnHealthRestored field to given value. - -### HasSupportsOnHealthRestored - -`func (o *NotificationResource) HasSupportsOnHealthRestored() bool` - -HasSupportsOnHealthRestored returns a boolean if a field has been set. - ### GetSupportsOnApplicationUpdate `func (o *NotificationResource) GetSupportsOnApplicationUpdate() bool` @@ -1001,31 +870,6 @@ SetSupportsOnApplicationUpdate sets SupportsOnApplicationUpdate field to given v HasSupportsOnApplicationUpdate returns a boolean if a field has been set. -### GetSupportsOnManualInteractionRequired - -`func (o *NotificationResource) GetSupportsOnManualInteractionRequired() bool` - -GetSupportsOnManualInteractionRequired returns the SupportsOnManualInteractionRequired field if non-nil, zero value otherwise. - -### GetSupportsOnManualInteractionRequiredOk - -`func (o *NotificationResource) GetSupportsOnManualInteractionRequiredOk() (*bool, bool)` - -GetSupportsOnManualInteractionRequiredOk returns a tuple with the SupportsOnManualInteractionRequired field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSupportsOnManualInteractionRequired - -`func (o *NotificationResource) SetSupportsOnManualInteractionRequired(v bool)` - -SetSupportsOnManualInteractionRequired sets SupportsOnManualInteractionRequired field to given value. - -### HasSupportsOnManualInteractionRequired - -`func (o *NotificationResource) HasSupportsOnManualInteractionRequired() bool` - -HasSupportsOnManualInteractionRequired returns a boolean if a field has been set. - ### GetIncludeHealthWarnings `func (o *NotificationResource) GetIncludeHealthWarnings() bool` diff --git a/sonarr/docs/ParseAPI.md b/sonarr/docs/ParseApi.md similarity index 84% rename from sonarr/docs/ParseAPI.md rename to sonarr/docs/ParseApi.md index 1685cba..20c467d 100644 --- a/sonarr/docs/ParseAPI.md +++ b/sonarr/docs/ParseApi.md @@ -1,10 +1,10 @@ -# \ParseAPI +# \ParseApi All URIs are relative to *http://localhost:8989* Method | HTTP request | Description ------------- | ------------- | ------------- -[**GetParse**](ParseAPI.md#GetParse) | **Get** /api/v3/parse | +[**GetParse**](ParseApi.md#GetParse) | **Get** /api/v3/parse | @@ -32,13 +32,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.ParseAPI.GetParse(context.Background()).Title(title).Path(path).Execute() + resp, r, err := apiClient.ParseApi.GetParse(context.Background()).Title(title).Path(path).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `ParseAPI.GetParse``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `ParseApi.GetParse``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `GetParse`: ParseResource - fmt.Fprintf(os.Stdout, "Response from `ParseAPI.GetParse`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `ParseApi.GetParse`: %v\n", resp) } ``` diff --git a/sonarr/docs/PingAPI.md b/sonarr/docs/PingApi.md similarity index 82% rename from sonarr/docs/PingAPI.md rename to sonarr/docs/PingApi.md index 0f246f5..243ff96 100644 --- a/sonarr/docs/PingAPI.md +++ b/sonarr/docs/PingApi.md @@ -1,10 +1,10 @@ -# \PingAPI +# \PingApi All URIs are relative to *http://localhost:8989* Method | HTTP request | Description ------------- | ------------- | ------------- -[**GetPing**](PingAPI.md#GetPing) | **Get** /ping | +[**GetPing**](PingApi.md#GetPing) | **Get** /ping | @@ -30,13 +30,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.PingAPI.GetPing(context.Background()).Execute() + resp, r, err := apiClient.PingApi.GetPing(context.Background()).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `PingAPI.GetPing``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `PingApi.GetPing``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `GetPing`: PingResource - fmt.Fprintf(os.Stdout, "Response from `PingAPI.GetPing`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `PingApi.GetPing`: %v\n", resp) } ``` diff --git a/sonarr/docs/QualityDefinitionAPI.md b/sonarr/docs/QualityDefinitionApi.md similarity index 88% rename from sonarr/docs/QualityDefinitionAPI.md rename to sonarr/docs/QualityDefinitionApi.md index 7491170..49df48b 100644 --- a/sonarr/docs/QualityDefinitionAPI.md +++ b/sonarr/docs/QualityDefinitionApi.md @@ -1,13 +1,13 @@ -# \QualityDefinitionAPI +# \QualityDefinitionApi All URIs are relative to *http://localhost:8989* Method | HTTP request | Description ------------- | ------------- | ------------- -[**GetQualityDefinitionById**](QualityDefinitionAPI.md#GetQualityDefinitionById) | **Get** /api/v3/qualitydefinition/{id} | -[**ListQualityDefinition**](QualityDefinitionAPI.md#ListQualityDefinition) | **Get** /api/v3/qualitydefinition | -[**PutQualityDefinitionUpdate**](QualityDefinitionAPI.md#PutQualityDefinitionUpdate) | **Put** /api/v3/qualitydefinition/update | -[**UpdateQualityDefinition**](QualityDefinitionAPI.md#UpdateQualityDefinition) | **Put** /api/v3/qualitydefinition/{id} | +[**GetQualityDefinitionById**](QualityDefinitionApi.md#GetQualityDefinitionById) | **Get** /api/v3/qualitydefinition/{id} | +[**ListQualityDefinition**](QualityDefinitionApi.md#ListQualityDefinition) | **Get** /api/v3/qualitydefinition | +[**PutQualityDefinitionUpdate**](QualityDefinitionApi.md#PutQualityDefinitionUpdate) | **Put** /api/v3/qualitydefinition/update | +[**UpdateQualityDefinition**](QualityDefinitionApi.md#UpdateQualityDefinition) | **Put** /api/v3/qualitydefinition/{id} | @@ -34,13 +34,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.QualityDefinitionAPI.GetQualityDefinitionById(context.Background(), id).Execute() + resp, r, err := apiClient.QualityDefinitionApi.GetQualityDefinitionById(context.Background(), id).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `QualityDefinitionAPI.GetQualityDefinitionById``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `QualityDefinitionApi.GetQualityDefinitionById``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `GetQualityDefinitionById`: QualityDefinitionResource - fmt.Fprintf(os.Stdout, "Response from `QualityDefinitionAPI.GetQualityDefinitionById`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `QualityDefinitionApi.GetQualityDefinitionById`: %v\n", resp) } ``` @@ -101,13 +101,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.QualityDefinitionAPI.ListQualityDefinition(context.Background()).Execute() + resp, r, err := apiClient.QualityDefinitionApi.ListQualityDefinition(context.Background()).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `QualityDefinitionAPI.ListQualityDefinition``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `QualityDefinitionApi.ListQualityDefinition``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `ListQualityDefinition`: []QualityDefinitionResource - fmt.Fprintf(os.Stdout, "Response from `QualityDefinitionAPI.ListQualityDefinition`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `QualityDefinitionApi.ListQualityDefinition`: %v\n", resp) } ``` @@ -161,9 +161,9 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.QualityDefinitionAPI.PutQualityDefinitionUpdate(context.Background()).QualityDefinitionResource(qualityDefinitionResource).Execute() + resp, r, err := apiClient.QualityDefinitionApi.PutQualityDefinitionUpdate(context.Background()).QualityDefinitionResource(qualityDefinitionResource).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `QualityDefinitionAPI.PutQualityDefinitionUpdate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `QualityDefinitionApi.PutQualityDefinitionUpdate``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -224,13 +224,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.QualityDefinitionAPI.UpdateQualityDefinition(context.Background(), id).QualityDefinitionResource(qualityDefinitionResource).Execute() + resp, r, err := apiClient.QualityDefinitionApi.UpdateQualityDefinition(context.Background(), id).QualityDefinitionResource(qualityDefinitionResource).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `QualityDefinitionAPI.UpdateQualityDefinition``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `QualityDefinitionApi.UpdateQualityDefinition``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `UpdateQualityDefinition`: QualityDefinitionResource - fmt.Fprintf(os.Stdout, "Response from `QualityDefinitionAPI.UpdateQualityDefinition`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `QualityDefinitionApi.UpdateQualityDefinition`: %v\n", resp) } ``` diff --git a/sonarr/docs/QualityProfileAPI.md b/sonarr/docs/QualityProfileApi.md similarity index 87% rename from sonarr/docs/QualityProfileAPI.md rename to sonarr/docs/QualityProfileApi.md index 0c4299b..296d06b 100644 --- a/sonarr/docs/QualityProfileAPI.md +++ b/sonarr/docs/QualityProfileApi.md @@ -1,14 +1,14 @@ -# \QualityProfileAPI +# \QualityProfileApi All URIs are relative to *http://localhost:8989* Method | HTTP request | Description ------------- | ------------- | ------------- -[**CreateQualityProfile**](QualityProfileAPI.md#CreateQualityProfile) | **Post** /api/v3/qualityprofile | -[**DeleteQualityProfile**](QualityProfileAPI.md#DeleteQualityProfile) | **Delete** /api/v3/qualityprofile/{id} | -[**GetQualityProfileById**](QualityProfileAPI.md#GetQualityProfileById) | **Get** /api/v3/qualityprofile/{id} | -[**ListQualityProfile**](QualityProfileAPI.md#ListQualityProfile) | **Get** /api/v3/qualityprofile | -[**UpdateQualityProfile**](QualityProfileAPI.md#UpdateQualityProfile) | **Put** /api/v3/qualityprofile/{id} | +[**CreateQualityProfile**](QualityProfileApi.md#CreateQualityProfile) | **Post** /api/v3/qualityprofile | +[**DeleteQualityProfile**](QualityProfileApi.md#DeleteQualityProfile) | **Delete** /api/v3/qualityprofile/{id} | +[**GetQualityProfileById**](QualityProfileApi.md#GetQualityProfileById) | **Get** /api/v3/qualityprofile/{id} | +[**ListQualityProfile**](QualityProfileApi.md#ListQualityProfile) | **Get** /api/v3/qualityprofile | +[**UpdateQualityProfile**](QualityProfileApi.md#UpdateQualityProfile) | **Put** /api/v3/qualityprofile/{id} | @@ -35,13 +35,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.QualityProfileAPI.CreateQualityProfile(context.Background()).QualityProfileResource(qualityProfileResource).Execute() + resp, r, err := apiClient.QualityProfileApi.CreateQualityProfile(context.Background()).QualityProfileResource(qualityProfileResource).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `QualityProfileAPI.CreateQualityProfile``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `QualityProfileApi.CreateQualityProfile``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `CreateQualityProfile`: QualityProfileResource - fmt.Fprintf(os.Stdout, "Response from `QualityProfileAPI.CreateQualityProfile`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `QualityProfileApi.CreateQualityProfile`: %v\n", resp) } ``` @@ -99,9 +99,9 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.QualityProfileAPI.DeleteQualityProfile(context.Background(), id).Execute() + resp, r, err := apiClient.QualityProfileApi.DeleteQualityProfile(context.Background(), id).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `QualityProfileAPI.DeleteQualityProfile``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `QualityProfileApi.DeleteQualityProfile``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -165,13 +165,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.QualityProfileAPI.GetQualityProfileById(context.Background(), id).Execute() + resp, r, err := apiClient.QualityProfileApi.GetQualityProfileById(context.Background(), id).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `QualityProfileAPI.GetQualityProfileById``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `QualityProfileApi.GetQualityProfileById``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `GetQualityProfileById`: QualityProfileResource - fmt.Fprintf(os.Stdout, "Response from `QualityProfileAPI.GetQualityProfileById`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `QualityProfileApi.GetQualityProfileById`: %v\n", resp) } ``` @@ -232,13 +232,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.QualityProfileAPI.ListQualityProfile(context.Background()).Execute() + resp, r, err := apiClient.QualityProfileApi.ListQualityProfile(context.Background()).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `QualityProfileAPI.ListQualityProfile``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `QualityProfileApi.ListQualityProfile``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `ListQualityProfile`: []QualityProfileResource - fmt.Fprintf(os.Stdout, "Response from `QualityProfileAPI.ListQualityProfile`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `QualityProfileApi.ListQualityProfile`: %v\n", resp) } ``` @@ -293,13 +293,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.QualityProfileAPI.UpdateQualityProfile(context.Background(), id).QualityProfileResource(qualityProfileResource).Execute() + resp, r, err := apiClient.QualityProfileApi.UpdateQualityProfile(context.Background(), id).QualityProfileResource(qualityProfileResource).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `QualityProfileAPI.UpdateQualityProfile``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `QualityProfileApi.UpdateQualityProfile``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `UpdateQualityProfile`: QualityProfileResource - fmt.Fprintf(os.Stdout, "Response from `QualityProfileAPI.UpdateQualityProfile`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `QualityProfileApi.UpdateQualityProfile`: %v\n", resp) } ``` diff --git a/sonarr/docs/QualityProfileSchemaAPI.md b/sonarr/docs/QualityProfileSchemaApi.md similarity index 86% rename from sonarr/docs/QualityProfileSchemaAPI.md rename to sonarr/docs/QualityProfileSchemaApi.md index 88f0a01..01becab 100644 --- a/sonarr/docs/QualityProfileSchemaAPI.md +++ b/sonarr/docs/QualityProfileSchemaApi.md @@ -1,10 +1,10 @@ -# \QualityProfileSchemaAPI +# \QualityProfileSchemaApi All URIs are relative to *http://localhost:8989* Method | HTTP request | Description ------------- | ------------- | ------------- -[**GetQualityprofileSchema**](QualityProfileSchemaAPI.md#GetQualityprofileSchema) | **Get** /api/v3/qualityprofile/schema | +[**GetQualityprofileSchema**](QualityProfileSchemaApi.md#GetQualityprofileSchema) | **Get** /api/v3/qualityprofile/schema | @@ -30,13 +30,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.QualityProfileSchemaAPI.GetQualityprofileSchema(context.Background()).Execute() + resp, r, err := apiClient.QualityProfileSchemaApi.GetQualityprofileSchema(context.Background()).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `QualityProfileSchemaAPI.GetQualityprofileSchema``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `QualityProfileSchemaApi.GetQualityprofileSchema``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `GetQualityprofileSchema`: QualityProfileResource - fmt.Fprintf(os.Stdout, "Response from `QualityProfileSchemaAPI.GetQualityprofileSchema`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `QualityProfileSchemaApi.GetQualityprofileSchema`: %v\n", resp) } ``` diff --git a/sonarr/docs/QueueActionAPI.md b/sonarr/docs/QueueActionApi.md similarity index 89% rename from sonarr/docs/QueueActionAPI.md rename to sonarr/docs/QueueActionApi.md index 4f65b9e..0aa7f52 100644 --- a/sonarr/docs/QueueActionAPI.md +++ b/sonarr/docs/QueueActionApi.md @@ -1,11 +1,11 @@ -# \QueueActionAPI +# \QueueActionApi All URIs are relative to *http://localhost:8989* Method | HTTP request | Description ------------- | ------------- | ------------- -[**CreateQueueGrabBulk**](QueueActionAPI.md#CreateQueueGrabBulk) | **Post** /api/v3/queue/grab/bulk | -[**CreateQueueGrabById**](QueueActionAPI.md#CreateQueueGrabById) | **Post** /api/v3/queue/grab/{id} | +[**CreateQueueGrabBulk**](QueueActionApi.md#CreateQueueGrabBulk) | **Post** /api/v3/queue/grab/bulk | +[**CreateQueueGrabById**](QueueActionApi.md#CreateQueueGrabById) | **Post** /api/v3/queue/grab/{id} | @@ -32,9 +32,9 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.QueueActionAPI.CreateQueueGrabBulk(context.Background()).QueueBulkResource(queueBulkResource).Execute() + resp, r, err := apiClient.QueueActionApi.CreateQueueGrabBulk(context.Background()).QueueBulkResource(queueBulkResource).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `QueueActionAPI.CreateQueueGrabBulk``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `QueueActionApi.CreateQueueGrabBulk``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -94,9 +94,9 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.QueueActionAPI.CreateQueueGrabById(context.Background(), id).Execute() + resp, r, err := apiClient.QueueActionApi.CreateQueueGrabById(context.Background(), id).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `QueueActionAPI.CreateQueueGrabById``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `QueueActionApi.CreateQueueGrabById``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } diff --git a/sonarr/docs/QueueAPI.md b/sonarr/docs/QueueApi.md similarity index 88% rename from sonarr/docs/QueueAPI.md rename to sonarr/docs/QueueApi.md index bbff3e6..aebe7e6 100644 --- a/sonarr/docs/QueueAPI.md +++ b/sonarr/docs/QueueApi.md @@ -1,13 +1,13 @@ -# \QueueAPI +# \QueueApi All URIs are relative to *http://localhost:8989* Method | HTTP request | Description ------------- | ------------- | ------------- -[**DeleteQueue**](QueueAPI.md#DeleteQueue) | **Delete** /api/v3/queue/{id} | -[**DeleteQueueBulk**](QueueAPI.md#DeleteQueueBulk) | **Delete** /api/v3/queue/bulk | -[**GetQueue**](QueueAPI.md#GetQueue) | **Get** /api/v3/queue | -[**GetQueueById**](QueueAPI.md#GetQueueById) | **Get** /api/v3/queue/{id} | +[**DeleteQueue**](QueueApi.md#DeleteQueue) | **Delete** /api/v3/queue/{id} | +[**DeleteQueueBulk**](QueueApi.md#DeleteQueueBulk) | **Delete** /api/v3/queue/bulk | +[**GetQueue**](QueueApi.md#GetQueue) | **Get** /api/v3/queue | +[**GetQueueById**](QueueApi.md#GetQueueById) | **Get** /api/v3/queue/{id} | @@ -36,9 +36,9 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.QueueAPI.DeleteQueue(context.Background(), id).RemoveFromClient(removeFromClient).Blocklist(blocklist).Execute() + resp, r, err := apiClient.QueueApi.DeleteQueue(context.Background(), id).RemoveFromClient(removeFromClient).Blocklist(blocklist).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `QueueAPI.DeleteQueue``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `QueueApi.DeleteQueue``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -106,9 +106,9 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.QueueAPI.DeleteQueueBulk(context.Background()).RemoveFromClient(removeFromClient).Blocklist(blocklist).QueueBulkResource(queueBulkResource).Execute() + resp, r, err := apiClient.QueueApi.DeleteQueueBulk(context.Background()).RemoveFromClient(removeFromClient).Blocklist(blocklist).QueueBulkResource(queueBulkResource).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `QueueAPI.DeleteQueueBulk``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `QueueApi.DeleteQueueBulk``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -172,13 +172,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.QueueAPI.GetQueue(context.Background()).IncludeUnknownSeriesItems(includeUnknownSeriesItems).IncludeSeries(includeSeries).IncludeEpisode(includeEpisode).Execute() + resp, r, err := apiClient.QueueApi.GetQueue(context.Background()).IncludeUnknownSeriesItems(includeUnknownSeriesItems).IncludeSeries(includeSeries).IncludeEpisode(includeEpisode).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `QueueAPI.GetQueue``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `QueueApi.GetQueue``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `GetQueue`: QueueResourcePagingResource - fmt.Fprintf(os.Stdout, "Response from `QueueAPI.GetQueue`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `QueueApi.GetQueue`: %v\n", resp) } ``` @@ -238,13 +238,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.QueueAPI.GetQueueById(context.Background(), id).Execute() + resp, r, err := apiClient.QueueApi.GetQueueById(context.Background(), id).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `QueueAPI.GetQueueById``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `QueueApi.GetQueueById``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `GetQueueById`: QueueResource - fmt.Fprintf(os.Stdout, "Response from `QueueAPI.GetQueueById`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `QueueApi.GetQueueById`: %v\n", resp) } ``` diff --git a/sonarr/docs/QueueDetailsAPI.md b/sonarr/docs/QueueDetailsApi.md similarity index 88% rename from sonarr/docs/QueueDetailsAPI.md rename to sonarr/docs/QueueDetailsApi.md index ab1c1b8..dd797a9 100644 --- a/sonarr/docs/QueueDetailsAPI.md +++ b/sonarr/docs/QueueDetailsApi.md @@ -1,11 +1,11 @@ -# \QueueDetailsAPI +# \QueueDetailsApi All URIs are relative to *http://localhost:8989* Method | HTTP request | Description ------------- | ------------- | ------------- -[**GetQueueDetailsById**](QueueDetailsAPI.md#GetQueueDetailsById) | **Get** /api/v3/queue/details/{id} | -[**ListQueueDetails**](QueueDetailsAPI.md#ListQueueDetails) | **Get** /api/v3/queue/details | +[**GetQueueDetailsById**](QueueDetailsApi.md#GetQueueDetailsById) | **Get** /api/v3/queue/details/{id} | +[**ListQueueDetails**](QueueDetailsApi.md#ListQueueDetails) | **Get** /api/v3/queue/details | @@ -32,13 +32,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.QueueDetailsAPI.GetQueueDetailsById(context.Background(), id).Execute() + resp, r, err := apiClient.QueueDetailsApi.GetQueueDetailsById(context.Background(), id).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `QueueDetailsAPI.GetQueueDetailsById``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `QueueDetailsApi.GetQueueDetailsById``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `GetQueueDetailsById`: QueueResource - fmt.Fprintf(os.Stdout, "Response from `QueueDetailsAPI.GetQueueDetailsById`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `QueueDetailsApi.GetQueueDetailsById`: %v\n", resp) } ``` @@ -103,13 +103,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.QueueDetailsAPI.ListQueueDetails(context.Background()).SeriesId(seriesId).EpisodeIds(episodeIds).IncludeSeries(includeSeries).IncludeEpisode(includeEpisode).Execute() + resp, r, err := apiClient.QueueDetailsApi.ListQueueDetails(context.Background()).SeriesId(seriesId).EpisodeIds(episodeIds).IncludeSeries(includeSeries).IncludeEpisode(includeEpisode).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `QueueDetailsAPI.ListQueueDetails``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `QueueDetailsApi.ListQueueDetails``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `ListQueueDetails`: []QueueResource - fmt.Fprintf(os.Stdout, "Response from `QueueDetailsAPI.ListQueueDetails`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `QueueDetailsApi.ListQueueDetails`: %v\n", resp) } ``` diff --git a/sonarr/docs/QueueResource.md b/sonarr/docs/QueueResource.md index d3b9e55..f3d8030 100644 --- a/sonarr/docs/QueueResource.md +++ b/sonarr/docs/QueueResource.md @@ -7,7 +7,6 @@ Name | Type | Description | Notes **Id** | Pointer to **int32** | | [optional] **SeriesId** | Pointer to **NullableInt32** | | [optional] **EpisodeId** | Pointer to **NullableInt32** | | [optional] -**SeasonNumber** | Pointer to **NullableInt32** | | [optional] **Series** | Pointer to [**SeriesResource**](SeriesResource.md) | | [optional] **Episode** | Pointer to [**EpisodeResource**](EpisodeResource.md) | | [optional] **Languages** | Pointer to [**[]Language**](Language.md) | | [optional] @@ -28,7 +27,6 @@ Name | Type | Description | Notes **DownloadClient** | Pointer to **NullableString** | | [optional] **Indexer** | Pointer to **NullableString** | | [optional] **OutputPath** | Pointer to **NullableString** | | [optional] -**EpisodeHasFile** | Pointer to **bool** | | [optional] ## Methods @@ -144,41 +142,6 @@ HasEpisodeId returns a boolean if a field has been set. `func (o *QueueResource) UnsetEpisodeId()` UnsetEpisodeId ensures that no value is present for EpisodeId, not even an explicit nil -### GetSeasonNumber - -`func (o *QueueResource) GetSeasonNumber() int32` - -GetSeasonNumber returns the SeasonNumber field if non-nil, zero value otherwise. - -### GetSeasonNumberOk - -`func (o *QueueResource) GetSeasonNumberOk() (*int32, bool)` - -GetSeasonNumberOk returns a tuple with the SeasonNumber field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSeasonNumber - -`func (o *QueueResource) SetSeasonNumber(v int32)` - -SetSeasonNumber sets SeasonNumber field to given value. - -### HasSeasonNumber - -`func (o *QueueResource) HasSeasonNumber() bool` - -HasSeasonNumber returns a boolean if a field has been set. - -### SetSeasonNumberNil - -`func (o *QueueResource) SetSeasonNumberNil(b bool)` - - SetSeasonNumberNil sets the value for SeasonNumber to be an explicit nil - -### UnsetSeasonNumber -`func (o *QueueResource) UnsetSeasonNumber()` - -UnsetSeasonNumber ensures that no value is present for SeasonNumber, not even an explicit nil ### GetSeries `func (o *QueueResource) GetSeries() SeriesResource` @@ -789,31 +752,6 @@ HasOutputPath returns a boolean if a field has been set. `func (o *QueueResource) UnsetOutputPath()` UnsetOutputPath ensures that no value is present for OutputPath, not even an explicit nil -### GetEpisodeHasFile - -`func (o *QueueResource) GetEpisodeHasFile() bool` - -GetEpisodeHasFile returns the EpisodeHasFile field if non-nil, zero value otherwise. - -### GetEpisodeHasFileOk - -`func (o *QueueResource) GetEpisodeHasFileOk() (*bool, bool)` - -GetEpisodeHasFileOk returns a tuple with the EpisodeHasFile field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetEpisodeHasFile - -`func (o *QueueResource) SetEpisodeHasFile(v bool)` - -SetEpisodeHasFile sets EpisodeHasFile field to given value. - -### HasEpisodeHasFile - -`func (o *QueueResource) HasEpisodeHasFile() bool` - -HasEpisodeHasFile 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) diff --git a/sonarr/docs/QueueStatusAPI.md b/sonarr/docs/QueueStatusApi.md similarity index 86% rename from sonarr/docs/QueueStatusAPI.md rename to sonarr/docs/QueueStatusApi.md index f661993..4561dc7 100644 --- a/sonarr/docs/QueueStatusAPI.md +++ b/sonarr/docs/QueueStatusApi.md @@ -1,11 +1,11 @@ -# \QueueStatusAPI +# \QueueStatusApi All URIs are relative to *http://localhost:8989* Method | HTTP request | Description ------------- | ------------- | ------------- -[**GetQueueStatus**](QueueStatusAPI.md#GetQueueStatus) | **Get** /api/v3/queue/status | -[**GetQueueStatusById**](QueueStatusAPI.md#GetQueueStatusById) | **Get** /api/v3/queue/status/{id} | +[**GetQueueStatus**](QueueStatusApi.md#GetQueueStatus) | **Get** /api/v3/queue/status | +[**GetQueueStatusById**](QueueStatusApi.md#GetQueueStatusById) | **Get** /api/v3/queue/status/{id} | @@ -31,13 +31,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.QueueStatusAPI.GetQueueStatus(context.Background()).Execute() + resp, r, err := apiClient.QueueStatusApi.GetQueueStatus(context.Background()).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `QueueStatusAPI.GetQueueStatus``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `QueueStatusApi.GetQueueStatus``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `GetQueueStatus`: QueueStatusResource - fmt.Fprintf(os.Stdout, "Response from `QueueStatusAPI.GetQueueStatus`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `QueueStatusApi.GetQueueStatus`: %v\n", resp) } ``` @@ -91,13 +91,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.QueueStatusAPI.GetQueueStatusById(context.Background(), id).Execute() + resp, r, err := apiClient.QueueStatusApi.GetQueueStatusById(context.Background(), id).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `QueueStatusAPI.GetQueueStatusById``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `QueueStatusApi.GetQueueStatusById``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `GetQueueStatusById`: QueueStatusResource - fmt.Fprintf(os.Stdout, "Response from `QueueStatusAPI.GetQueueStatusById`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `QueueStatusApi.GetQueueStatusById`: %v\n", resp) } ``` diff --git a/sonarr/docs/ReleaseAPI.md b/sonarr/docs/ReleaseApi.md similarity index 86% rename from sonarr/docs/ReleaseAPI.md rename to sonarr/docs/ReleaseApi.md index 23e668c..ff1def0 100644 --- a/sonarr/docs/ReleaseAPI.md +++ b/sonarr/docs/ReleaseApi.md @@ -1,12 +1,12 @@ -# \ReleaseAPI +# \ReleaseApi All URIs are relative to *http://localhost:8989* Method | HTTP request | Description ------------- | ------------- | ------------- -[**CreateRelease**](ReleaseAPI.md#CreateRelease) | **Post** /api/v3/release | -[**GetReleaseById**](ReleaseAPI.md#GetReleaseById) | **Get** /api/v3/release/{id} | -[**ListRelease**](ReleaseAPI.md#ListRelease) | **Get** /api/v3/release | +[**CreateRelease**](ReleaseApi.md#CreateRelease) | **Post** /api/v3/release | +[**GetReleaseById**](ReleaseApi.md#GetReleaseById) | **Get** /api/v3/release/{id} | +[**ListRelease**](ReleaseApi.md#ListRelease) | **Get** /api/v3/release | @@ -33,9 +33,9 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.ReleaseAPI.CreateRelease(context.Background()).ReleaseResource(releaseResource).Execute() + resp, r, err := apiClient.ReleaseApi.CreateRelease(context.Background()).ReleaseResource(releaseResource).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `ReleaseAPI.CreateRelease``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `ReleaseApi.CreateRelease``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -95,13 +95,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.ReleaseAPI.GetReleaseById(context.Background(), id).Execute() + resp, r, err := apiClient.ReleaseApi.GetReleaseById(context.Background(), id).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `ReleaseAPI.GetReleaseById``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `ReleaseApi.GetReleaseById``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `GetReleaseById`: ReleaseResource - fmt.Fprintf(os.Stdout, "Response from `ReleaseAPI.GetReleaseById`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `ReleaseApi.GetReleaseById`: %v\n", resp) } ``` @@ -165,13 +165,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.ReleaseAPI.ListRelease(context.Background()).SeriesId(seriesId).EpisodeId(episodeId).SeasonNumber(seasonNumber).Execute() + resp, r, err := apiClient.ReleaseApi.ListRelease(context.Background()).SeriesId(seriesId).EpisodeId(episodeId).SeasonNumber(seasonNumber).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `ReleaseAPI.ListRelease``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `ReleaseApi.ListRelease``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `ListRelease`: []ReleaseResource - fmt.Fprintf(os.Stdout, "Response from `ReleaseAPI.ListRelease`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `ReleaseApi.ListRelease`: %v\n", resp) } ``` diff --git a/sonarr/docs/ReleaseEpisodeResource.md b/sonarr/docs/ReleaseEpisodeResource.md deleted file mode 100644 index 715ab27..0000000 --- a/sonarr/docs/ReleaseEpisodeResource.md +++ /dev/null @@ -1,180 +0,0 @@ -# ReleaseEpisodeResource - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Id** | Pointer to **int32** | | [optional] -**SeasonNumber** | Pointer to **int32** | | [optional] -**EpisodeNumber** | Pointer to **int32** | | [optional] -**AbsoluteEpisodeNumber** | Pointer to **NullableInt32** | | [optional] -**Title** | Pointer to **NullableString** | | [optional] - -## Methods - -### NewReleaseEpisodeResource - -`func NewReleaseEpisodeResource() *ReleaseEpisodeResource` - -NewReleaseEpisodeResource instantiates a new ReleaseEpisodeResource 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 - -### NewReleaseEpisodeResourceWithDefaults - -`func NewReleaseEpisodeResourceWithDefaults() *ReleaseEpisodeResource` - -NewReleaseEpisodeResourceWithDefaults instantiates a new ReleaseEpisodeResource 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 - -### GetId - -`func (o *ReleaseEpisodeResource) GetId() int32` - -GetId returns the Id field if non-nil, zero value otherwise. - -### GetIdOk - -`func (o *ReleaseEpisodeResource) GetIdOk() (*int32, bool)` - -GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetId - -`func (o *ReleaseEpisodeResource) SetId(v int32)` - -SetId sets Id field to given value. - -### HasId - -`func (o *ReleaseEpisodeResource) HasId() bool` - -HasId returns a boolean if a field has been set. - -### GetSeasonNumber - -`func (o *ReleaseEpisodeResource) GetSeasonNumber() int32` - -GetSeasonNumber returns the SeasonNumber field if non-nil, zero value otherwise. - -### GetSeasonNumberOk - -`func (o *ReleaseEpisodeResource) GetSeasonNumberOk() (*int32, bool)` - -GetSeasonNumberOk returns a tuple with the SeasonNumber field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSeasonNumber - -`func (o *ReleaseEpisodeResource) SetSeasonNumber(v int32)` - -SetSeasonNumber sets SeasonNumber field to given value. - -### HasSeasonNumber - -`func (o *ReleaseEpisodeResource) HasSeasonNumber() bool` - -HasSeasonNumber returns a boolean if a field has been set. - -### GetEpisodeNumber - -`func (o *ReleaseEpisodeResource) GetEpisodeNumber() int32` - -GetEpisodeNumber returns the EpisodeNumber field if non-nil, zero value otherwise. - -### GetEpisodeNumberOk - -`func (o *ReleaseEpisodeResource) GetEpisodeNumberOk() (*int32, bool)` - -GetEpisodeNumberOk returns a tuple with the EpisodeNumber field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetEpisodeNumber - -`func (o *ReleaseEpisodeResource) SetEpisodeNumber(v int32)` - -SetEpisodeNumber sets EpisodeNumber field to given value. - -### HasEpisodeNumber - -`func (o *ReleaseEpisodeResource) HasEpisodeNumber() bool` - -HasEpisodeNumber returns a boolean if a field has been set. - -### GetAbsoluteEpisodeNumber - -`func (o *ReleaseEpisodeResource) GetAbsoluteEpisodeNumber() int32` - -GetAbsoluteEpisodeNumber returns the AbsoluteEpisodeNumber field if non-nil, zero value otherwise. - -### GetAbsoluteEpisodeNumberOk - -`func (o *ReleaseEpisodeResource) GetAbsoluteEpisodeNumberOk() (*int32, bool)` - -GetAbsoluteEpisodeNumberOk returns a tuple with the AbsoluteEpisodeNumber field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetAbsoluteEpisodeNumber - -`func (o *ReleaseEpisodeResource) SetAbsoluteEpisodeNumber(v int32)` - -SetAbsoluteEpisodeNumber sets AbsoluteEpisodeNumber field to given value. - -### HasAbsoluteEpisodeNumber - -`func (o *ReleaseEpisodeResource) HasAbsoluteEpisodeNumber() bool` - -HasAbsoluteEpisodeNumber returns a boolean if a field has been set. - -### SetAbsoluteEpisodeNumberNil - -`func (o *ReleaseEpisodeResource) SetAbsoluteEpisodeNumberNil(b bool)` - - SetAbsoluteEpisodeNumberNil sets the value for AbsoluteEpisodeNumber to be an explicit nil - -### UnsetAbsoluteEpisodeNumber -`func (o *ReleaseEpisodeResource) UnsetAbsoluteEpisodeNumber()` - -UnsetAbsoluteEpisodeNumber ensures that no value is present for AbsoluteEpisodeNumber, not even an explicit nil -### GetTitle - -`func (o *ReleaseEpisodeResource) GetTitle() string` - -GetTitle returns the Title field if non-nil, zero value otherwise. - -### GetTitleOk - -`func (o *ReleaseEpisodeResource) GetTitleOk() (*string, bool)` - -GetTitleOk returns a tuple with the Title field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTitle - -`func (o *ReleaseEpisodeResource) SetTitle(v string)` - -SetTitle sets Title field to given value. - -### HasTitle - -`func (o *ReleaseEpisodeResource) HasTitle() bool` - -HasTitle returns a boolean if a field has been set. - -### SetTitleNil - -`func (o *ReleaseEpisodeResource) SetTitleNil(b bool)` - - SetTitleNil sets the value for Title to be an explicit nil - -### UnsetTitle -`func (o *ReleaseEpisodeResource) UnsetTitle()` - -UnsetTitle ensures that no value is present for Title, 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) - - diff --git a/sonarr/docs/ReleaseProfileAPI.md b/sonarr/docs/ReleaseProfileApi.md similarity index 87% rename from sonarr/docs/ReleaseProfileAPI.md rename to sonarr/docs/ReleaseProfileApi.md index fdb2a74..77a8be3 100644 --- a/sonarr/docs/ReleaseProfileAPI.md +++ b/sonarr/docs/ReleaseProfileApi.md @@ -1,14 +1,14 @@ -# \ReleaseProfileAPI +# \ReleaseProfileApi All URIs are relative to *http://localhost:8989* Method | HTTP request | Description ------------- | ------------- | ------------- -[**CreateReleaseProfile**](ReleaseProfileAPI.md#CreateReleaseProfile) | **Post** /api/v3/releaseprofile | -[**DeleteReleaseProfile**](ReleaseProfileAPI.md#DeleteReleaseProfile) | **Delete** /api/v3/releaseprofile/{id} | -[**GetReleaseProfileById**](ReleaseProfileAPI.md#GetReleaseProfileById) | **Get** /api/v3/releaseprofile/{id} | -[**ListReleaseProfile**](ReleaseProfileAPI.md#ListReleaseProfile) | **Get** /api/v3/releaseprofile | -[**UpdateReleaseProfile**](ReleaseProfileAPI.md#UpdateReleaseProfile) | **Put** /api/v3/releaseprofile/{id} | +[**CreateReleaseProfile**](ReleaseProfileApi.md#CreateReleaseProfile) | **Post** /api/v3/releaseprofile | +[**DeleteReleaseProfile**](ReleaseProfileApi.md#DeleteReleaseProfile) | **Delete** /api/v3/releaseprofile/{id} | +[**GetReleaseProfileById**](ReleaseProfileApi.md#GetReleaseProfileById) | **Get** /api/v3/releaseprofile/{id} | +[**ListReleaseProfile**](ReleaseProfileApi.md#ListReleaseProfile) | **Get** /api/v3/releaseprofile | +[**UpdateReleaseProfile**](ReleaseProfileApi.md#UpdateReleaseProfile) | **Put** /api/v3/releaseprofile/{id} | @@ -35,13 +35,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.ReleaseProfileAPI.CreateReleaseProfile(context.Background()).ReleaseProfileResource(releaseProfileResource).Execute() + resp, r, err := apiClient.ReleaseProfileApi.CreateReleaseProfile(context.Background()).ReleaseProfileResource(releaseProfileResource).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `ReleaseProfileAPI.CreateReleaseProfile``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `ReleaseProfileApi.CreateReleaseProfile``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `CreateReleaseProfile`: ReleaseProfileResource - fmt.Fprintf(os.Stdout, "Response from `ReleaseProfileAPI.CreateReleaseProfile`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `ReleaseProfileApi.CreateReleaseProfile`: %v\n", resp) } ``` @@ -99,9 +99,9 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.ReleaseProfileAPI.DeleteReleaseProfile(context.Background(), id).Execute() + resp, r, err := apiClient.ReleaseProfileApi.DeleteReleaseProfile(context.Background(), id).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `ReleaseProfileAPI.DeleteReleaseProfile``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `ReleaseProfileApi.DeleteReleaseProfile``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -165,13 +165,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.ReleaseProfileAPI.GetReleaseProfileById(context.Background(), id).Execute() + resp, r, err := apiClient.ReleaseProfileApi.GetReleaseProfileById(context.Background(), id).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `ReleaseProfileAPI.GetReleaseProfileById``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `ReleaseProfileApi.GetReleaseProfileById``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `GetReleaseProfileById`: ReleaseProfileResource - fmt.Fprintf(os.Stdout, "Response from `ReleaseProfileAPI.GetReleaseProfileById`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `ReleaseProfileApi.GetReleaseProfileById`: %v\n", resp) } ``` @@ -232,13 +232,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.ReleaseProfileAPI.ListReleaseProfile(context.Background()).Execute() + resp, r, err := apiClient.ReleaseProfileApi.ListReleaseProfile(context.Background()).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `ReleaseProfileAPI.ListReleaseProfile``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `ReleaseProfileApi.ListReleaseProfile``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `ListReleaseProfile`: []ReleaseProfileResource - fmt.Fprintf(os.Stdout, "Response from `ReleaseProfileAPI.ListReleaseProfile`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `ReleaseProfileApi.ListReleaseProfile`: %v\n", resp) } ``` @@ -293,13 +293,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.ReleaseProfileAPI.UpdateReleaseProfile(context.Background(), id).ReleaseProfileResource(releaseProfileResource).Execute() + resp, r, err := apiClient.ReleaseProfileApi.UpdateReleaseProfile(context.Background(), id).ReleaseProfileResource(releaseProfileResource).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `ReleaseProfileAPI.UpdateReleaseProfile``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `ReleaseProfileApi.UpdateReleaseProfile``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `UpdateReleaseProfile`: ReleaseProfileResource - fmt.Fprintf(os.Stdout, "Response from `ReleaseProfileAPI.UpdateReleaseProfile`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `ReleaseProfileApi.UpdateReleaseProfile`: %v\n", resp) } ``` diff --git a/sonarr/docs/ReleasePushAPI.md b/sonarr/docs/ReleasePushApi.md similarity index 87% rename from sonarr/docs/ReleasePushAPI.md rename to sonarr/docs/ReleasePushApi.md index 40ce0c3..d99b910 100644 --- a/sonarr/docs/ReleasePushAPI.md +++ b/sonarr/docs/ReleasePushApi.md @@ -1,11 +1,11 @@ -# \ReleasePushAPI +# \ReleasePushApi All URIs are relative to *http://localhost:8989* Method | HTTP request | Description ------------- | ------------- | ------------- -[**CreateReleasePush**](ReleasePushAPI.md#CreateReleasePush) | **Post** /api/v3/release/push | -[**GetReleasePushById**](ReleasePushAPI.md#GetReleasePushById) | **Get** /api/v3/release/push/{id} | +[**CreateReleasePush**](ReleasePushApi.md#CreateReleasePush) | **Post** /api/v3/release/push | +[**GetReleasePushById**](ReleasePushApi.md#GetReleasePushById) | **Get** /api/v3/release/push/{id} | @@ -32,13 +32,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.ReleasePushAPI.CreateReleasePush(context.Background()).ReleaseResource(releaseResource).Execute() + resp, r, err := apiClient.ReleasePushApi.CreateReleasePush(context.Background()).ReleaseResource(releaseResource).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `ReleasePushAPI.CreateReleasePush``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `ReleasePushApi.CreateReleasePush``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `CreateReleasePush`: []ReleaseResource - fmt.Fprintf(os.Stdout, "Response from `ReleasePushAPI.CreateReleasePush`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `ReleasePushApi.CreateReleasePush`: %v\n", resp) } ``` @@ -96,13 +96,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.ReleasePushAPI.GetReleasePushById(context.Background(), id).Execute() + resp, r, err := apiClient.ReleasePushApi.GetReleasePushById(context.Background(), id).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `ReleasePushAPI.GetReleasePushById``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `ReleasePushApi.GetReleasePushById``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `GetReleasePushById`: ReleaseResource - fmt.Fprintf(os.Stdout, "Response from `ReleasePushAPI.GetReleasePushById`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `ReleasePushApi.GetReleasePushById`: %v\n", resp) } ``` diff --git a/sonarr/docs/ReleaseResource.md b/sonarr/docs/ReleaseResource.md index cf20623..01d4a53 100644 --- a/sonarr/docs/ReleaseResource.md +++ b/sonarr/docs/ReleaseResource.md @@ -30,8 +30,6 @@ Name | Type | Description | Notes **MappedSeasonNumber** | Pointer to **NullableInt32** | | [optional] **MappedEpisodeNumbers** | Pointer to **[]int32** | | [optional] **MappedAbsoluteEpisodeNumbers** | Pointer to **[]int32** | | [optional] -**MappedSeriesId** | Pointer to **NullableInt32** | | [optional] -**MappedEpisodeInfo** | Pointer to [**[]ReleaseEpisodeResource**](ReleaseEpisodeResource.md) | | [optional] **Approved** | Pointer to **bool** | | [optional] **TemporarilyRejected** | Pointer to **bool** | | [optional] **Rejected** | Pointer to **bool** | | [optional] @@ -59,9 +57,6 @@ Name | Type | Description | Notes **Special** | Pointer to **bool** | | [optional] **SeriesId** | Pointer to **NullableInt32** | | [optional] **EpisodeId** | Pointer to **NullableInt32** | | [optional] -**EpisodeIds** | Pointer to **[]int32** | | [optional] -**DownloadClientId** | Pointer to **NullableInt32** | | [optional] -**ShouldOverride** | Pointer to **NullableBool** | | [optional] ## Methods @@ -872,76 +867,6 @@ HasMappedAbsoluteEpisodeNumbers returns a boolean if a field has been set. `func (o *ReleaseResource) UnsetMappedAbsoluteEpisodeNumbers()` UnsetMappedAbsoluteEpisodeNumbers ensures that no value is present for MappedAbsoluteEpisodeNumbers, not even an explicit nil -### GetMappedSeriesId - -`func (o *ReleaseResource) GetMappedSeriesId() int32` - -GetMappedSeriesId returns the MappedSeriesId field if non-nil, zero value otherwise. - -### GetMappedSeriesIdOk - -`func (o *ReleaseResource) GetMappedSeriesIdOk() (*int32, bool)` - -GetMappedSeriesIdOk returns a tuple with the MappedSeriesId field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMappedSeriesId - -`func (o *ReleaseResource) SetMappedSeriesId(v int32)` - -SetMappedSeriesId sets MappedSeriesId field to given value. - -### HasMappedSeriesId - -`func (o *ReleaseResource) HasMappedSeriesId() bool` - -HasMappedSeriesId returns a boolean if a field has been set. - -### SetMappedSeriesIdNil - -`func (o *ReleaseResource) SetMappedSeriesIdNil(b bool)` - - SetMappedSeriesIdNil sets the value for MappedSeriesId to be an explicit nil - -### UnsetMappedSeriesId -`func (o *ReleaseResource) UnsetMappedSeriesId()` - -UnsetMappedSeriesId ensures that no value is present for MappedSeriesId, not even an explicit nil -### GetMappedEpisodeInfo - -`func (o *ReleaseResource) GetMappedEpisodeInfo() []ReleaseEpisodeResource` - -GetMappedEpisodeInfo returns the MappedEpisodeInfo field if non-nil, zero value otherwise. - -### GetMappedEpisodeInfoOk - -`func (o *ReleaseResource) GetMappedEpisodeInfoOk() (*[]ReleaseEpisodeResource, bool)` - -GetMappedEpisodeInfoOk returns a tuple with the MappedEpisodeInfo field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMappedEpisodeInfo - -`func (o *ReleaseResource) SetMappedEpisodeInfo(v []ReleaseEpisodeResource)` - -SetMappedEpisodeInfo sets MappedEpisodeInfo field to given value. - -### HasMappedEpisodeInfo - -`func (o *ReleaseResource) HasMappedEpisodeInfo() bool` - -HasMappedEpisodeInfo returns a boolean if a field has been set. - -### SetMappedEpisodeInfoNil - -`func (o *ReleaseResource) SetMappedEpisodeInfoNil(b bool)` - - SetMappedEpisodeInfoNil sets the value for MappedEpisodeInfo to be an explicit nil - -### UnsetMappedEpisodeInfo -`func (o *ReleaseResource) UnsetMappedEpisodeInfo()` - -UnsetMappedEpisodeInfo ensures that no value is present for MappedEpisodeInfo, not even an explicit nil ### GetApproved `func (o *ReleaseResource) GetApproved() bool` @@ -1727,111 +1652,6 @@ HasEpisodeId returns a boolean if a field has been set. `func (o *ReleaseResource) UnsetEpisodeId()` UnsetEpisodeId ensures that no value is present for EpisodeId, not even an explicit nil -### GetEpisodeIds - -`func (o *ReleaseResource) GetEpisodeIds() []int32` - -GetEpisodeIds returns the EpisodeIds field if non-nil, zero value otherwise. - -### GetEpisodeIdsOk - -`func (o *ReleaseResource) GetEpisodeIdsOk() (*[]int32, bool)` - -GetEpisodeIdsOk returns a tuple with the EpisodeIds field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetEpisodeIds - -`func (o *ReleaseResource) SetEpisodeIds(v []int32)` - -SetEpisodeIds sets EpisodeIds field to given value. - -### HasEpisodeIds - -`func (o *ReleaseResource) HasEpisodeIds() bool` - -HasEpisodeIds returns a boolean if a field has been set. - -### SetEpisodeIdsNil - -`func (o *ReleaseResource) SetEpisodeIdsNil(b bool)` - - SetEpisodeIdsNil sets the value for EpisodeIds to be an explicit nil - -### UnsetEpisodeIds -`func (o *ReleaseResource) UnsetEpisodeIds()` - -UnsetEpisodeIds ensures that no value is present for EpisodeIds, not even an explicit nil -### GetDownloadClientId - -`func (o *ReleaseResource) GetDownloadClientId() int32` - -GetDownloadClientId returns the DownloadClientId field if non-nil, zero value otherwise. - -### GetDownloadClientIdOk - -`func (o *ReleaseResource) GetDownloadClientIdOk() (*int32, bool)` - -GetDownloadClientIdOk returns a tuple with the DownloadClientId field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDownloadClientId - -`func (o *ReleaseResource) SetDownloadClientId(v int32)` - -SetDownloadClientId sets DownloadClientId field to given value. - -### HasDownloadClientId - -`func (o *ReleaseResource) HasDownloadClientId() bool` - -HasDownloadClientId returns a boolean if a field has been set. - -### SetDownloadClientIdNil - -`func (o *ReleaseResource) SetDownloadClientIdNil(b bool)` - - SetDownloadClientIdNil sets the value for DownloadClientId to be an explicit nil - -### UnsetDownloadClientId -`func (o *ReleaseResource) UnsetDownloadClientId()` - -UnsetDownloadClientId ensures that no value is present for DownloadClientId, not even an explicit nil -### GetShouldOverride - -`func (o *ReleaseResource) GetShouldOverride() bool` - -GetShouldOverride returns the ShouldOverride field if non-nil, zero value otherwise. - -### GetShouldOverrideOk - -`func (o *ReleaseResource) GetShouldOverrideOk() (*bool, bool)` - -GetShouldOverrideOk returns a tuple with the ShouldOverride field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetShouldOverride - -`func (o *ReleaseResource) SetShouldOverride(v bool)` - -SetShouldOverride sets ShouldOverride field to given value. - -### HasShouldOverride - -`func (o *ReleaseResource) HasShouldOverride() bool` - -HasShouldOverride returns a boolean if a field has been set. - -### SetShouldOverrideNil - -`func (o *ReleaseResource) SetShouldOverrideNil(b bool)` - - SetShouldOverrideNil sets the value for ShouldOverride to be an explicit nil - -### UnsetShouldOverride -`func (o *ReleaseResource) UnsetShouldOverride()` - -UnsetShouldOverride ensures that no value is present for ShouldOverride, 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) diff --git a/sonarr/docs/RemotePathMappingAPI.md b/sonarr/docs/RemotePathMappingApi.md similarity index 87% rename from sonarr/docs/RemotePathMappingAPI.md rename to sonarr/docs/RemotePathMappingApi.md index b8ad53a..b788434 100644 --- a/sonarr/docs/RemotePathMappingAPI.md +++ b/sonarr/docs/RemotePathMappingApi.md @@ -1,14 +1,14 @@ -# \RemotePathMappingAPI +# \RemotePathMappingApi All URIs are relative to *http://localhost:8989* Method | HTTP request | Description ------------- | ------------- | ------------- -[**CreateRemotePathMapping**](RemotePathMappingAPI.md#CreateRemotePathMapping) | **Post** /api/v3/remotepathmapping | -[**DeleteRemotePathMapping**](RemotePathMappingAPI.md#DeleteRemotePathMapping) | **Delete** /api/v3/remotepathmapping/{id} | -[**GetRemotePathMappingById**](RemotePathMappingAPI.md#GetRemotePathMappingById) | **Get** /api/v3/remotepathmapping/{id} | -[**ListRemotePathMapping**](RemotePathMappingAPI.md#ListRemotePathMapping) | **Get** /api/v3/remotepathmapping | -[**UpdateRemotePathMapping**](RemotePathMappingAPI.md#UpdateRemotePathMapping) | **Put** /api/v3/remotepathmapping/{id} | +[**CreateRemotePathMapping**](RemotePathMappingApi.md#CreateRemotePathMapping) | **Post** /api/v3/remotepathmapping | +[**DeleteRemotePathMapping**](RemotePathMappingApi.md#DeleteRemotePathMapping) | **Delete** /api/v3/remotepathmapping/{id} | +[**GetRemotePathMappingById**](RemotePathMappingApi.md#GetRemotePathMappingById) | **Get** /api/v3/remotepathmapping/{id} | +[**ListRemotePathMapping**](RemotePathMappingApi.md#ListRemotePathMapping) | **Get** /api/v3/remotepathmapping | +[**UpdateRemotePathMapping**](RemotePathMappingApi.md#UpdateRemotePathMapping) | **Put** /api/v3/remotepathmapping/{id} | @@ -35,13 +35,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.RemotePathMappingAPI.CreateRemotePathMapping(context.Background()).RemotePathMappingResource(remotePathMappingResource).Execute() + resp, r, err := apiClient.RemotePathMappingApi.CreateRemotePathMapping(context.Background()).RemotePathMappingResource(remotePathMappingResource).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `RemotePathMappingAPI.CreateRemotePathMapping``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `RemotePathMappingApi.CreateRemotePathMapping``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `CreateRemotePathMapping`: RemotePathMappingResource - fmt.Fprintf(os.Stdout, "Response from `RemotePathMappingAPI.CreateRemotePathMapping`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `RemotePathMappingApi.CreateRemotePathMapping`: %v\n", resp) } ``` @@ -99,9 +99,9 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.RemotePathMappingAPI.DeleteRemotePathMapping(context.Background(), id).Execute() + resp, r, err := apiClient.RemotePathMappingApi.DeleteRemotePathMapping(context.Background(), id).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `RemotePathMappingAPI.DeleteRemotePathMapping``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `RemotePathMappingApi.DeleteRemotePathMapping``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -165,13 +165,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.RemotePathMappingAPI.GetRemotePathMappingById(context.Background(), id).Execute() + resp, r, err := apiClient.RemotePathMappingApi.GetRemotePathMappingById(context.Background(), id).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `RemotePathMappingAPI.GetRemotePathMappingById``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `RemotePathMappingApi.GetRemotePathMappingById``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `GetRemotePathMappingById`: RemotePathMappingResource - fmt.Fprintf(os.Stdout, "Response from `RemotePathMappingAPI.GetRemotePathMappingById`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `RemotePathMappingApi.GetRemotePathMappingById`: %v\n", resp) } ``` @@ -232,13 +232,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.RemotePathMappingAPI.ListRemotePathMapping(context.Background()).Execute() + resp, r, err := apiClient.RemotePathMappingApi.ListRemotePathMapping(context.Background()).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `RemotePathMappingAPI.ListRemotePathMapping``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `RemotePathMappingApi.ListRemotePathMapping``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `ListRemotePathMapping`: []RemotePathMappingResource - fmt.Fprintf(os.Stdout, "Response from `RemotePathMappingAPI.ListRemotePathMapping`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `RemotePathMappingApi.ListRemotePathMapping`: %v\n", resp) } ``` @@ -293,13 +293,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.RemotePathMappingAPI.UpdateRemotePathMapping(context.Background(), id).RemotePathMappingResource(remotePathMappingResource).Execute() + resp, r, err := apiClient.RemotePathMappingApi.UpdateRemotePathMapping(context.Background(), id).RemotePathMappingResource(remotePathMappingResource).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `RemotePathMappingAPI.UpdateRemotePathMapping``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `RemotePathMappingApi.UpdateRemotePathMapping``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `UpdateRemotePathMapping`: RemotePathMappingResource - fmt.Fprintf(os.Stdout, "Response from `RemotePathMappingAPI.UpdateRemotePathMapping`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `RemotePathMappingApi.UpdateRemotePathMapping`: %v\n", resp) } ``` diff --git a/sonarr/docs/RenameEpisodeAPI.md b/sonarr/docs/RenameEpisodeApi.md similarity index 87% rename from sonarr/docs/RenameEpisodeAPI.md rename to sonarr/docs/RenameEpisodeApi.md index babd2c8..bca2101 100644 --- a/sonarr/docs/RenameEpisodeAPI.md +++ b/sonarr/docs/RenameEpisodeApi.md @@ -1,10 +1,10 @@ -# \RenameEpisodeAPI +# \RenameEpisodeApi All URIs are relative to *http://localhost:8989* Method | HTTP request | Description ------------- | ------------- | ------------- -[**ListRename**](RenameEpisodeAPI.md#ListRename) | **Get** /api/v3/rename | +[**ListRename**](RenameEpisodeApi.md#ListRename) | **Get** /api/v3/rename | @@ -32,13 +32,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.RenameEpisodeAPI.ListRename(context.Background()).SeriesId(seriesId).SeasonNumber(seasonNumber).Execute() + resp, r, err := apiClient.RenameEpisodeApi.ListRename(context.Background()).SeriesId(seriesId).SeasonNumber(seasonNumber).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `RenameEpisodeAPI.ListRename``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `RenameEpisodeApi.ListRename``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `ListRename`: []RenameEpisodeResource - fmt.Fprintf(os.Stdout, "Response from `RenameEpisodeAPI.ListRename`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `RenameEpisodeApi.ListRename`: %v\n", resp) } ``` diff --git a/sonarr/docs/RootFolderAPI.md b/sonarr/docs/RootFolderApi.md similarity index 83% rename from sonarr/docs/RootFolderAPI.md rename to sonarr/docs/RootFolderApi.md index 3970684..e83c67b 100644 --- a/sonarr/docs/RootFolderAPI.md +++ b/sonarr/docs/RootFolderApi.md @@ -1,13 +1,13 @@ -# \RootFolderAPI +# \RootFolderApi All URIs are relative to *http://localhost:8989* Method | HTTP request | Description ------------- | ------------- | ------------- -[**CreateRootFolder**](RootFolderAPI.md#CreateRootFolder) | **Post** /api/v3/rootfolder | -[**DeleteRootFolder**](RootFolderAPI.md#DeleteRootFolder) | **Delete** /api/v3/rootfolder/{id} | -[**GetRootFolderById**](RootFolderAPI.md#GetRootFolderById) | **Get** /api/v3/rootfolder/{id} | -[**ListRootFolder**](RootFolderAPI.md#ListRootFolder) | **Get** /api/v3/rootfolder | +[**CreateRootFolder**](RootFolderApi.md#CreateRootFolder) | **Post** /api/v3/rootfolder | +[**DeleteRootFolder**](RootFolderApi.md#DeleteRootFolder) | **Delete** /api/v3/rootfolder/{id} | +[**GetRootFolderById**](RootFolderApi.md#GetRootFolderById) | **Get** /api/v3/rootfolder/{id} | +[**ListRootFolder**](RootFolderApi.md#ListRootFolder) | **Get** /api/v3/rootfolder | @@ -34,13 +34,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.RootFolderAPI.CreateRootFolder(context.Background()).RootFolderResource(rootFolderResource).Execute() + resp, r, err := apiClient.RootFolderApi.CreateRootFolder(context.Background()).RootFolderResource(rootFolderResource).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `RootFolderAPI.CreateRootFolder``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `RootFolderApi.CreateRootFolder``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `CreateRootFolder`: RootFolderResource - fmt.Fprintf(os.Stdout, "Response from `RootFolderAPI.CreateRootFolder`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `RootFolderApi.CreateRootFolder`: %v\n", resp) } ``` @@ -98,9 +98,9 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.RootFolderAPI.DeleteRootFolder(context.Background(), id).Execute() + resp, r, err := apiClient.RootFolderApi.DeleteRootFolder(context.Background(), id).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `RootFolderAPI.DeleteRootFolder``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `RootFolderApi.DeleteRootFolder``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -164,13 +164,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.RootFolderAPI.GetRootFolderById(context.Background(), id).Execute() + resp, r, err := apiClient.RootFolderApi.GetRootFolderById(context.Background(), id).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `RootFolderAPI.GetRootFolderById``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `RootFolderApi.GetRootFolderById``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `GetRootFolderById`: RootFolderResource - fmt.Fprintf(os.Stdout, "Response from `RootFolderAPI.GetRootFolderById`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `RootFolderApi.GetRootFolderById`: %v\n", resp) } ``` @@ -231,13 +231,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.RootFolderAPI.ListRootFolder(context.Background()).Execute() + resp, r, err := apiClient.RootFolderApi.ListRootFolder(context.Background()).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `RootFolderAPI.ListRootFolder``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `RootFolderApi.ListRootFolder``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `ListRootFolder`: []RootFolderResource - fmt.Fprintf(os.Stdout, "Response from `RootFolderAPI.ListRootFolder`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `RootFolderApi.ListRootFolder`: %v\n", resp) } ``` diff --git a/sonarr/docs/SeasonPassAPI.md b/sonarr/docs/SeasonPassApi.md similarity index 85% rename from sonarr/docs/SeasonPassAPI.md rename to sonarr/docs/SeasonPassApi.md index 2aff377..8f7c1fa 100644 --- a/sonarr/docs/SeasonPassAPI.md +++ b/sonarr/docs/SeasonPassApi.md @@ -1,10 +1,10 @@ -# \SeasonPassAPI +# \SeasonPassApi All URIs are relative to *http://localhost:8989* Method | HTTP request | Description ------------- | ------------- | ------------- -[**CreateSeasonPass**](SeasonPassAPI.md#CreateSeasonPass) | **Post** /api/v3/seasonpass | +[**CreateSeasonPass**](SeasonPassApi.md#CreateSeasonPass) | **Post** /api/v3/seasonpass | @@ -31,9 +31,9 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.SeasonPassAPI.CreateSeasonPass(context.Background()).SeasonPassResource(seasonPassResource).Execute() + resp, r, err := apiClient.SeasonPassApi.CreateSeasonPass(context.Background()).SeasonPassResource(seasonPassResource).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `SeasonPassAPI.CreateSeasonPass``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `SeasonPassApi.CreateSeasonPass``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } diff --git a/sonarr/docs/SeriesAPI.md b/sonarr/docs/SeriesApi.md similarity index 78% rename from sonarr/docs/SeriesAPI.md rename to sonarr/docs/SeriesApi.md index 58df4aa..1aae9c7 100644 --- a/sonarr/docs/SeriesAPI.md +++ b/sonarr/docs/SeriesApi.md @@ -1,14 +1,14 @@ -# \SeriesAPI +# \SeriesApi All URIs are relative to *http://localhost:8989* Method | HTTP request | Description ------------- | ------------- | ------------- -[**CreateSeries**](SeriesAPI.md#CreateSeries) | **Post** /api/v3/series | -[**DeleteSeries**](SeriesAPI.md#DeleteSeries) | **Delete** /api/v3/series/{id} | -[**GetSeriesById**](SeriesAPI.md#GetSeriesById) | **Get** /api/v3/series/{id} | -[**ListSeries**](SeriesAPI.md#ListSeries) | **Get** /api/v3/series | -[**UpdateSeries**](SeriesAPI.md#UpdateSeries) | **Put** /api/v3/series/{id} | +[**CreateSeries**](SeriesApi.md#CreateSeries) | **Post** /api/v3/series | +[**DeleteSeries**](SeriesApi.md#DeleteSeries) | **Delete** /api/v3/series/{id} | +[**GetSeriesById**](SeriesApi.md#GetSeriesById) | **Get** /api/v3/series/{id} | +[**ListSeries**](SeriesApi.md#ListSeries) | **Get** /api/v3/series | +[**UpdateSeries**](SeriesApi.md#UpdateSeries) | **Put** /api/v3/series/{id} | @@ -35,13 +35,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.SeriesAPI.CreateSeries(context.Background()).SeriesResource(seriesResource).Execute() + resp, r, err := apiClient.SeriesApi.CreateSeries(context.Background()).SeriesResource(seriesResource).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `SeriesAPI.CreateSeries``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `SeriesApi.CreateSeries``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `CreateSeries`: SeriesResource - fmt.Fprintf(os.Stdout, "Response from `SeriesAPI.CreateSeries`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `SeriesApi.CreateSeries`: %v\n", resp) } ``` @@ -78,7 +78,7 @@ Name | Type | Description | Notes ## DeleteSeries -> DeleteSeries(ctx, id).DeleteFiles(deleteFiles).AddImportListExclusion(addImportListExclusion).Execute() +> DeleteSeries(ctx, id).Execute() @@ -96,14 +96,12 @@ import ( func main() { id := int32(56) // int32 | - deleteFiles := true // bool | (optional) (default to false) - addImportListExclusion := true // bool | (optional) (default to false) configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.SeriesAPI.DeleteSeries(context.Background(), id).DeleteFiles(deleteFiles).AddImportListExclusion(addImportListExclusion).Execute() + resp, r, err := apiClient.SeriesApi.DeleteSeries(context.Background(), id).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `SeriesAPI.DeleteSeries``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `SeriesApi.DeleteSeries``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -125,8 +123,6 @@ Other parameters are passed through a pointer to a apiDeleteSeriesRequest struct Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **deleteFiles** | **bool** | | [default to false] - **addImportListExclusion** | **bool** | | [default to false] ### Return type @@ -169,13 +165,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.SeriesAPI.GetSeriesById(context.Background(), id).Execute() + resp, r, err := apiClient.SeriesApi.GetSeriesById(context.Background(), id).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `SeriesAPI.GetSeriesById``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `SeriesApi.GetSeriesById``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `GetSeriesById`: SeriesResource - fmt.Fprintf(os.Stdout, "Response from `SeriesAPI.GetSeriesById`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `SeriesApi.GetSeriesById`: %v\n", resp) } ``` @@ -238,13 +234,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.SeriesAPI.ListSeries(context.Background()).TvdbId(tvdbId).IncludeSeasonImages(includeSeasonImages).Execute() + resp, r, err := apiClient.SeriesApi.ListSeries(context.Background()).TvdbId(tvdbId).IncludeSeasonImages(includeSeasonImages).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `SeriesAPI.ListSeries``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `SeriesApi.ListSeries``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `ListSeries`: []SeriesResource - fmt.Fprintf(os.Stdout, "Response from `SeriesAPI.ListSeries`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `SeriesApi.ListSeries`: %v\n", resp) } ``` @@ -282,7 +278,7 @@ Name | Type | Description | Notes ## UpdateSeries -> SeriesResource UpdateSeries(ctx, id).MoveFiles(moveFiles).SeriesResource(seriesResource).Execute() +> SeriesResource UpdateSeries(ctx, id).SeriesResource(seriesResource).Execute() @@ -300,18 +296,17 @@ import ( func main() { id := "id_example" // string | - moveFiles := true // bool | (optional) (default to false) seriesResource := *sonarrClient.NewSeriesResource() // SeriesResource | (optional) configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.SeriesAPI.UpdateSeries(context.Background(), id).MoveFiles(moveFiles).SeriesResource(seriesResource).Execute() + resp, r, err := apiClient.SeriesApi.UpdateSeries(context.Background(), id).SeriesResource(seriesResource).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `SeriesAPI.UpdateSeries``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `SeriesApi.UpdateSeries``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `UpdateSeries`: SeriesResource - fmt.Fprintf(os.Stdout, "Response from `SeriesAPI.UpdateSeries`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `SeriesApi.UpdateSeries`: %v\n", resp) } ``` @@ -331,7 +326,6 @@ Other parameters are passed through a pointer to a apiUpdateSeriesRequest struct Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **moveFiles** | **bool** | | [default to false] **seriesResource** | [**SeriesResource**](SeriesResource.md) | | ### Return type diff --git a/sonarr/docs/SeriesEditorAPI.md b/sonarr/docs/SeriesEditorApi.md similarity index 89% rename from sonarr/docs/SeriesEditorAPI.md rename to sonarr/docs/SeriesEditorApi.md index aa7905c..6b52d8b 100644 --- a/sonarr/docs/SeriesEditorAPI.md +++ b/sonarr/docs/SeriesEditorApi.md @@ -1,11 +1,11 @@ -# \SeriesEditorAPI +# \SeriesEditorApi All URIs are relative to *http://localhost:8989* Method | HTTP request | Description ------------- | ------------- | ------------- -[**DeleteSeriesEditor**](SeriesEditorAPI.md#DeleteSeriesEditor) | **Delete** /api/v3/series/editor | -[**PutSeriesEditor**](SeriesEditorAPI.md#PutSeriesEditor) | **Put** /api/v3/series/editor | +[**DeleteSeriesEditor**](SeriesEditorApi.md#DeleteSeriesEditor) | **Delete** /api/v3/series/editor | +[**PutSeriesEditor**](SeriesEditorApi.md#PutSeriesEditor) | **Put** /api/v3/series/editor | @@ -32,9 +32,9 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.SeriesEditorAPI.DeleteSeriesEditor(context.Background()).SeriesEditorResource(seriesEditorResource).Execute() + resp, r, err := apiClient.SeriesEditorApi.DeleteSeriesEditor(context.Background()).SeriesEditorResource(seriesEditorResource).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `SeriesEditorAPI.DeleteSeriesEditor``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `SeriesEditorApi.DeleteSeriesEditor``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -94,9 +94,9 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.SeriesEditorAPI.PutSeriesEditor(context.Background()).SeriesEditorResource(seriesEditorResource).Execute() + resp, r, err := apiClient.SeriesEditorApi.PutSeriesEditor(context.Background()).SeriesEditorResource(seriesEditorResource).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `SeriesEditorAPI.PutSeriesEditor``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `SeriesEditorApi.PutSeriesEditor``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } diff --git a/sonarr/docs/SeriesImportAPI.md b/sonarr/docs/SeriesImportApi.md similarity index 89% rename from sonarr/docs/SeriesImportAPI.md rename to sonarr/docs/SeriesImportApi.md index a19be82..58fc1b5 100644 --- a/sonarr/docs/SeriesImportAPI.md +++ b/sonarr/docs/SeriesImportApi.md @@ -1,10 +1,10 @@ -# \SeriesImportAPI +# \SeriesImportApi All URIs are relative to *http://localhost:8989* Method | HTTP request | Description ------------- | ------------- | ------------- -[**CreateSeriesImport**](SeriesImportAPI.md#CreateSeriesImport) | **Post** /api/v3/series/import | +[**CreateSeriesImport**](SeriesImportApi.md#CreateSeriesImport) | **Post** /api/v3/series/import | @@ -31,9 +31,9 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.SeriesImportAPI.CreateSeriesImport(context.Background()).SeriesResource(seriesResource).Execute() + resp, r, err := apiClient.SeriesImportApi.CreateSeriesImport(context.Background()).SeriesResource(seriesResource).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `SeriesImportAPI.CreateSeriesImport``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `SeriesImportApi.CreateSeriesImport``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } diff --git a/sonarr/docs/SeriesLookupAPI.md b/sonarr/docs/SeriesLookupApi.md similarity index 86% rename from sonarr/docs/SeriesLookupAPI.md rename to sonarr/docs/SeriesLookupApi.md index 908a6eb..489e646 100644 --- a/sonarr/docs/SeriesLookupAPI.md +++ b/sonarr/docs/SeriesLookupApi.md @@ -1,10 +1,10 @@ -# \SeriesLookupAPI +# \SeriesLookupApi All URIs are relative to *http://localhost:8989* Method | HTTP request | Description ------------- | ------------- | ------------- -[**ListSeriesLookup**](SeriesLookupAPI.md#ListSeriesLookup) | **Get** /api/v3/series/lookup | +[**ListSeriesLookup**](SeriesLookupApi.md#ListSeriesLookup) | **Get** /api/v3/series/lookup | @@ -31,13 +31,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.SeriesLookupAPI.ListSeriesLookup(context.Background()).Term(term).Execute() + resp, r, err := apiClient.SeriesLookupApi.ListSeriesLookup(context.Background()).Term(term).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `SeriesLookupAPI.ListSeriesLookup``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `SeriesLookupApi.ListSeriesLookup``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `ListSeriesLookup`: []SeriesResource - fmt.Fprintf(os.Stdout, "Response from `SeriesLookupAPI.ListSeriesLookup`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `SeriesLookupApi.ListSeriesLookup`: %v\n", resp) } ``` diff --git a/sonarr/docs/StaticResourceAPI.md b/sonarr/docs/StaticResourceApi.md similarity index 89% rename from sonarr/docs/StaticResourceAPI.md rename to sonarr/docs/StaticResourceApi.md index 229ab9d..db0b08d 100644 --- a/sonarr/docs/StaticResourceAPI.md +++ b/sonarr/docs/StaticResourceApi.md @@ -1,13 +1,13 @@ -# \StaticResourceAPI +# \StaticResourceApi All URIs are relative to *http://localhost:8989* Method | HTTP request | Description ------------- | ------------- | ------------- -[**Get**](StaticResourceAPI.md#Get) | **Get** / | -[**GetByPath**](StaticResourceAPI.md#GetByPath) | **Get** /{path} | -[**GetContentByPath**](StaticResourceAPI.md#GetContentByPath) | **Get** /content/{path} | -[**GetLogin**](StaticResourceAPI.md#GetLogin) | **Get** /login | +[**Get**](StaticResourceApi.md#Get) | **Get** / | +[**GetByPath**](StaticResourceApi.md#GetByPath) | **Get** /{path} | +[**GetContentByPath**](StaticResourceApi.md#GetContentByPath) | **Get** /content/{path} | +[**GetLogin**](StaticResourceApi.md#GetLogin) | **Get** /login | @@ -34,9 +34,9 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.StaticResourceAPI.Get(context.Background(), path).Execute() + resp, r, err := apiClient.StaticResourceApi.Get(context.Background(), path).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `StaticResourceAPI.Get``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `StaticResourceApi.Get``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -100,9 +100,9 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.StaticResourceAPI.GetByPath(context.Background(), path).Execute() + resp, r, err := apiClient.StaticResourceApi.GetByPath(context.Background(), path).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `StaticResourceAPI.GetByPath``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `StaticResourceApi.GetByPath``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -166,9 +166,9 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.StaticResourceAPI.GetContentByPath(context.Background(), path).Execute() + resp, r, err := apiClient.StaticResourceApi.GetContentByPath(context.Background(), path).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `StaticResourceAPI.GetContentByPath``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `StaticResourceApi.GetContentByPath``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -231,9 +231,9 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.StaticResourceAPI.GetLogin(context.Background()).Execute() + resp, r, err := apiClient.StaticResourceApi.GetLogin(context.Background()).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `StaticResourceAPI.GetLogin``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `StaticResourceApi.GetLogin``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } diff --git a/sonarr/docs/SystemAPI.md b/sonarr/docs/SystemApi.md similarity index 84% rename from sonarr/docs/SystemAPI.md rename to sonarr/docs/SystemApi.md index d7919a9..fd52103 100644 --- a/sonarr/docs/SystemAPI.md +++ b/sonarr/docs/SystemApi.md @@ -1,14 +1,14 @@ -# \SystemAPI +# \SystemApi All URIs are relative to *http://localhost:8989* Method | HTTP request | Description ------------- | ------------- | ------------- -[**CreateSystemRestart**](SystemAPI.md#CreateSystemRestart) | **Post** /api/v3/system/restart | -[**CreateSystemShutdown**](SystemAPI.md#CreateSystemShutdown) | **Post** /api/v3/system/shutdown | -[**GetSystemRoutes**](SystemAPI.md#GetSystemRoutes) | **Get** /api/v3/system/routes | -[**GetSystemRoutesDuplicate**](SystemAPI.md#GetSystemRoutesDuplicate) | **Get** /api/v3/system/routes/duplicate | -[**GetSystemStatus**](SystemAPI.md#GetSystemStatus) | **Get** /api/v3/system/status | +[**CreateSystemRestart**](SystemApi.md#CreateSystemRestart) | **Post** /api/v3/system/restart | +[**CreateSystemShutdown**](SystemApi.md#CreateSystemShutdown) | **Post** /api/v3/system/shutdown | +[**GetSystemRoutes**](SystemApi.md#GetSystemRoutes) | **Get** /api/v3/system/routes | +[**GetSystemRoutesDuplicate**](SystemApi.md#GetSystemRoutesDuplicate) | **Get** /api/v3/system/routes/duplicate | +[**GetSystemStatus**](SystemApi.md#GetSystemStatus) | **Get** /api/v3/system/status | @@ -34,9 +34,9 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.SystemAPI.CreateSystemRestart(context.Background()).Execute() + resp, r, err := apiClient.SystemApi.CreateSystemRestart(context.Background()).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `SystemAPI.CreateSystemRestart``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `SystemApi.CreateSystemRestart``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -91,9 +91,9 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.SystemAPI.CreateSystemShutdown(context.Background()).Execute() + resp, r, err := apiClient.SystemApi.CreateSystemShutdown(context.Background()).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `SystemAPI.CreateSystemShutdown``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `SystemApi.CreateSystemShutdown``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -148,9 +148,9 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.SystemAPI.GetSystemRoutes(context.Background()).Execute() + resp, r, err := apiClient.SystemApi.GetSystemRoutes(context.Background()).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `SystemAPI.GetSystemRoutes``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `SystemApi.GetSystemRoutes``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -205,9 +205,9 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.SystemAPI.GetSystemRoutesDuplicate(context.Background()).Execute() + resp, r, err := apiClient.SystemApi.GetSystemRoutesDuplicate(context.Background()).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `SystemAPI.GetSystemRoutesDuplicate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `SystemApi.GetSystemRoutesDuplicate``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -262,13 +262,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.SystemAPI.GetSystemStatus(context.Background()).Execute() + resp, r, err := apiClient.SystemApi.GetSystemStatus(context.Background()).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `SystemAPI.GetSystemStatus``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `SystemApi.GetSystemStatus``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `GetSystemStatus`: SystemResource - fmt.Fprintf(os.Stdout, "Response from `SystemAPI.GetSystemStatus`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `SystemApi.GetSystemStatus`: %v\n", resp) } ``` diff --git a/sonarr/docs/TagAPI.md b/sonarr/docs/TagApi.md similarity index 85% rename from sonarr/docs/TagAPI.md rename to sonarr/docs/TagApi.md index 7ff02ba..4f2d4e4 100644 --- a/sonarr/docs/TagAPI.md +++ b/sonarr/docs/TagApi.md @@ -1,14 +1,14 @@ -# \TagAPI +# \TagApi All URIs are relative to *http://localhost:8989* Method | HTTP request | Description ------------- | ------------- | ------------- -[**CreateTag**](TagAPI.md#CreateTag) | **Post** /api/v3/tag | -[**DeleteTag**](TagAPI.md#DeleteTag) | **Delete** /api/v3/tag/{id} | -[**GetTagById**](TagAPI.md#GetTagById) | **Get** /api/v3/tag/{id} | -[**ListTag**](TagAPI.md#ListTag) | **Get** /api/v3/tag | -[**UpdateTag**](TagAPI.md#UpdateTag) | **Put** /api/v3/tag/{id} | +[**CreateTag**](TagApi.md#CreateTag) | **Post** /api/v3/tag | +[**DeleteTag**](TagApi.md#DeleteTag) | **Delete** /api/v3/tag/{id} | +[**GetTagById**](TagApi.md#GetTagById) | **Get** /api/v3/tag/{id} | +[**ListTag**](TagApi.md#ListTag) | **Get** /api/v3/tag | +[**UpdateTag**](TagApi.md#UpdateTag) | **Put** /api/v3/tag/{id} | @@ -35,13 +35,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.TagAPI.CreateTag(context.Background()).TagResource(tagResource).Execute() + resp, r, err := apiClient.TagApi.CreateTag(context.Background()).TagResource(tagResource).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `TagAPI.CreateTag``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `TagApi.CreateTag``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `CreateTag`: TagResource - fmt.Fprintf(os.Stdout, "Response from `TagAPI.CreateTag`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `TagApi.CreateTag`: %v\n", resp) } ``` @@ -99,9 +99,9 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.TagAPI.DeleteTag(context.Background(), id).Execute() + resp, r, err := apiClient.TagApi.DeleteTag(context.Background(), id).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `TagAPI.DeleteTag``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `TagApi.DeleteTag``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -165,13 +165,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.TagAPI.GetTagById(context.Background(), id).Execute() + resp, r, err := apiClient.TagApi.GetTagById(context.Background(), id).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `TagAPI.GetTagById``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `TagApi.GetTagById``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `GetTagById`: TagResource - fmt.Fprintf(os.Stdout, "Response from `TagAPI.GetTagById`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `TagApi.GetTagById`: %v\n", resp) } ``` @@ -232,13 +232,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.TagAPI.ListTag(context.Background()).Execute() + resp, r, err := apiClient.TagApi.ListTag(context.Background()).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `TagAPI.ListTag``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `TagApi.ListTag``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `ListTag`: []TagResource - fmt.Fprintf(os.Stdout, "Response from `TagAPI.ListTag`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `TagApi.ListTag`: %v\n", resp) } ``` @@ -293,13 +293,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.TagAPI.UpdateTag(context.Background(), id).TagResource(tagResource).Execute() + resp, r, err := apiClient.TagApi.UpdateTag(context.Background(), id).TagResource(tagResource).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `TagAPI.UpdateTag``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `TagApi.UpdateTag``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `UpdateTag`: TagResource - fmt.Fprintf(os.Stdout, "Response from `TagAPI.UpdateTag`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `TagApi.UpdateTag`: %v\n", resp) } ``` diff --git a/sonarr/docs/TagDetailsAPI.md b/sonarr/docs/TagDetailsApi.md similarity index 82% rename from sonarr/docs/TagDetailsAPI.md rename to sonarr/docs/TagDetailsApi.md index efc330c..6cce934 100644 --- a/sonarr/docs/TagDetailsAPI.md +++ b/sonarr/docs/TagDetailsApi.md @@ -1,11 +1,11 @@ -# \TagDetailsAPI +# \TagDetailsApi All URIs are relative to *http://localhost:8989* Method | HTTP request | Description ------------- | ------------- | ------------- -[**GetTagDetailById**](TagDetailsAPI.md#GetTagDetailById) | **Get** /api/v3/tag/detail/{id} | -[**ListTagDetail**](TagDetailsAPI.md#ListTagDetail) | **Get** /api/v3/tag/detail | +[**GetTagDetailById**](TagDetailsApi.md#GetTagDetailById) | **Get** /api/v3/tag/detail/{id} | +[**ListTagDetail**](TagDetailsApi.md#ListTagDetail) | **Get** /api/v3/tag/detail | @@ -32,13 +32,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.TagDetailsAPI.GetTagDetailById(context.Background(), id).Execute() + resp, r, err := apiClient.TagDetailsApi.GetTagDetailById(context.Background(), id).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `TagDetailsAPI.GetTagDetailById``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `TagDetailsApi.GetTagDetailById``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `GetTagDetailById`: TagDetailsResource - fmt.Fprintf(os.Stdout, "Response from `TagDetailsAPI.GetTagDetailById`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `TagDetailsApi.GetTagDetailById`: %v\n", resp) } ``` @@ -99,13 +99,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.TagDetailsAPI.ListTagDetail(context.Background()).Execute() + resp, r, err := apiClient.TagDetailsApi.ListTagDetail(context.Background()).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `TagDetailsAPI.ListTagDetail``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `TagDetailsApi.ListTagDetail``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `ListTagDetail`: []TagDetailsResource - fmt.Fprintf(os.Stdout, "Response from `TagDetailsAPI.ListTagDetail`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `TagDetailsApi.ListTagDetail`: %v\n", resp) } ``` diff --git a/sonarr/docs/TaskAPI.md b/sonarr/docs/TaskApi.md similarity index 84% rename from sonarr/docs/TaskAPI.md rename to sonarr/docs/TaskApi.md index 5623f8c..baa136c 100644 --- a/sonarr/docs/TaskAPI.md +++ b/sonarr/docs/TaskApi.md @@ -1,11 +1,11 @@ -# \TaskAPI +# \TaskApi All URIs are relative to *http://localhost:8989* Method | HTTP request | Description ------------- | ------------- | ------------- -[**GetSystemTaskById**](TaskAPI.md#GetSystemTaskById) | **Get** /api/v3/system/task/{id} | -[**ListSystemTask**](TaskAPI.md#ListSystemTask) | **Get** /api/v3/system/task | +[**GetSystemTaskById**](TaskApi.md#GetSystemTaskById) | **Get** /api/v3/system/task/{id} | +[**ListSystemTask**](TaskApi.md#ListSystemTask) | **Get** /api/v3/system/task | @@ -32,13 +32,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.TaskAPI.GetSystemTaskById(context.Background(), id).Execute() + resp, r, err := apiClient.TaskApi.GetSystemTaskById(context.Background(), id).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `TaskAPI.GetSystemTaskById``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `TaskApi.GetSystemTaskById``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `GetSystemTaskById`: TaskResource - fmt.Fprintf(os.Stdout, "Response from `TaskAPI.GetSystemTaskById`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `TaskApi.GetSystemTaskById`: %v\n", resp) } ``` @@ -99,13 +99,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.TaskAPI.ListSystemTask(context.Background()).Execute() + resp, r, err := apiClient.TaskApi.ListSystemTask(context.Background()).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `TaskAPI.ListSystemTask``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `TaskApi.ListSystemTask``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `ListSystemTask`: []TaskResource - fmt.Fprintf(os.Stdout, "Response from `TaskAPI.ListSystemTask`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `TaskApi.ListSystemTask`: %v\n", resp) } ``` diff --git a/sonarr/docs/UiConfigAPI.md b/sonarr/docs/UiConfigApi.md similarity index 85% rename from sonarr/docs/UiConfigAPI.md rename to sonarr/docs/UiConfigApi.md index 949183c..01b5430 100644 --- a/sonarr/docs/UiConfigAPI.md +++ b/sonarr/docs/UiConfigApi.md @@ -1,12 +1,12 @@ -# \UiConfigAPI +# \UiConfigApi All URIs are relative to *http://localhost:8989* Method | HTTP request | Description ------------- | ------------- | ------------- -[**GetUiConfig**](UiConfigAPI.md#GetUiConfig) | **Get** /api/v3/config/ui | -[**GetUiConfigById**](UiConfigAPI.md#GetUiConfigById) | **Get** /api/v3/config/ui/{id} | -[**UpdateUiConfig**](UiConfigAPI.md#UpdateUiConfig) | **Put** /api/v3/config/ui/{id} | +[**GetUiConfig**](UiConfigApi.md#GetUiConfig) | **Get** /api/v3/config/ui | +[**GetUiConfigById**](UiConfigApi.md#GetUiConfigById) | **Get** /api/v3/config/ui/{id} | +[**UpdateUiConfig**](UiConfigApi.md#UpdateUiConfig) | **Put** /api/v3/config/ui/{id} | @@ -32,13 +32,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.UiConfigAPI.GetUiConfig(context.Background()).Execute() + resp, r, err := apiClient.UiConfigApi.GetUiConfig(context.Background()).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `UiConfigAPI.GetUiConfig``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `UiConfigApi.GetUiConfig``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `GetUiConfig`: UiConfigResource - fmt.Fprintf(os.Stdout, "Response from `UiConfigAPI.GetUiConfig`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `UiConfigApi.GetUiConfig`: %v\n", resp) } ``` @@ -92,13 +92,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.UiConfigAPI.GetUiConfigById(context.Background(), id).Execute() + resp, r, err := apiClient.UiConfigApi.GetUiConfigById(context.Background(), id).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `UiConfigAPI.GetUiConfigById``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `UiConfigApi.GetUiConfigById``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `GetUiConfigById`: UiConfigResource - fmt.Fprintf(os.Stdout, "Response from `UiConfigAPI.GetUiConfigById`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `UiConfigApi.GetUiConfigById`: %v\n", resp) } ``` @@ -161,13 +161,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.UiConfigAPI.UpdateUiConfig(context.Background(), id).UiConfigResource(uiConfigResource).Execute() + resp, r, err := apiClient.UiConfigApi.UpdateUiConfig(context.Background(), id).UiConfigResource(uiConfigResource).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `UiConfigAPI.UpdateUiConfig``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `UiConfigApi.UpdateUiConfig``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `UpdateUiConfig`: UiConfigResource - fmt.Fprintf(os.Stdout, "Response from `UiConfigAPI.UpdateUiConfig`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `UiConfigApi.UpdateUiConfig`: %v\n", resp) } ``` diff --git a/sonarr/docs/UpdateAPI.md b/sonarr/docs/UpdateApi.md similarity index 82% rename from sonarr/docs/UpdateAPI.md rename to sonarr/docs/UpdateApi.md index b5512e0..e73baee 100644 --- a/sonarr/docs/UpdateAPI.md +++ b/sonarr/docs/UpdateApi.md @@ -1,10 +1,10 @@ -# \UpdateAPI +# \UpdateApi All URIs are relative to *http://localhost:8989* Method | HTTP request | Description ------------- | ------------- | ------------- -[**ListUpdate**](UpdateAPI.md#ListUpdate) | **Get** /api/v3/update | +[**ListUpdate**](UpdateApi.md#ListUpdate) | **Get** /api/v3/update | @@ -30,13 +30,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.UpdateAPI.ListUpdate(context.Background()).Execute() + resp, r, err := apiClient.UpdateApi.ListUpdate(context.Background()).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `UpdateAPI.ListUpdate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `UpdateApi.ListUpdate``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `ListUpdate`: []UpdateResource - fmt.Fprintf(os.Stdout, "Response from `UpdateAPI.ListUpdate`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `UpdateApi.ListUpdate`: %v\n", resp) } ``` diff --git a/sonarr/docs/UpdateLogFileAPI.md b/sonarr/docs/UpdateLogFileApi.md similarity index 87% rename from sonarr/docs/UpdateLogFileAPI.md rename to sonarr/docs/UpdateLogFileApi.md index 4bd63c3..6ae6827 100644 --- a/sonarr/docs/UpdateLogFileAPI.md +++ b/sonarr/docs/UpdateLogFileApi.md @@ -1,11 +1,11 @@ -# \UpdateLogFileAPI +# \UpdateLogFileApi All URIs are relative to *http://localhost:8989* Method | HTTP request | Description ------------- | ------------- | ------------- -[**GetLogFileUpdateByFilename**](UpdateLogFileAPI.md#GetLogFileUpdateByFilename) | **Get** /api/v3/log/file/update/{filename} | -[**ListLogFileUpdate**](UpdateLogFileAPI.md#ListLogFileUpdate) | **Get** /api/v3/log/file/update | +[**GetLogFileUpdateByFilename**](UpdateLogFileApi.md#GetLogFileUpdateByFilename) | **Get** /api/v3/log/file/update/{filename} | +[**ListLogFileUpdate**](UpdateLogFileApi.md#ListLogFileUpdate) | **Get** /api/v3/log/file/update | @@ -32,9 +32,9 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.UpdateLogFileAPI.GetLogFileUpdateByFilename(context.Background(), filename).Execute() + resp, r, err := apiClient.UpdateLogFileApi.GetLogFileUpdateByFilename(context.Background(), filename).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `UpdateLogFileAPI.GetLogFileUpdateByFilename``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `UpdateLogFileApi.GetLogFileUpdateByFilename``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -97,13 +97,13 @@ func main() { configuration := sonarrClient.NewConfiguration() apiClient := sonarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.UpdateLogFileAPI.ListLogFileUpdate(context.Background()).Execute() + resp, r, err := apiClient.UpdateLogFileApi.ListLogFileUpdate(context.Background()).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `UpdateLogFileAPI.ListLogFileUpdate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `UpdateLogFileApi.ListLogFileUpdate``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `ListLogFileUpdate`: []LogFileResource - fmt.Fprintf(os.Stdout, "Response from `UpdateLogFileAPI.ListLogFileUpdate`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `UpdateLogFileApi.ListLogFileUpdate`: %v\n", resp) } ``` diff --git a/sonarr/model_command_resource.go b/sonarr/model_command_resource.go index 6a384d7..1b8d64e 100644 --- a/sonarr/model_command_resource.go +++ b/sonarr/model_command_resource.go @@ -24,7 +24,6 @@ type CommandResource struct { Body *Command `json:"body,omitempty"` Priority *CommandPriority `json:"priority,omitempty"` Status *CommandStatus `json:"status,omitempty"` - Result *CommandResult `json:"result,omitempty"` Queued *time.Time `json:"queued,omitempty"` Started NullableTime `json:"started,omitempty"` Ended NullableTime `json:"ended,omitempty"` @@ -309,38 +308,6 @@ func (o *CommandResource) SetStatus(v CommandStatus) { o.Status = &v } -// GetResult returns the Result field value if set, zero value otherwise. -func (o *CommandResource) GetResult() CommandResult { - if o == nil || isNil(o.Result) { - var ret CommandResult - return ret - } - return *o.Result -} - -// GetResultOk returns a tuple with the Result field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CommandResource) GetResultOk() (*CommandResult, bool) { - if o == nil || isNil(o.Result) { - return nil, false - } - return o.Result, true -} - -// HasResult returns a boolean if a field has been set. -func (o *CommandResource) HasResult() bool { - if o != nil && !isNil(o.Result) { - return true - } - - return false -} - -// SetResult gets a reference to the given CommandResult and assigns it to the Result field. -func (o *CommandResource) SetResult(v CommandResult) { - o.Result = &v -} - // GetQueued returns the Queued field value if set, zero value otherwise. func (o *CommandResource) GetQueued() time.Time { if o == nil || isNil(o.Queued) { @@ -776,9 +743,6 @@ func (o CommandResource) MarshalJSON() ([]byte, error) { if !isNil(o.Status) { toSerialize["status"] = o.Status } - if !isNil(o.Result) { - toSerialize["result"] = o.Result - } if !isNil(o.Queued) { toSerialize["queued"] = o.Queued } diff --git a/sonarr/model_command_result.go b/sonarr/model_command_result.go deleted file mode 100644 index 32e5f38..0000000 --- a/sonarr/model_command_result.go +++ /dev/null @@ -1,113 +0,0 @@ -/* -Sonarr - -Sonarr API docs - -API version: 3.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package sonarr - -import ( - "encoding/json" - "fmt" -) - -// CommandResult the model 'CommandResult' -type CommandResult string - -// List of CommandResult -const ( - COMMANDRESULT_UNKNOWN CommandResult = "unknown" - COMMANDRESULT_SUCCESSFUL CommandResult = "successful" - COMMANDRESULT_UNSUCCESSFUL CommandResult = "unsuccessful" -) - -// All allowed values of CommandResult enum -var AllowedCommandResultEnumValues = []CommandResult{ - "unknown", - "successful", - "unsuccessful", -} - -func (v *CommandResult) UnmarshalJSON(src []byte) error { - var value string - err := json.Unmarshal(src, &value) - if err != nil { - return err - } - enumTypeValue := CommandResult(value) - for _, existing := range AllowedCommandResultEnumValues { - if existing == enumTypeValue { - *v = enumTypeValue - return nil - } - } - - return fmt.Errorf("%+v is not a valid CommandResult", value) -} - -// NewCommandResultFromValue returns a pointer to a valid CommandResult -// for the value passed as argument, or an error if the value passed is not allowed by the enum -func NewCommandResultFromValue(v string) (*CommandResult, error) { - ev := CommandResult(v) - if ev.IsValid() { - return &ev, nil - } else { - return nil, fmt.Errorf("invalid value '%v' for CommandResult: valid values are %v", v, AllowedCommandResultEnumValues) - } -} - -// IsValid return true if the value is valid for the enum, false otherwise -func (v CommandResult) IsValid() bool { - for _, existing := range AllowedCommandResultEnumValues { - if existing == v { - return true - } - } - return false -} - -// Ptr returns reference to CommandResult value -func (v CommandResult) Ptr() *CommandResult { - return &v -} - -type NullableCommandResult struct { - value *CommandResult - isSet bool -} - -func (v NullableCommandResult) Get() *CommandResult { - return v.value -} - -func (v *NullableCommandResult) Set(val *CommandResult) { - v.value = val - v.isSet = true -} - -func (v NullableCommandResult) IsSet() bool { - return v.isSet -} - -func (v *NullableCommandResult) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableCommandResult(val *CommandResult) *NullableCommandResult { - return &NullableCommandResult{value: val, isSet: true} -} - -func (v NullableCommandResult) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableCommandResult) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - diff --git a/sonarr/model_episode_resource.go b/sonarr/model_episode_resource.go index 5e88256..b284843 100644 --- a/sonarr/model_episode_resource.go +++ b/sonarr/model_episode_resource.go @@ -26,7 +26,6 @@ type EpisodeResource struct { Title NullableString `json:"title,omitempty"` AirDate NullableString `json:"airDate,omitempty"` AirDateUtc NullableTime `json:"airDateUtc,omitempty"` - Runtime *int32 `json:"runtime,omitempty"` Overview NullableString `json:"overview,omitempty"` EpisodeFile *EpisodeFileResource `json:"episodeFile,omitempty"` HasFile *bool `json:"hasFile,omitempty"` @@ -379,38 +378,6 @@ func (o *EpisodeResource) UnsetAirDateUtc() { o.AirDateUtc.Unset() } -// GetRuntime returns the Runtime field value if set, zero value otherwise. -func (o *EpisodeResource) GetRuntime() int32 { - if o == nil || isNil(o.Runtime) { - var ret int32 - return ret - } - return *o.Runtime -} - -// GetRuntimeOk returns a tuple with the Runtime field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *EpisodeResource) GetRuntimeOk() (*int32, bool) { - if o == nil || isNil(o.Runtime) { - return nil, false - } - return o.Runtime, true -} - -// HasRuntime returns a boolean if a field has been set. -func (o *EpisodeResource) HasRuntime() bool { - if o != nil && !isNil(o.Runtime) { - return true - } - - return false -} - -// SetRuntime gets a reference to the given int32 and assigns it to the Runtime field. -func (o *EpisodeResource) SetRuntime(v int32) { - o.Runtime = &v -} - // GetOverview returns the Overview field value if set, zero value otherwise (both if not set or set to explicit null). func (o *EpisodeResource) GetOverview() string { if o == nil || isNil(o.Overview.Get()) { @@ -1001,9 +968,6 @@ func (o EpisodeResource) MarshalJSON() ([]byte, error) { if o.AirDateUtc.IsSet() { toSerialize["airDateUtc"] = o.AirDateUtc.Get() } - if !isNil(o.Runtime) { - toSerialize["runtime"] = o.Runtime - } if o.Overview.IsSet() { toSerialize["overview"] = o.Overview.Get() } diff --git a/sonarr/model_field.go b/sonarr/model_field.go index dcb582a..4af50a3 100644 --- a/sonarr/model_field.go +++ b/sonarr/model_field.go @@ -30,7 +30,6 @@ type Field struct { Section NullableString `json:"section,omitempty"` Hidden NullableString `json:"hidden,omitempty"` Privacy *PrivacyLevel `json:"privacy,omitempty"` - Placeholder NullableString `json:"placeholder,omitempty"` } // NewField instantiates a new Field object @@ -590,48 +589,6 @@ func (o *Field) SetPrivacy(v PrivacyLevel) { o.Privacy = &v } -// GetPlaceholder returns the Placeholder field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *Field) GetPlaceholder() string { - if o == nil || isNil(o.Placeholder.Get()) { - var ret string - return ret - } - return *o.Placeholder.Get() -} - -// GetPlaceholderOk returns a tuple with the Placeholder field value if set, nil otherwise -// and a boolean to check if the value has been set. -// NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *Field) GetPlaceholderOk() (*string, bool) { - if o == nil { - return nil, false - } - return o.Placeholder.Get(), o.Placeholder.IsSet() -} - -// HasPlaceholder returns a boolean if a field has been set. -func (o *Field) HasPlaceholder() bool { - if o != nil && o.Placeholder.IsSet() { - return true - } - - return false -} - -// SetPlaceholder gets a reference to the given NullableString and assigns it to the Placeholder field. -func (o *Field) SetPlaceholder(v string) { - o.Placeholder.Set(&v) -} -// SetPlaceholderNil sets the value for Placeholder to be an explicit nil -func (o *Field) SetPlaceholderNil() { - o.Placeholder.Set(nil) -} - -// UnsetPlaceholder ensures that no value is present for Placeholder, not even an explicit nil -func (o *Field) UnsetPlaceholder() { - o.Placeholder.Unset() -} - func (o Field) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} if !isNil(o.Order) { @@ -676,9 +633,6 @@ func (o Field) MarshalJSON() ([]byte, error) { if !isNil(o.Privacy) { toSerialize["privacy"] = o.Privacy } - if o.Placeholder.IsSet() { - toSerialize["placeholder"] = o.Placeholder.Get() - } return json.Marshal(toSerialize) } diff --git a/sonarr/model_monitor_types.go b/sonarr/model_monitor_types.go index a2ea40a..6eac1c7 100644 --- a/sonarr/model_monitor_types.go +++ b/sonarr/model_monitor_types.go @@ -28,8 +28,6 @@ const ( MONITORTYPES_FIRST_SEASON MonitorTypes = "firstSeason" MONITORTYPES_LATEST_SEASON MonitorTypes = "latestSeason" MONITORTYPES_PILOT MonitorTypes = "pilot" - MONITORTYPES_MONITOR_SPECIALS MonitorTypes = "monitorSpecials" - MONITORTYPES_UNMONITOR_SPECIALS MonitorTypes = "unmonitorSpecials" MONITORTYPES_NONE MonitorTypes = "none" ) @@ -43,8 +41,6 @@ var AllowedMonitorTypesEnumValues = []MonitorTypes{ "firstSeason", "latestSeason", "pilot", - "monitorSpecials", - "unmonitorSpecials", "none", } diff --git a/sonarr/model_naming_config_resource.go b/sonarr/model_naming_config_resource.go index a41e87e..b4c423e 100644 --- a/sonarr/model_naming_config_resource.go +++ b/sonarr/model_naming_config_resource.go @@ -19,7 +19,6 @@ type NamingConfigResource struct { Id *int32 `json:"id,omitempty"` RenameEpisodes *bool `json:"renameEpisodes,omitempty"` ReplaceIllegalCharacters *bool `json:"replaceIllegalCharacters,omitempty"` - ColonReplacementFormat *int32 `json:"colonReplacementFormat,omitempty"` MultiEpisodeStyle *int32 `json:"multiEpisodeStyle,omitempty"` StandardEpisodeFormat NullableString `json:"standardEpisodeFormat,omitempty"` DailyEpisodeFormat NullableString `json:"dailyEpisodeFormat,omitempty"` @@ -148,38 +147,6 @@ func (o *NamingConfigResource) SetReplaceIllegalCharacters(v bool) { o.ReplaceIllegalCharacters = &v } -// GetColonReplacementFormat returns the ColonReplacementFormat field value if set, zero value otherwise. -func (o *NamingConfigResource) GetColonReplacementFormat() int32 { - if o == nil || isNil(o.ColonReplacementFormat) { - var ret int32 - return ret - } - return *o.ColonReplacementFormat -} - -// GetColonReplacementFormatOk returns a tuple with the ColonReplacementFormat field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NamingConfigResource) GetColonReplacementFormatOk() (*int32, bool) { - if o == nil || isNil(o.ColonReplacementFormat) { - return nil, false - } - return o.ColonReplacementFormat, true -} - -// HasColonReplacementFormat returns a boolean if a field has been set. -func (o *NamingConfigResource) HasColonReplacementFormat() bool { - if o != nil && !isNil(o.ColonReplacementFormat) { - return true - } - - return false -} - -// SetColonReplacementFormat gets a reference to the given int32 and assigns it to the ColonReplacementFormat field. -func (o *NamingConfigResource) SetColonReplacementFormat(v int32) { - o.ColonReplacementFormat = &v -} - // GetMultiEpisodeStyle returns the MultiEpisodeStyle field value if set, zero value otherwise. func (o *NamingConfigResource) GetMultiEpisodeStyle() int32 { if o == nil || isNil(o.MultiEpisodeStyle) { @@ -687,9 +654,6 @@ func (o NamingConfigResource) MarshalJSON() ([]byte, error) { if !isNil(o.ReplaceIllegalCharacters) { toSerialize["replaceIllegalCharacters"] = o.ReplaceIllegalCharacters } - if !isNil(o.ColonReplacementFormat) { - toSerialize["colonReplacementFormat"] = o.ColonReplacementFormat - } if !isNil(o.MultiEpisodeStyle) { toSerialize["multiEpisodeStyle"] = o.MultiEpisodeStyle } diff --git a/sonarr/model_notification_resource.go b/sonarr/model_notification_resource.go index a83e6e0..c05f1ca 100644 --- a/sonarr/model_notification_resource.go +++ b/sonarr/model_notification_resource.go @@ -31,26 +31,20 @@ type NotificationResource struct { OnDownload *bool `json:"onDownload,omitempty"` OnUpgrade *bool `json:"onUpgrade,omitempty"` OnRename *bool `json:"onRename,omitempty"` - OnSeriesAdd *bool `json:"onSeriesAdd,omitempty"` OnSeriesDelete *bool `json:"onSeriesDelete,omitempty"` OnEpisodeFileDelete *bool `json:"onEpisodeFileDelete,omitempty"` OnEpisodeFileDeleteForUpgrade *bool `json:"onEpisodeFileDeleteForUpgrade,omitempty"` OnHealthIssue *bool `json:"onHealthIssue,omitempty"` - OnHealthRestored *bool `json:"onHealthRestored,omitempty"` OnApplicationUpdate *bool `json:"onApplicationUpdate,omitempty"` - OnManualInteractionRequired *bool `json:"onManualInteractionRequired,omitempty"` SupportsOnGrab *bool `json:"supportsOnGrab,omitempty"` SupportsOnDownload *bool `json:"supportsOnDownload,omitempty"` SupportsOnUpgrade *bool `json:"supportsOnUpgrade,omitempty"` SupportsOnRename *bool `json:"supportsOnRename,omitempty"` - SupportsOnSeriesAdd *bool `json:"supportsOnSeriesAdd,omitempty"` SupportsOnSeriesDelete *bool `json:"supportsOnSeriesDelete,omitempty"` SupportsOnEpisodeFileDelete *bool `json:"supportsOnEpisodeFileDelete,omitempty"` SupportsOnEpisodeFileDeleteForUpgrade *bool `json:"supportsOnEpisodeFileDeleteForUpgrade,omitempty"` SupportsOnHealthIssue *bool `json:"supportsOnHealthIssue,omitempty"` - SupportsOnHealthRestored *bool `json:"supportsOnHealthRestored,omitempty"` SupportsOnApplicationUpdate *bool `json:"supportsOnApplicationUpdate,omitempty"` - SupportsOnManualInteractionRequired *bool `json:"supportsOnManualInteractionRequired,omitempty"` IncludeHealthWarnings *bool `json:"includeHealthWarnings,omitempty"` TestCommand NullableString `json:"testCommand,omitempty"` } @@ -615,38 +609,6 @@ func (o *NotificationResource) SetOnRename(v bool) { o.OnRename = &v } -// GetOnSeriesAdd returns the OnSeriesAdd field value if set, zero value otherwise. -func (o *NotificationResource) GetOnSeriesAdd() bool { - if o == nil || isNil(o.OnSeriesAdd) { - var ret bool - return ret - } - return *o.OnSeriesAdd -} - -// GetOnSeriesAddOk returns a tuple with the OnSeriesAdd field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NotificationResource) GetOnSeriesAddOk() (*bool, bool) { - if o == nil || isNil(o.OnSeriesAdd) { - return nil, false - } - return o.OnSeriesAdd, true -} - -// HasOnSeriesAdd returns a boolean if a field has been set. -func (o *NotificationResource) HasOnSeriesAdd() bool { - if o != nil && !isNil(o.OnSeriesAdd) { - return true - } - - return false -} - -// SetOnSeriesAdd gets a reference to the given bool and assigns it to the OnSeriesAdd field. -func (o *NotificationResource) SetOnSeriesAdd(v bool) { - o.OnSeriesAdd = &v -} - // GetOnSeriesDelete returns the OnSeriesDelete field value if set, zero value otherwise. func (o *NotificationResource) GetOnSeriesDelete() bool { if o == nil || isNil(o.OnSeriesDelete) { @@ -775,38 +737,6 @@ func (o *NotificationResource) SetOnHealthIssue(v bool) { o.OnHealthIssue = &v } -// GetOnHealthRestored returns the OnHealthRestored field value if set, zero value otherwise. -func (o *NotificationResource) GetOnHealthRestored() bool { - if o == nil || isNil(o.OnHealthRestored) { - var ret bool - return ret - } - return *o.OnHealthRestored -} - -// GetOnHealthRestoredOk returns a tuple with the OnHealthRestored field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NotificationResource) GetOnHealthRestoredOk() (*bool, bool) { - if o == nil || isNil(o.OnHealthRestored) { - return nil, false - } - return o.OnHealthRestored, true -} - -// HasOnHealthRestored returns a boolean if a field has been set. -func (o *NotificationResource) HasOnHealthRestored() bool { - if o != nil && !isNil(o.OnHealthRestored) { - return true - } - - return false -} - -// SetOnHealthRestored gets a reference to the given bool and assigns it to the OnHealthRestored field. -func (o *NotificationResource) SetOnHealthRestored(v bool) { - o.OnHealthRestored = &v -} - // GetOnApplicationUpdate returns the OnApplicationUpdate field value if set, zero value otherwise. func (o *NotificationResource) GetOnApplicationUpdate() bool { if o == nil || isNil(o.OnApplicationUpdate) { @@ -839,38 +769,6 @@ func (o *NotificationResource) SetOnApplicationUpdate(v bool) { o.OnApplicationUpdate = &v } -// GetOnManualInteractionRequired returns the OnManualInteractionRequired field value if set, zero value otherwise. -func (o *NotificationResource) GetOnManualInteractionRequired() bool { - if o == nil || isNil(o.OnManualInteractionRequired) { - var ret bool - return ret - } - return *o.OnManualInteractionRequired -} - -// GetOnManualInteractionRequiredOk returns a tuple with the OnManualInteractionRequired field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NotificationResource) GetOnManualInteractionRequiredOk() (*bool, bool) { - if o == nil || isNil(o.OnManualInteractionRequired) { - return nil, false - } - return o.OnManualInteractionRequired, true -} - -// HasOnManualInteractionRequired returns a boolean if a field has been set. -func (o *NotificationResource) HasOnManualInteractionRequired() bool { - if o != nil && !isNil(o.OnManualInteractionRequired) { - return true - } - - return false -} - -// SetOnManualInteractionRequired gets a reference to the given bool and assigns it to the OnManualInteractionRequired field. -func (o *NotificationResource) SetOnManualInteractionRequired(v bool) { - o.OnManualInteractionRequired = &v -} - // GetSupportsOnGrab returns the SupportsOnGrab field value if set, zero value otherwise. func (o *NotificationResource) GetSupportsOnGrab() bool { if o == nil || isNil(o.SupportsOnGrab) { @@ -999,38 +897,6 @@ func (o *NotificationResource) SetSupportsOnRename(v bool) { o.SupportsOnRename = &v } -// GetSupportsOnSeriesAdd returns the SupportsOnSeriesAdd field value if set, zero value otherwise. -func (o *NotificationResource) GetSupportsOnSeriesAdd() bool { - if o == nil || isNil(o.SupportsOnSeriesAdd) { - var ret bool - return ret - } - return *o.SupportsOnSeriesAdd -} - -// GetSupportsOnSeriesAddOk returns a tuple with the SupportsOnSeriesAdd field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NotificationResource) GetSupportsOnSeriesAddOk() (*bool, bool) { - if o == nil || isNil(o.SupportsOnSeriesAdd) { - return nil, false - } - return o.SupportsOnSeriesAdd, true -} - -// HasSupportsOnSeriesAdd returns a boolean if a field has been set. -func (o *NotificationResource) HasSupportsOnSeriesAdd() bool { - if o != nil && !isNil(o.SupportsOnSeriesAdd) { - return true - } - - return false -} - -// SetSupportsOnSeriesAdd gets a reference to the given bool and assigns it to the SupportsOnSeriesAdd field. -func (o *NotificationResource) SetSupportsOnSeriesAdd(v bool) { - o.SupportsOnSeriesAdd = &v -} - // GetSupportsOnSeriesDelete returns the SupportsOnSeriesDelete field value if set, zero value otherwise. func (o *NotificationResource) GetSupportsOnSeriesDelete() bool { if o == nil || isNil(o.SupportsOnSeriesDelete) { @@ -1159,38 +1025,6 @@ func (o *NotificationResource) SetSupportsOnHealthIssue(v bool) { o.SupportsOnHealthIssue = &v } -// GetSupportsOnHealthRestored returns the SupportsOnHealthRestored field value if set, zero value otherwise. -func (o *NotificationResource) GetSupportsOnHealthRestored() bool { - if o == nil || isNil(o.SupportsOnHealthRestored) { - var ret bool - return ret - } - return *o.SupportsOnHealthRestored -} - -// GetSupportsOnHealthRestoredOk returns a tuple with the SupportsOnHealthRestored field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NotificationResource) GetSupportsOnHealthRestoredOk() (*bool, bool) { - if o == nil || isNil(o.SupportsOnHealthRestored) { - return nil, false - } - return o.SupportsOnHealthRestored, true -} - -// HasSupportsOnHealthRestored returns a boolean if a field has been set. -func (o *NotificationResource) HasSupportsOnHealthRestored() bool { - if o != nil && !isNil(o.SupportsOnHealthRestored) { - return true - } - - return false -} - -// SetSupportsOnHealthRestored gets a reference to the given bool and assigns it to the SupportsOnHealthRestored field. -func (o *NotificationResource) SetSupportsOnHealthRestored(v bool) { - o.SupportsOnHealthRestored = &v -} - // GetSupportsOnApplicationUpdate returns the SupportsOnApplicationUpdate field value if set, zero value otherwise. func (o *NotificationResource) GetSupportsOnApplicationUpdate() bool { if o == nil || isNil(o.SupportsOnApplicationUpdate) { @@ -1223,38 +1057,6 @@ func (o *NotificationResource) SetSupportsOnApplicationUpdate(v bool) { o.SupportsOnApplicationUpdate = &v } -// GetSupportsOnManualInteractionRequired returns the SupportsOnManualInteractionRequired field value if set, zero value otherwise. -func (o *NotificationResource) GetSupportsOnManualInteractionRequired() bool { - if o == nil || isNil(o.SupportsOnManualInteractionRequired) { - var ret bool - return ret - } - return *o.SupportsOnManualInteractionRequired -} - -// GetSupportsOnManualInteractionRequiredOk returns a tuple with the SupportsOnManualInteractionRequired field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NotificationResource) GetSupportsOnManualInteractionRequiredOk() (*bool, bool) { - if o == nil || isNil(o.SupportsOnManualInteractionRequired) { - return nil, false - } - return o.SupportsOnManualInteractionRequired, true -} - -// HasSupportsOnManualInteractionRequired returns a boolean if a field has been set. -func (o *NotificationResource) HasSupportsOnManualInteractionRequired() bool { - if o != nil && !isNil(o.SupportsOnManualInteractionRequired) { - return true - } - - return false -} - -// SetSupportsOnManualInteractionRequired gets a reference to the given bool and assigns it to the SupportsOnManualInteractionRequired field. -func (o *NotificationResource) SetSupportsOnManualInteractionRequired(v bool) { - o.SupportsOnManualInteractionRequired = &v -} - // GetIncludeHealthWarnings returns the IncludeHealthWarnings field value if set, zero value otherwise. func (o *NotificationResource) GetIncludeHealthWarnings() bool { if o == nil || isNil(o.IncludeHealthWarnings) { @@ -1376,9 +1178,6 @@ func (o NotificationResource) MarshalJSON() ([]byte, error) { if !isNil(o.OnRename) { toSerialize["onRename"] = o.OnRename } - if !isNil(o.OnSeriesAdd) { - toSerialize["onSeriesAdd"] = o.OnSeriesAdd - } if !isNil(o.OnSeriesDelete) { toSerialize["onSeriesDelete"] = o.OnSeriesDelete } @@ -1391,15 +1190,9 @@ func (o NotificationResource) MarshalJSON() ([]byte, error) { if !isNil(o.OnHealthIssue) { toSerialize["onHealthIssue"] = o.OnHealthIssue } - if !isNil(o.OnHealthRestored) { - toSerialize["onHealthRestored"] = o.OnHealthRestored - } if !isNil(o.OnApplicationUpdate) { toSerialize["onApplicationUpdate"] = o.OnApplicationUpdate } - if !isNil(o.OnManualInteractionRequired) { - toSerialize["onManualInteractionRequired"] = o.OnManualInteractionRequired - } if !isNil(o.SupportsOnGrab) { toSerialize["supportsOnGrab"] = o.SupportsOnGrab } @@ -1412,9 +1205,6 @@ func (o NotificationResource) MarshalJSON() ([]byte, error) { if !isNil(o.SupportsOnRename) { toSerialize["supportsOnRename"] = o.SupportsOnRename } - if !isNil(o.SupportsOnSeriesAdd) { - toSerialize["supportsOnSeriesAdd"] = o.SupportsOnSeriesAdd - } if !isNil(o.SupportsOnSeriesDelete) { toSerialize["supportsOnSeriesDelete"] = o.SupportsOnSeriesDelete } @@ -1427,15 +1217,9 @@ func (o NotificationResource) MarshalJSON() ([]byte, error) { if !isNil(o.SupportsOnHealthIssue) { toSerialize["supportsOnHealthIssue"] = o.SupportsOnHealthIssue } - if !isNil(o.SupportsOnHealthRestored) { - toSerialize["supportsOnHealthRestored"] = o.SupportsOnHealthRestored - } if !isNil(o.SupportsOnApplicationUpdate) { toSerialize["supportsOnApplicationUpdate"] = o.SupportsOnApplicationUpdate } - if !isNil(o.SupportsOnManualInteractionRequired) { - toSerialize["supportsOnManualInteractionRequired"] = o.SupportsOnManualInteractionRequired - } if !isNil(o.IncludeHealthWarnings) { toSerialize["includeHealthWarnings"] = o.IncludeHealthWarnings } diff --git a/sonarr/model_queue_resource.go b/sonarr/model_queue_resource.go index 0acbf62..5de257a 100644 --- a/sonarr/model_queue_resource.go +++ b/sonarr/model_queue_resource.go @@ -20,7 +20,6 @@ type QueueResource struct { Id *int32 `json:"id,omitempty"` SeriesId NullableInt32 `json:"seriesId,omitempty"` EpisodeId NullableInt32 `json:"episodeId,omitempty"` - SeasonNumber NullableInt32 `json:"seasonNumber,omitempty"` Series *SeriesResource `json:"series,omitempty"` Episode *EpisodeResource `json:"episode,omitempty"` Languages []*Language `json:"languages,omitempty"` @@ -41,7 +40,6 @@ type QueueResource struct { DownloadClient NullableString `json:"downloadClient,omitempty"` Indexer NullableString `json:"indexer,omitempty"` OutputPath NullableString `json:"outputPath,omitempty"` - EpisodeHasFile *bool `json:"episodeHasFile,omitempty"` } // NewQueueResource instantiates a new QueueResource object @@ -177,48 +175,6 @@ func (o *QueueResource) UnsetEpisodeId() { o.EpisodeId.Unset() } -// GetSeasonNumber returns the SeasonNumber field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *QueueResource) GetSeasonNumber() int32 { - if o == nil || isNil(o.SeasonNumber.Get()) { - var ret int32 - return ret - } - return *o.SeasonNumber.Get() -} - -// GetSeasonNumberOk returns a tuple with the SeasonNumber field value if set, nil otherwise -// and a boolean to check if the value has been set. -// NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *QueueResource) GetSeasonNumberOk() (*int32, bool) { - if o == nil { - return nil, false - } - return o.SeasonNumber.Get(), o.SeasonNumber.IsSet() -} - -// HasSeasonNumber returns a boolean if a field has been set. -func (o *QueueResource) HasSeasonNumber() bool { - if o != nil && o.SeasonNumber.IsSet() { - return true - } - - return false -} - -// SetSeasonNumber gets a reference to the given NullableInt32 and assigns it to the SeasonNumber field. -func (o *QueueResource) SetSeasonNumber(v int32) { - o.SeasonNumber.Set(&v) -} -// SetSeasonNumberNil sets the value for SeasonNumber to be an explicit nil -func (o *QueueResource) SetSeasonNumberNil() { - o.SeasonNumber.Set(nil) -} - -// UnsetSeasonNumber ensures that no value is present for SeasonNumber, not even an explicit nil -func (o *QueueResource) UnsetSeasonNumber() { - o.SeasonNumber.Unset() -} - // GetSeries returns the Series field value if set, zero value otherwise. func (o *QueueResource) GetSeries() SeriesResource { if o == nil || isNil(o.Series) { @@ -942,38 +898,6 @@ func (o *QueueResource) UnsetOutputPath() { o.OutputPath.Unset() } -// GetEpisodeHasFile returns the EpisodeHasFile field value if set, zero value otherwise. -func (o *QueueResource) GetEpisodeHasFile() bool { - if o == nil || isNil(o.EpisodeHasFile) { - var ret bool - return ret - } - return *o.EpisodeHasFile -} - -// GetEpisodeHasFileOk returns a tuple with the EpisodeHasFile field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *QueueResource) GetEpisodeHasFileOk() (*bool, bool) { - if o == nil || isNil(o.EpisodeHasFile) { - return nil, false - } - return o.EpisodeHasFile, true -} - -// HasEpisodeHasFile returns a boolean if a field has been set. -func (o *QueueResource) HasEpisodeHasFile() bool { - if o != nil && !isNil(o.EpisodeHasFile) { - return true - } - - return false -} - -// SetEpisodeHasFile gets a reference to the given bool and assigns it to the EpisodeHasFile field. -func (o *QueueResource) SetEpisodeHasFile(v bool) { - o.EpisodeHasFile = &v -} - func (o QueueResource) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} if !isNil(o.Id) { @@ -985,9 +909,6 @@ func (o QueueResource) MarshalJSON() ([]byte, error) { if o.EpisodeId.IsSet() { toSerialize["episodeId"] = o.EpisodeId.Get() } - if o.SeasonNumber.IsSet() { - toSerialize["seasonNumber"] = o.SeasonNumber.Get() - } if !isNil(o.Series) { toSerialize["series"] = o.Series } @@ -1048,9 +969,6 @@ func (o QueueResource) MarshalJSON() ([]byte, error) { if o.OutputPath.IsSet() { toSerialize["outputPath"] = o.OutputPath.Get() } - if !isNil(o.EpisodeHasFile) { - toSerialize["episodeHasFile"] = o.EpisodeHasFile - } return json.Marshal(toSerialize) } diff --git a/sonarr/model_release_episode_resource.go b/sonarr/model_release_episode_resource.go deleted file mode 100644 index 7744797..0000000 --- a/sonarr/model_release_episode_resource.go +++ /dev/null @@ -1,279 +0,0 @@ -/* -Sonarr - -Sonarr API docs - -API version: 3.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package sonarr - -import ( - "encoding/json" -) - -// ReleaseEpisodeResource struct for ReleaseEpisodeResource -type ReleaseEpisodeResource struct { - Id *int32 `json:"id,omitempty"` - SeasonNumber *int32 `json:"seasonNumber,omitempty"` - EpisodeNumber *int32 `json:"episodeNumber,omitempty"` - AbsoluteEpisodeNumber NullableInt32 `json:"absoluteEpisodeNumber,omitempty"` - Title NullableString `json:"title,omitempty"` -} - -// NewReleaseEpisodeResource instantiates a new ReleaseEpisodeResource 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 -func NewReleaseEpisodeResource() *ReleaseEpisodeResource { - this := ReleaseEpisodeResource{} - return &this -} - -// NewReleaseEpisodeResourceWithDefaults instantiates a new ReleaseEpisodeResource 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 -func NewReleaseEpisodeResourceWithDefaults() *ReleaseEpisodeResource { - this := ReleaseEpisodeResource{} - return &this -} - -// GetId returns the Id field value if set, zero value otherwise. -func (o *ReleaseEpisodeResource) GetId() int32 { - if o == nil || isNil(o.Id) { - var ret int32 - return ret - } - return *o.Id -} - -// GetIdOk returns a tuple with the Id field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ReleaseEpisodeResource) GetIdOk() (*int32, bool) { - if o == nil || isNil(o.Id) { - return nil, false - } - return o.Id, true -} - -// HasId returns a boolean if a field has been set. -func (o *ReleaseEpisodeResource) HasId() bool { - if o != nil && !isNil(o.Id) { - return true - } - - return false -} - -// SetId gets a reference to the given int32 and assigns it to the Id field. -func (o *ReleaseEpisodeResource) SetId(v int32) { - o.Id = &v -} - -// GetSeasonNumber returns the SeasonNumber field value if set, zero value otherwise. -func (o *ReleaseEpisodeResource) GetSeasonNumber() int32 { - if o == nil || isNil(o.SeasonNumber) { - var ret int32 - return ret - } - return *o.SeasonNumber -} - -// GetSeasonNumberOk returns a tuple with the SeasonNumber field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ReleaseEpisodeResource) GetSeasonNumberOk() (*int32, bool) { - if o == nil || isNil(o.SeasonNumber) { - return nil, false - } - return o.SeasonNumber, true -} - -// HasSeasonNumber returns a boolean if a field has been set. -func (o *ReleaseEpisodeResource) HasSeasonNumber() bool { - if o != nil && !isNil(o.SeasonNumber) { - return true - } - - return false -} - -// SetSeasonNumber gets a reference to the given int32 and assigns it to the SeasonNumber field. -func (o *ReleaseEpisodeResource) SetSeasonNumber(v int32) { - o.SeasonNumber = &v -} - -// GetEpisodeNumber returns the EpisodeNumber field value if set, zero value otherwise. -func (o *ReleaseEpisodeResource) GetEpisodeNumber() int32 { - if o == nil || isNil(o.EpisodeNumber) { - var ret int32 - return ret - } - return *o.EpisodeNumber -} - -// GetEpisodeNumberOk returns a tuple with the EpisodeNumber field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ReleaseEpisodeResource) GetEpisodeNumberOk() (*int32, bool) { - if o == nil || isNil(o.EpisodeNumber) { - return nil, false - } - return o.EpisodeNumber, true -} - -// HasEpisodeNumber returns a boolean if a field has been set. -func (o *ReleaseEpisodeResource) HasEpisodeNumber() bool { - if o != nil && !isNil(o.EpisodeNumber) { - return true - } - - return false -} - -// SetEpisodeNumber gets a reference to the given int32 and assigns it to the EpisodeNumber field. -func (o *ReleaseEpisodeResource) SetEpisodeNumber(v int32) { - o.EpisodeNumber = &v -} - -// GetAbsoluteEpisodeNumber returns the AbsoluteEpisodeNumber field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *ReleaseEpisodeResource) GetAbsoluteEpisodeNumber() int32 { - if o == nil || isNil(o.AbsoluteEpisodeNumber.Get()) { - var ret int32 - return ret - } - return *o.AbsoluteEpisodeNumber.Get() -} - -// GetAbsoluteEpisodeNumberOk returns a tuple with the AbsoluteEpisodeNumber field value if set, nil otherwise -// and a boolean to check if the value has been set. -// NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *ReleaseEpisodeResource) GetAbsoluteEpisodeNumberOk() (*int32, bool) { - if o == nil { - return nil, false - } - return o.AbsoluteEpisodeNumber.Get(), o.AbsoluteEpisodeNumber.IsSet() -} - -// HasAbsoluteEpisodeNumber returns a boolean if a field has been set. -func (o *ReleaseEpisodeResource) HasAbsoluteEpisodeNumber() bool { - if o != nil && o.AbsoluteEpisodeNumber.IsSet() { - return true - } - - return false -} - -// SetAbsoluteEpisodeNumber gets a reference to the given NullableInt32 and assigns it to the AbsoluteEpisodeNumber field. -func (o *ReleaseEpisodeResource) SetAbsoluteEpisodeNumber(v int32) { - o.AbsoluteEpisodeNumber.Set(&v) -} -// SetAbsoluteEpisodeNumberNil sets the value for AbsoluteEpisodeNumber to be an explicit nil -func (o *ReleaseEpisodeResource) SetAbsoluteEpisodeNumberNil() { - o.AbsoluteEpisodeNumber.Set(nil) -} - -// UnsetAbsoluteEpisodeNumber ensures that no value is present for AbsoluteEpisodeNumber, not even an explicit nil -func (o *ReleaseEpisodeResource) UnsetAbsoluteEpisodeNumber() { - o.AbsoluteEpisodeNumber.Unset() -} - -// GetTitle returns the Title field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *ReleaseEpisodeResource) GetTitle() string { - if o == nil || isNil(o.Title.Get()) { - var ret string - return ret - } - return *o.Title.Get() -} - -// GetTitleOk returns a tuple with the Title field value if set, nil otherwise -// and a boolean to check if the value has been set. -// NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *ReleaseEpisodeResource) GetTitleOk() (*string, bool) { - if o == nil { - return nil, false - } - return o.Title.Get(), o.Title.IsSet() -} - -// HasTitle returns a boolean if a field has been set. -func (o *ReleaseEpisodeResource) HasTitle() bool { - if o != nil && o.Title.IsSet() { - return true - } - - return false -} - -// SetTitle gets a reference to the given NullableString and assigns it to the Title field. -func (o *ReleaseEpisodeResource) SetTitle(v string) { - o.Title.Set(&v) -} -// SetTitleNil sets the value for Title to be an explicit nil -func (o *ReleaseEpisodeResource) SetTitleNil() { - o.Title.Set(nil) -} - -// UnsetTitle ensures that no value is present for Title, not even an explicit nil -func (o *ReleaseEpisodeResource) UnsetTitle() { - o.Title.Unset() -} - -func (o ReleaseEpisodeResource) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if !isNil(o.Id) { - toSerialize["id"] = o.Id - } - if !isNil(o.SeasonNumber) { - toSerialize["seasonNumber"] = o.SeasonNumber - } - if !isNil(o.EpisodeNumber) { - toSerialize["episodeNumber"] = o.EpisodeNumber - } - if o.AbsoluteEpisodeNumber.IsSet() { - toSerialize["absoluteEpisodeNumber"] = o.AbsoluteEpisodeNumber.Get() - } - if o.Title.IsSet() { - toSerialize["title"] = o.Title.Get() - } - return json.Marshal(toSerialize) -} - -type NullableReleaseEpisodeResource struct { - value *ReleaseEpisodeResource - isSet bool -} - -func (v NullableReleaseEpisodeResource) Get() *ReleaseEpisodeResource { - return v.value -} - -func (v *NullableReleaseEpisodeResource) Set(val *ReleaseEpisodeResource) { - v.value = val - v.isSet = true -} - -func (v NullableReleaseEpisodeResource) IsSet() bool { - return v.isSet -} - -func (v *NullableReleaseEpisodeResource) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableReleaseEpisodeResource(val *ReleaseEpisodeResource) *NullableReleaseEpisodeResource { - return &NullableReleaseEpisodeResource{value: val, isSet: true} -} - -func (v NullableReleaseEpisodeResource) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableReleaseEpisodeResource) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/sonarr/model_release_resource.go b/sonarr/model_release_resource.go index 1eb3d5e..5e451f2 100644 --- a/sonarr/model_release_resource.go +++ b/sonarr/model_release_resource.go @@ -43,8 +43,6 @@ type ReleaseResource struct { MappedSeasonNumber NullableInt32 `json:"mappedSeasonNumber,omitempty"` MappedEpisodeNumbers []*int32 `json:"mappedEpisodeNumbers,omitempty"` MappedAbsoluteEpisodeNumbers []*int32 `json:"mappedAbsoluteEpisodeNumbers,omitempty"` - MappedSeriesId NullableInt32 `json:"mappedSeriesId,omitempty"` - MappedEpisodeInfo []*ReleaseEpisodeResource `json:"mappedEpisodeInfo,omitempty"` Approved *bool `json:"approved,omitempty"` TemporarilyRejected *bool `json:"temporarilyRejected,omitempty"` Rejected *bool `json:"rejected,omitempty"` @@ -72,9 +70,6 @@ type ReleaseResource struct { Special *bool `json:"special,omitempty"` SeriesId NullableInt32 `json:"seriesId,omitempty"` EpisodeId NullableInt32 `json:"episodeId,omitempty"` - EpisodeIds []*int32 `json:"episodeIds,omitempty"` - DownloadClientId NullableInt32 `json:"downloadClientId,omitempty"` - ShouldOverride NullableBool `json:"shouldOverride,omitempty"` } // NewReleaseResource instantiates a new ReleaseResource object @@ -1021,81 +1016,6 @@ func (o *ReleaseResource) SetMappedAbsoluteEpisodeNumbers(v []*int32) { o.MappedAbsoluteEpisodeNumbers = v } -// GetMappedSeriesId returns the MappedSeriesId field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *ReleaseResource) GetMappedSeriesId() int32 { - if o == nil || isNil(o.MappedSeriesId.Get()) { - var ret int32 - return ret - } - return *o.MappedSeriesId.Get() -} - -// GetMappedSeriesIdOk returns a tuple with the MappedSeriesId field value if set, nil otherwise -// and a boolean to check if the value has been set. -// NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *ReleaseResource) GetMappedSeriesIdOk() (*int32, bool) { - if o == nil { - return nil, false - } - return o.MappedSeriesId.Get(), o.MappedSeriesId.IsSet() -} - -// HasMappedSeriesId returns a boolean if a field has been set. -func (o *ReleaseResource) HasMappedSeriesId() bool { - if o != nil && o.MappedSeriesId.IsSet() { - return true - } - - return false -} - -// SetMappedSeriesId gets a reference to the given NullableInt32 and assigns it to the MappedSeriesId field. -func (o *ReleaseResource) SetMappedSeriesId(v int32) { - o.MappedSeriesId.Set(&v) -} -// SetMappedSeriesIdNil sets the value for MappedSeriesId to be an explicit nil -func (o *ReleaseResource) SetMappedSeriesIdNil() { - o.MappedSeriesId.Set(nil) -} - -// UnsetMappedSeriesId ensures that no value is present for MappedSeriesId, not even an explicit nil -func (o *ReleaseResource) UnsetMappedSeriesId() { - o.MappedSeriesId.Unset() -} - -// GetMappedEpisodeInfo returns the MappedEpisodeInfo field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *ReleaseResource) GetMappedEpisodeInfo() []*ReleaseEpisodeResource { - if o == nil { - var ret []*ReleaseEpisodeResource - return ret - } - return o.MappedEpisodeInfo -} - -// GetMappedEpisodeInfoOk returns a tuple with the MappedEpisodeInfo field value if set, nil otherwise -// and a boolean to check if the value has been set. -// NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *ReleaseResource) GetMappedEpisodeInfoOk() ([]*ReleaseEpisodeResource, bool) { - if o == nil || isNil(o.MappedEpisodeInfo) { - return nil, false - } - return o.MappedEpisodeInfo, true -} - -// HasMappedEpisodeInfo returns a boolean if a field has been set. -func (o *ReleaseResource) HasMappedEpisodeInfo() bool { - if o != nil && isNil(o.MappedEpisodeInfo) { - return true - } - - return false -} - -// SetMappedEpisodeInfo gets a reference to the given []ReleaseEpisodeResource and assigns it to the MappedEpisodeInfo field. -func (o *ReleaseResource) SetMappedEpisodeInfo(v []*ReleaseEpisodeResource) { - o.MappedEpisodeInfo = v -} - // GetApproved returns the Approved field value if set, zero value otherwise. func (o *ReleaseResource) GetApproved() bool { if o == nil || isNil(o.Approved) { @@ -2052,123 +1972,6 @@ func (o *ReleaseResource) UnsetEpisodeId() { o.EpisodeId.Unset() } -// GetEpisodeIds returns the EpisodeIds field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *ReleaseResource) GetEpisodeIds() []*int32 { - if o == nil { - var ret []*int32 - return ret - } - return o.EpisodeIds -} - -// GetEpisodeIdsOk returns a tuple with the EpisodeIds field value if set, nil otherwise -// and a boolean to check if the value has been set. -// NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *ReleaseResource) GetEpisodeIdsOk() ([]*int32, bool) { - if o == nil || isNil(o.EpisodeIds) { - return nil, false - } - return o.EpisodeIds, true -} - -// HasEpisodeIds returns a boolean if a field has been set. -func (o *ReleaseResource) HasEpisodeIds() bool { - if o != nil && isNil(o.EpisodeIds) { - return true - } - - return false -} - -// SetEpisodeIds gets a reference to the given []int32 and assigns it to the EpisodeIds field. -func (o *ReleaseResource) SetEpisodeIds(v []*int32) { - o.EpisodeIds = v -} - -// GetDownloadClientId returns the DownloadClientId field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *ReleaseResource) GetDownloadClientId() int32 { - if o == nil || isNil(o.DownloadClientId.Get()) { - var ret int32 - return ret - } - return *o.DownloadClientId.Get() -} - -// GetDownloadClientIdOk returns a tuple with the DownloadClientId field value if set, nil otherwise -// and a boolean to check if the value has been set. -// NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *ReleaseResource) GetDownloadClientIdOk() (*int32, bool) { - if o == nil { - return nil, false - } - return o.DownloadClientId.Get(), o.DownloadClientId.IsSet() -} - -// HasDownloadClientId returns a boolean if a field has been set. -func (o *ReleaseResource) HasDownloadClientId() bool { - if o != nil && o.DownloadClientId.IsSet() { - return true - } - - return false -} - -// SetDownloadClientId gets a reference to the given NullableInt32 and assigns it to the DownloadClientId field. -func (o *ReleaseResource) SetDownloadClientId(v int32) { - o.DownloadClientId.Set(&v) -} -// SetDownloadClientIdNil sets the value for DownloadClientId to be an explicit nil -func (o *ReleaseResource) SetDownloadClientIdNil() { - o.DownloadClientId.Set(nil) -} - -// UnsetDownloadClientId ensures that no value is present for DownloadClientId, not even an explicit nil -func (o *ReleaseResource) UnsetDownloadClientId() { - o.DownloadClientId.Unset() -} - -// GetShouldOverride returns the ShouldOverride field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *ReleaseResource) GetShouldOverride() bool { - if o == nil || isNil(o.ShouldOverride.Get()) { - var ret bool - return ret - } - return *o.ShouldOverride.Get() -} - -// GetShouldOverrideOk returns a tuple with the ShouldOverride field value if set, nil otherwise -// and a boolean to check if the value has been set. -// NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *ReleaseResource) GetShouldOverrideOk() (*bool, bool) { - if o == nil { - return nil, false - } - return o.ShouldOverride.Get(), o.ShouldOverride.IsSet() -} - -// HasShouldOverride returns a boolean if a field has been set. -func (o *ReleaseResource) HasShouldOverride() bool { - if o != nil && o.ShouldOverride.IsSet() { - return true - } - - return false -} - -// SetShouldOverride gets a reference to the given NullableBool and assigns it to the ShouldOverride field. -func (o *ReleaseResource) SetShouldOverride(v bool) { - o.ShouldOverride.Set(&v) -} -// SetShouldOverrideNil sets the value for ShouldOverride to be an explicit nil -func (o *ReleaseResource) SetShouldOverrideNil() { - o.ShouldOverride.Set(nil) -} - -// UnsetShouldOverride ensures that no value is present for ShouldOverride, not even an explicit nil -func (o *ReleaseResource) UnsetShouldOverride() { - o.ShouldOverride.Unset() -} - func (o ReleaseResource) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} if !isNil(o.Id) { @@ -2249,12 +2052,6 @@ func (o ReleaseResource) MarshalJSON() ([]byte, error) { if o.MappedAbsoluteEpisodeNumbers != nil { toSerialize["mappedAbsoluteEpisodeNumbers"] = o.MappedAbsoluteEpisodeNumbers } - if o.MappedSeriesId.IsSet() { - toSerialize["mappedSeriesId"] = o.MappedSeriesId.Get() - } - if o.MappedEpisodeInfo != nil { - toSerialize["mappedEpisodeInfo"] = o.MappedEpisodeInfo - } if !isNil(o.Approved) { toSerialize["approved"] = o.Approved } @@ -2336,15 +2133,6 @@ func (o ReleaseResource) MarshalJSON() ([]byte, error) { if o.EpisodeId.IsSet() { toSerialize["episodeId"] = o.EpisodeId.Get() } - if o.EpisodeIds != nil { - toSerialize["episodeIds"] = o.EpisodeIds - } - if o.DownloadClientId.IsSet() { - toSerialize["downloadClientId"] = o.DownloadClientId.Get() - } - if o.ShouldOverride.IsSet() { - toSerialize["shouldOverride"] = o.ShouldOverride.Get() - } return json.Marshal(toSerialize) }