diff --git a/README.md b/README.md index 9809ddd..87e1ec7 100644 --- a/README.md +++ b/README.md @@ -85,7 +85,7 @@ Class | Method | HTTP request | Description *AlbumApi* | [**PutApiV1AlbumMonitor**](docs/AlbumApi.md#putapiv1albummonitor) | **Put** /api/v1/album/monitor | *AlbumApi* | [**UpdateApiV1Album**](docs/AlbumApi.md#updateapiv1album) | **Put** /api/v1/album/{id} | *AlbumLookupApi* | [**GetApiV1AlbumLookup**](docs/AlbumLookupApi.md#getapiv1albumlookup) | **Get** /api/v1/album/lookup | -*AlbumStudioApi* | [**CreateApiV1Albumstudio**](docs/AlbumStudioApi.md#createapiv1albumstudio) | **Post** /api/v1/albumstudio | +*AlbumStudioApi* | [**CreateApiV1AlbumStudio**](docs/AlbumStudioApi.md#createapiv1albumstudio) | **Post** /api/v1/albumstudio | *ApiInfoApi* | [**GetApi**](docs/ApiInfoApi.md#getapi) | **Get** /api | *ArtistApi* | [**CreateApiV1Artist**](docs/ArtistApi.md#createapiv1artist) | **Post** /api/v1/artist | *ArtistApi* | [**DeleteApiV1Artist**](docs/ArtistApi.md#deleteapiv1artist) | **Delete** /api/v1/artist/{id} | @@ -111,35 +111,35 @@ Class | Method | HTTP request | Description *CommandApi* | [**DeleteApiV1Command**](docs/CommandApi.md#deleteapiv1command) | **Delete** /api/v1/command/{id} | *CommandApi* | [**GetApiV1CommandById**](docs/CommandApi.md#getapiv1commandbyid) | **Get** /api/v1/command/{id} | *CommandApi* | [**ListApiV1Command**](docs/CommandApi.md#listapiv1command) | **Get** /api/v1/command | -*CustomFilterApi* | [**CreateApiV1Customfilter**](docs/CustomFilterApi.md#createapiv1customfilter) | **Post** /api/v1/customfilter | -*CustomFilterApi* | [**DeleteApiV1Customfilter**](docs/CustomFilterApi.md#deleteapiv1customfilter) | **Delete** /api/v1/customfilter/{id} | -*CustomFilterApi* | [**GetApiV1CustomfilterById**](docs/CustomFilterApi.md#getapiv1customfilterbyid) | **Get** /api/v1/customfilter/{id} | -*CustomFilterApi* | [**ListApiV1Customfilter**](docs/CustomFilterApi.md#listapiv1customfilter) | **Get** /api/v1/customfilter | -*CustomFilterApi* | [**UpdateApiV1Customfilter**](docs/CustomFilterApi.md#updateapiv1customfilter) | **Put** /api/v1/customfilter/{id} | +*CustomFilterApi* | [**CreateApiV1CustomFilter**](docs/CustomFilterApi.md#createapiv1customfilter) | **Post** /api/v1/customfilter | +*CustomFilterApi* | [**DeleteApiV1CustomFilter**](docs/CustomFilterApi.md#deleteapiv1customfilter) | **Delete** /api/v1/customfilter/{id} | +*CustomFilterApi* | [**GetApiV1CustomFilterById**](docs/CustomFilterApi.md#getapiv1customfilterbyid) | **Get** /api/v1/customfilter/{id} | +*CustomFilterApi* | [**ListApiV1CustomFilter**](docs/CustomFilterApi.md#listapiv1customfilter) | **Get** /api/v1/customfilter | +*CustomFilterApi* | [**UpdateApiV1CustomFilter**](docs/CustomFilterApi.md#updateapiv1customfilter) | **Put** /api/v1/customfilter/{id} | *CutoffApi* | [**GetApiV1WantedCutoff**](docs/CutoffApi.md#getapiv1wantedcutoff) | **Get** /api/v1/wanted/cutoff | *CutoffApi* | [**GetApiV1WantedCutoffById**](docs/CutoffApi.md#getapiv1wantedcutoffbyid) | **Get** /api/v1/wanted/cutoff/{id} | -*DelayProfileApi* | [**CreateApiV1Delayprofile**](docs/DelayProfileApi.md#createapiv1delayprofile) | **Post** /api/v1/delayprofile | -*DelayProfileApi* | [**DeleteApiV1Delayprofile**](docs/DelayProfileApi.md#deleteapiv1delayprofile) | **Delete** /api/v1/delayprofile/{id} | -*DelayProfileApi* | [**GetApiV1DelayprofileById**](docs/DelayProfileApi.md#getapiv1delayprofilebyid) | **Get** /api/v1/delayprofile/{id} | -*DelayProfileApi* | [**ListApiV1Delayprofile**](docs/DelayProfileApi.md#listapiv1delayprofile) | **Get** /api/v1/delayprofile | -*DelayProfileApi* | [**UpdateApiV1Delayprofile**](docs/DelayProfileApi.md#updateapiv1delayprofile) | **Put** /api/v1/delayprofile/{id} | -*DelayProfileApi* | [**UpdateApiV1DelayprofileReorder**](docs/DelayProfileApi.md#updateapiv1delayprofilereorder) | **Put** /api/v1/delayprofile/reorder/{id} | -*DiskSpaceApi* | [**ListApiV1Diskspace**](docs/DiskSpaceApi.md#listapiv1diskspace) | **Get** /api/v1/diskspace | -*DownloadClientApi* | [**CreateApiV1Downloadclient**](docs/DownloadClientApi.md#createapiv1downloadclient) | **Post** /api/v1/downloadclient | -*DownloadClientApi* | [**CreateApiV1DownloadclientActionByName**](docs/DownloadClientApi.md#createapiv1downloadclientactionbyname) | **Post** /api/v1/downloadclient/action/{name} | -*DownloadClientApi* | [**DeleteApiV1Downloadclient**](docs/DownloadClientApi.md#deleteapiv1downloadclient) | **Delete** /api/v1/downloadclient/{id} | -*DownloadClientApi* | [**GetApiV1DownloadclientById**](docs/DownloadClientApi.md#getapiv1downloadclientbyid) | **Get** /api/v1/downloadclient/{id} | -*DownloadClientApi* | [**ListApiV1Downloadclient**](docs/DownloadClientApi.md#listapiv1downloadclient) | **Get** /api/v1/downloadclient | -*DownloadClientApi* | [**ListApiV1DownloadclientSchema**](docs/DownloadClientApi.md#listapiv1downloadclientschema) | **Get** /api/v1/downloadclient/schema | -*DownloadClientApi* | [**TestApiV1Downloadclient**](docs/DownloadClientApi.md#testapiv1downloadclient) | **Post** /api/v1/downloadclient/test | -*DownloadClientApi* | [**TestallApiV1Downloadclient**](docs/DownloadClientApi.md#testallapiv1downloadclient) | **Post** /api/v1/downloadclient/testall | -*DownloadClientApi* | [**UpdateApiV1Downloadclient**](docs/DownloadClientApi.md#updateapiv1downloadclient) | **Put** /api/v1/downloadclient/{id} | +*DelayProfileApi* | [**CreateApiV1DelayProfile**](docs/DelayProfileApi.md#createapiv1delayprofile) | **Post** /api/v1/delayprofile | +*DelayProfileApi* | [**DeleteApiV1DelayProfile**](docs/DelayProfileApi.md#deleteapiv1delayprofile) | **Delete** /api/v1/delayprofile/{id} | +*DelayProfileApi* | [**GetApiV1DelayProfileById**](docs/DelayProfileApi.md#getapiv1delayprofilebyid) | **Get** /api/v1/delayprofile/{id} | +*DelayProfileApi* | [**ListApiV1DelayProfile**](docs/DelayProfileApi.md#listapiv1delayprofile) | **Get** /api/v1/delayprofile | +*DelayProfileApi* | [**UpdateApiV1DelayProfile**](docs/DelayProfileApi.md#updateapiv1delayprofile) | **Put** /api/v1/delayprofile/{id} | +*DelayProfileApi* | [**UpdateApiV1DelayProfileReorder**](docs/DelayProfileApi.md#updateapiv1delayprofilereorder) | **Put** /api/v1/delayprofile/reorder/{id} | +*DiskSpaceApi* | [**ListApiV1DiskSpace**](docs/DiskSpaceApi.md#listapiv1diskspace) | **Get** /api/v1/diskspace | +*DownloadClientApi* | [**CreateApiV1DownloadClient**](docs/DownloadClientApi.md#createapiv1downloadclient) | **Post** /api/v1/downloadclient | +*DownloadClientApi* | [**CreateApiV1DownloadClientActionByName**](docs/DownloadClientApi.md#createapiv1downloadclientactionbyname) | **Post** /api/v1/downloadclient/action/{name} | +*DownloadClientApi* | [**DeleteApiV1DownloadClient**](docs/DownloadClientApi.md#deleteapiv1downloadclient) | **Delete** /api/v1/downloadclient/{id} | +*DownloadClientApi* | [**GetApiV1DownloadClientById**](docs/DownloadClientApi.md#getapiv1downloadclientbyid) | **Get** /api/v1/downloadclient/{id} | +*DownloadClientApi* | [**ListApiV1DownloadClient**](docs/DownloadClientApi.md#listapiv1downloadclient) | **Get** /api/v1/downloadclient | +*DownloadClientApi* | [**ListApiV1DownloadClientSchema**](docs/DownloadClientApi.md#listapiv1downloadclientschema) | **Get** /api/v1/downloadclient/schema | +*DownloadClientApi* | [**TestApiV1DownloadClient**](docs/DownloadClientApi.md#testapiv1downloadclient) | **Post** /api/v1/downloadclient/test | +*DownloadClientApi* | [**TestallApiV1DownloadClient**](docs/DownloadClientApi.md#testallapiv1downloadclient) | **Post** /api/v1/downloadclient/testall | +*DownloadClientApi* | [**UpdateApiV1DownloadClient**](docs/DownloadClientApi.md#updateapiv1downloadclient) | **Put** /api/v1/downloadclient/{id} | *DownloadClientConfigApi* | [**GetApiV1ConfigDownloadclient**](docs/DownloadClientConfigApi.md#getapiv1configdownloadclient) | **Get** /api/v1/config/downloadclient | *DownloadClientConfigApi* | [**GetApiV1ConfigDownloadclientById**](docs/DownloadClientConfigApi.md#getapiv1configdownloadclientbyid) | **Get** /api/v1/config/downloadclient/{id} | *DownloadClientConfigApi* | [**UpdateApiV1ConfigDownloadclient**](docs/DownloadClientConfigApi.md#updateapiv1configdownloadclient) | **Put** /api/v1/config/downloadclient/{id} | -*FileSystemApi* | [**GetApiV1Filesystem**](docs/FileSystemApi.md#getapiv1filesystem) | **Get** /api/v1/filesystem | -*FileSystemApi* | [**GetApiV1FilesystemMediafiles**](docs/FileSystemApi.md#getapiv1filesystemmediafiles) | **Get** /api/v1/filesystem/mediafiles | -*FileSystemApi* | [**GetApiV1FilesystemType**](docs/FileSystemApi.md#getapiv1filesystemtype) | **Get** /api/v1/filesystem/type | +*FileSystemApi* | [**GetApiV1FileSystem**](docs/FileSystemApi.md#getapiv1filesystem) | **Get** /api/v1/filesystem | +*FileSystemApi* | [**GetApiV1FileSystemMediafiles**](docs/FileSystemApi.md#getapiv1filesystemmediafiles) | **Get** /api/v1/filesystem/mediafiles | +*FileSystemApi* | [**GetApiV1FileSystemType**](docs/FileSystemApi.md#getapiv1filesystemtype) | **Get** /api/v1/filesystem/type | *HealthApi* | [**GetApiV1HealthById**](docs/HealthApi.md#getapiv1healthbyid) | **Get** /api/v1/health/{id} | *HealthApi* | [**ListApiV1Health**](docs/HealthApi.md#listapiv1health) | **Get** /api/v1/health | *HistoryApi* | [**CreateApiV1HistoryFailedById**](docs/HistoryApi.md#createapiv1historyfailedbyid) | **Post** /api/v1/history/failed/{id} | @@ -149,20 +149,20 @@ Class | Method | HTTP request | Description *HostConfigApi* | [**GetApiV1ConfigHost**](docs/HostConfigApi.md#getapiv1confighost) | **Get** /api/v1/config/host | *HostConfigApi* | [**GetApiV1ConfigHostById**](docs/HostConfigApi.md#getapiv1confighostbyid) | **Get** /api/v1/config/host/{id} | *HostConfigApi* | [**UpdateApiV1ConfigHost**](docs/HostConfigApi.md#updateapiv1confighost) | **Put** /api/v1/config/host/{id} | -*ImportListApi* | [**CreateApiV1Importlist**](docs/ImportListApi.md#createapiv1importlist) | **Post** /api/v1/importlist | -*ImportListApi* | [**CreateApiV1ImportlistActionByName**](docs/ImportListApi.md#createapiv1importlistactionbyname) | **Post** /api/v1/importlist/action/{name} | -*ImportListApi* | [**DeleteApiV1Importlist**](docs/ImportListApi.md#deleteapiv1importlist) | **Delete** /api/v1/importlist/{id} | -*ImportListApi* | [**GetApiV1ImportlistById**](docs/ImportListApi.md#getapiv1importlistbyid) | **Get** /api/v1/importlist/{id} | -*ImportListApi* | [**ListApiV1Importlist**](docs/ImportListApi.md#listapiv1importlist) | **Get** /api/v1/importlist | -*ImportListApi* | [**ListApiV1ImportlistSchema**](docs/ImportListApi.md#listapiv1importlistschema) | **Get** /api/v1/importlist/schema | -*ImportListApi* | [**TestApiV1Importlist**](docs/ImportListApi.md#testapiv1importlist) | **Post** /api/v1/importlist/test | -*ImportListApi* | [**TestallApiV1Importlist**](docs/ImportListApi.md#testallapiv1importlist) | **Post** /api/v1/importlist/testall | -*ImportListApi* | [**UpdateApiV1Importlist**](docs/ImportListApi.md#updateapiv1importlist) | **Put** /api/v1/importlist/{id} | -*ImportListExclusionApi* | [**CreateApiV1Importlistexclusion**](docs/ImportListExclusionApi.md#createapiv1importlistexclusion) | **Post** /api/v1/importlistexclusion | -*ImportListExclusionApi* | [**DeleteApiV1Importlistexclusion**](docs/ImportListExclusionApi.md#deleteapiv1importlistexclusion) | **Delete** /api/v1/importlistexclusion/{id} | -*ImportListExclusionApi* | [**GetApiV1ImportlistexclusionById**](docs/ImportListExclusionApi.md#getapiv1importlistexclusionbyid) | **Get** /api/v1/importlistexclusion/{id} | -*ImportListExclusionApi* | [**ListApiV1Importlistexclusion**](docs/ImportListExclusionApi.md#listapiv1importlistexclusion) | **Get** /api/v1/importlistexclusion | -*ImportListExclusionApi* | [**UpdateApiV1Importlistexclusion**](docs/ImportListExclusionApi.md#updateapiv1importlistexclusion) | **Put** /api/v1/importlistexclusion/{id} | +*ImportListApi* | [**CreateApiV1ImportList**](docs/ImportListApi.md#createapiv1importlist) | **Post** /api/v1/importlist | +*ImportListApi* | [**CreateApiV1ImportListActionByName**](docs/ImportListApi.md#createapiv1importlistactionbyname) | **Post** /api/v1/importlist/action/{name} | +*ImportListApi* | [**DeleteApiV1ImportList**](docs/ImportListApi.md#deleteapiv1importlist) | **Delete** /api/v1/importlist/{id} | +*ImportListApi* | [**GetApiV1ImportListById**](docs/ImportListApi.md#getapiv1importlistbyid) | **Get** /api/v1/importlist/{id} | +*ImportListApi* | [**ListApiV1ImportList**](docs/ImportListApi.md#listapiv1importlist) | **Get** /api/v1/importlist | +*ImportListApi* | [**ListApiV1ImportListSchema**](docs/ImportListApi.md#listapiv1importlistschema) | **Get** /api/v1/importlist/schema | +*ImportListApi* | [**TestApiV1ImportList**](docs/ImportListApi.md#testapiv1importlist) | **Post** /api/v1/importlist/test | +*ImportListApi* | [**TestallApiV1ImportList**](docs/ImportListApi.md#testallapiv1importlist) | **Post** /api/v1/importlist/testall | +*ImportListApi* | [**UpdateApiV1ImportList**](docs/ImportListApi.md#updateapiv1importlist) | **Put** /api/v1/importlist/{id} | +*ImportListExclusionApi* | [**CreateApiV1ImportListExclusion**](docs/ImportListExclusionApi.md#createapiv1importlistexclusion) | **Post** /api/v1/importlistexclusion | +*ImportListExclusionApi* | [**DeleteApiV1ImportListExclusion**](docs/ImportListExclusionApi.md#deleteapiv1importlistexclusion) | **Delete** /api/v1/importlistexclusion/{id} | +*ImportListExclusionApi* | [**GetApiV1ImportListExclusionById**](docs/ImportListExclusionApi.md#getapiv1importlistexclusionbyid) | **Get** /api/v1/importlistexclusion/{id} | +*ImportListExclusionApi* | [**ListApiV1ImportListExclusion**](docs/ImportListExclusionApi.md#listapiv1importlistexclusion) | **Get** /api/v1/importlistexclusion | +*ImportListExclusionApi* | [**UpdateApiV1ImportListExclusion**](docs/ImportListExclusionApi.md#updateapiv1importlistexclusion) | **Put** /api/v1/importlistexclusion/{id} | *IndexerApi* | [**CreateApiV1Indexer**](docs/IndexerApi.md#createapiv1indexer) | **Post** /api/v1/indexer | *IndexerApi* | [**CreateApiV1IndexerActionByName**](docs/IndexerApi.md#createapiv1indexeractionbyname) | **Post** /api/v1/indexer/action/{name} | *IndexerApi* | [**DeleteApiV1Indexer**](docs/IndexerApi.md#deleteapiv1indexer) | **Delete** /api/v1/indexer/{id} | @@ -182,10 +182,10 @@ Class | Method | HTTP request | Description *LogApi* | [**GetApiV1Log**](docs/LogApi.md#getapiv1log) | **Get** /api/v1/log | *LogFileApi* | [**GetApiV1LogFileByFilename**](docs/LogFileApi.md#getapiv1logfilebyfilename) | **Get** /api/v1/log/file/{filename} | *LogFileApi* | [**ListApiV1LogFile**](docs/LogFileApi.md#listapiv1logfile) | **Get** /api/v1/log/file | -*ManualImportApi* | [**ListApiV1Manualimport**](docs/ManualImportApi.md#listapiv1manualimport) | **Get** /api/v1/manualimport | -*ManualImportApi* | [**PutApiV1Manualimport**](docs/ManualImportApi.md#putapiv1manualimport) | **Put** /api/v1/manualimport | -*MediaCoverApi* | [**GetApiV1MediacoverAlbumalbumidByFilename**](docs/MediaCoverApi.md#getapiv1mediacoveralbumalbumidbyfilename) | **Get** /api/v1/mediacover/album/{albumId}/{filename} | -*MediaCoverApi* | [**GetApiV1MediacoverArtistartistidByFilename**](docs/MediaCoverApi.md#getapiv1mediacoverartistartistidbyfilename) | **Get** /api/v1/mediacover/artist/{artistId}/{filename} | +*ManualImportApi* | [**ListApiV1ManualImport**](docs/ManualImportApi.md#listapiv1manualimport) | **Get** /api/v1/manualimport | +*ManualImportApi* | [**PutApiV1ManualImport**](docs/ManualImportApi.md#putapiv1manualimport) | **Put** /api/v1/manualimport | +*MediaCoverApi* | [**GetApiV1MediaCoverAlbumalbumIdByFilename**](docs/MediaCoverApi.md#getapiv1mediacoveralbumalbumidbyfilename) | **Get** /api/v1/mediacover/album/{albumId}/{filename} | +*MediaCoverApi* | [**GetApiV1MediaCoverArtistartistIdByFilename**](docs/MediaCoverApi.md#getapiv1mediacoverartistartistidbyfilename) | **Get** /api/v1/mediacover/artist/{artistId}/{filename} | *MediaManagementConfigApi* | [**GetApiV1ConfigMediamanagement**](docs/MediaManagementConfigApi.md#getapiv1configmediamanagement) | **Get** /api/v1/config/mediamanagement | *MediaManagementConfigApi* | [**GetApiV1ConfigMediamanagementById**](docs/MediaManagementConfigApi.md#getapiv1configmediamanagementbyid) | **Get** /api/v1/config/mediamanagement/{id} | *MediaManagementConfigApi* | [**UpdateApiV1ConfigMediamanagement**](docs/MediaManagementConfigApi.md#updateapiv1configmediamanagement) | **Put** /api/v1/config/mediamanagement/{id} | @@ -198,11 +198,11 @@ Class | Method | HTTP request | Description *MetadataApi* | [**TestApiV1Metadata**](docs/MetadataApi.md#testapiv1metadata) | **Post** /api/v1/metadata/test | *MetadataApi* | [**TestallApiV1Metadata**](docs/MetadataApi.md#testallapiv1metadata) | **Post** /api/v1/metadata/testall | *MetadataApi* | [**UpdateApiV1Metadata**](docs/MetadataApi.md#updateapiv1metadata) | **Put** /api/v1/metadata/{id} | -*MetadataProfileApi* | [**CreateApiV1Metadataprofile**](docs/MetadataProfileApi.md#createapiv1metadataprofile) | **Post** /api/v1/metadataprofile | -*MetadataProfileApi* | [**DeleteApiV1Metadataprofile**](docs/MetadataProfileApi.md#deleteapiv1metadataprofile) | **Delete** /api/v1/metadataprofile/{id} | -*MetadataProfileApi* | [**GetApiV1MetadataprofileById**](docs/MetadataProfileApi.md#getapiv1metadataprofilebyid) | **Get** /api/v1/metadataprofile/{id} | -*MetadataProfileApi* | [**ListApiV1Metadataprofile**](docs/MetadataProfileApi.md#listapiv1metadataprofile) | **Get** /api/v1/metadataprofile | -*MetadataProfileApi* | [**UpdateApiV1Metadataprofile**](docs/MetadataProfileApi.md#updateapiv1metadataprofile) | **Put** /api/v1/metadataprofile/{id} | +*MetadataProfileApi* | [**CreateApiV1MetadataProfile**](docs/MetadataProfileApi.md#createapiv1metadataprofile) | **Post** /api/v1/metadataprofile | +*MetadataProfileApi* | [**DeleteApiV1MetadataProfile**](docs/MetadataProfileApi.md#deleteapiv1metadataprofile) | **Delete** /api/v1/metadataprofile/{id} | +*MetadataProfileApi* | [**GetApiV1MetadataProfileById**](docs/MetadataProfileApi.md#getapiv1metadataprofilebyid) | **Get** /api/v1/metadataprofile/{id} | +*MetadataProfileApi* | [**ListApiV1MetadataProfile**](docs/MetadataProfileApi.md#listapiv1metadataprofile) | **Get** /api/v1/metadataprofile | +*MetadataProfileApi* | [**UpdateApiV1MetadataProfile**](docs/MetadataProfileApi.md#updateapiv1metadataprofile) | **Put** /api/v1/metadataprofile/{id} | *MetadataProfileSchemaApi* | [**GetApiV1MetadataprofileSchema**](docs/MetadataProfileSchemaApi.md#getapiv1metadataprofileschema) | **Get** /api/v1/metadataprofile/schema | *MetadataProviderConfigApi* | [**GetApiV1ConfigMetadataprovider**](docs/MetadataProviderConfigApi.md#getapiv1configmetadataprovider) | **Get** /api/v1/config/metadataprovider | *MetadataProviderConfigApi* | [**GetApiV1ConfigMetadataproviderById**](docs/MetadataProviderConfigApi.md#getapiv1configmetadataproviderbyid) | **Get** /api/v1/config/metadataprovider/{id} | @@ -223,15 +223,15 @@ Class | Method | HTTP request | Description *NotificationApi* | [**TestallApiV1Notification**](docs/NotificationApi.md#testallapiv1notification) | **Post** /api/v1/notification/testall | *NotificationApi* | [**UpdateApiV1Notification**](docs/NotificationApi.md#updateapiv1notification) | **Put** /api/v1/notification/{id} | *ParseApi* | [**GetApiV1Parse**](docs/ParseApi.md#getapiv1parse) | **Get** /api/v1/parse | -*QualityDefinitionApi* | [**GetApiV1QualitydefinitionById**](docs/QualityDefinitionApi.md#getapiv1qualitydefinitionbyid) | **Get** /api/v1/qualitydefinition/{id} | -*QualityDefinitionApi* | [**ListApiV1Qualitydefinition**](docs/QualityDefinitionApi.md#listapiv1qualitydefinition) | **Get** /api/v1/qualitydefinition | -*QualityDefinitionApi* | [**PutApiV1QualitydefinitionUpdate**](docs/QualityDefinitionApi.md#putapiv1qualitydefinitionupdate) | **Put** /api/v1/qualitydefinition/update | -*QualityDefinitionApi* | [**UpdateApiV1Qualitydefinition**](docs/QualityDefinitionApi.md#updateapiv1qualitydefinition) | **Put** /api/v1/qualitydefinition/{id} | -*QualityProfileApi* | [**CreateApiV1Qualityprofile**](docs/QualityProfileApi.md#createapiv1qualityprofile) | **Post** /api/v1/qualityprofile | -*QualityProfileApi* | [**DeleteApiV1Qualityprofile**](docs/QualityProfileApi.md#deleteapiv1qualityprofile) | **Delete** /api/v1/qualityprofile/{id} | -*QualityProfileApi* | [**GetApiV1QualityprofileById**](docs/QualityProfileApi.md#getapiv1qualityprofilebyid) | **Get** /api/v1/qualityprofile/{id} | -*QualityProfileApi* | [**ListApiV1Qualityprofile**](docs/QualityProfileApi.md#listapiv1qualityprofile) | **Get** /api/v1/qualityprofile | -*QualityProfileApi* | [**UpdateApiV1Qualityprofile**](docs/QualityProfileApi.md#updateapiv1qualityprofile) | **Put** /api/v1/qualityprofile/{id} | +*QualityDefinitionApi* | [**GetApiV1QualityDefinitionById**](docs/QualityDefinitionApi.md#getapiv1qualitydefinitionbyid) | **Get** /api/v1/qualitydefinition/{id} | +*QualityDefinitionApi* | [**ListApiV1QualityDefinition**](docs/QualityDefinitionApi.md#listapiv1qualitydefinition) | **Get** /api/v1/qualitydefinition | +*QualityDefinitionApi* | [**PutApiV1QualityDefinitionUpdate**](docs/QualityDefinitionApi.md#putapiv1qualitydefinitionupdate) | **Put** /api/v1/qualitydefinition/update | +*QualityDefinitionApi* | [**UpdateApiV1QualityDefinition**](docs/QualityDefinitionApi.md#updateapiv1qualitydefinition) | **Put** /api/v1/qualitydefinition/{id} | +*QualityProfileApi* | [**CreateApiV1QualityProfile**](docs/QualityProfileApi.md#createapiv1qualityprofile) | **Post** /api/v1/qualityprofile | +*QualityProfileApi* | [**DeleteApiV1QualityProfile**](docs/QualityProfileApi.md#deleteapiv1qualityprofile) | **Delete** /api/v1/qualityprofile/{id} | +*QualityProfileApi* | [**GetApiV1QualityProfileById**](docs/QualityProfileApi.md#getapiv1qualityprofilebyid) | **Get** /api/v1/qualityprofile/{id} | +*QualityProfileApi* | [**ListApiV1QualityProfile**](docs/QualityProfileApi.md#listapiv1qualityprofile) | **Get** /api/v1/qualityprofile | +*QualityProfileApi* | [**UpdateApiV1QualityProfile**](docs/QualityProfileApi.md#updateapiv1qualityprofile) | **Put** /api/v1/qualityprofile/{id} | *QualityProfileSchemaApi* | [**GetApiV1QualityprofileSchema**](docs/QualityProfileSchemaApi.md#getapiv1qualityprofileschema) | **Get** /api/v1/qualityprofile/schema | *QueueApi* | [**DeleteApiV1Queue**](docs/QueueApi.md#deleteapiv1queue) | **Delete** /api/v1/queue/{id} | *QueueApi* | [**DeleteApiV1QueueBulk**](docs/QueueApi.md#deleteapiv1queuebulk) | **Delete** /api/v1/queue/bulk | @@ -246,25 +246,25 @@ Class | Method | HTTP request | Description *ReleaseApi* | [**CreateApiV1Release**](docs/ReleaseApi.md#createapiv1release) | **Post** /api/v1/release | *ReleaseApi* | [**GetApiV1ReleaseById**](docs/ReleaseApi.md#getapiv1releasebyid) | **Get** /api/v1/release/{id} | *ReleaseApi* | [**ListApiV1Release**](docs/ReleaseApi.md#listapiv1release) | **Get** /api/v1/release | -*ReleaseProfileApi* | [**CreateApiV1Releaseprofile**](docs/ReleaseProfileApi.md#createapiv1releaseprofile) | **Post** /api/v1/releaseprofile | -*ReleaseProfileApi* | [**DeleteApiV1Releaseprofile**](docs/ReleaseProfileApi.md#deleteapiv1releaseprofile) | **Delete** /api/v1/releaseprofile/{id} | -*ReleaseProfileApi* | [**GetApiV1ReleaseprofileById**](docs/ReleaseProfileApi.md#getapiv1releaseprofilebyid) | **Get** /api/v1/releaseprofile/{id} | -*ReleaseProfileApi* | [**ListApiV1Releaseprofile**](docs/ReleaseProfileApi.md#listapiv1releaseprofile) | **Get** /api/v1/releaseprofile | -*ReleaseProfileApi* | [**UpdateApiV1Releaseprofile**](docs/ReleaseProfileApi.md#updateapiv1releaseprofile) | **Put** /api/v1/releaseprofile/{id} | +*ReleaseProfileApi* | [**CreateApiV1ReleaseProfile**](docs/ReleaseProfileApi.md#createapiv1releaseprofile) | **Post** /api/v1/releaseprofile | +*ReleaseProfileApi* | [**DeleteApiV1ReleaseProfile**](docs/ReleaseProfileApi.md#deleteapiv1releaseprofile) | **Delete** /api/v1/releaseprofile/{id} | +*ReleaseProfileApi* | [**GetApiV1ReleaseProfileById**](docs/ReleaseProfileApi.md#getapiv1releaseprofilebyid) | **Get** /api/v1/releaseprofile/{id} | +*ReleaseProfileApi* | [**ListApiV1ReleaseProfile**](docs/ReleaseProfileApi.md#listapiv1releaseprofile) | **Get** /api/v1/releaseprofile | +*ReleaseProfileApi* | [**UpdateApiV1ReleaseProfile**](docs/ReleaseProfileApi.md#updateapiv1releaseprofile) | **Put** /api/v1/releaseprofile/{id} | *ReleasePushApi* | [**CreateApiV1ReleasePush**](docs/ReleasePushApi.md#createapiv1releasepush) | **Post** /api/v1/release/push | *ReleasePushApi* | [**GetApiV1ReleasePushById**](docs/ReleasePushApi.md#getapiv1releasepushbyid) | **Get** /api/v1/release/push/{id} | -*RemotePathMappingApi* | [**CreateApiV1Remotepathmapping**](docs/RemotePathMappingApi.md#createapiv1remotepathmapping) | **Post** /api/v1/remotepathmapping | -*RemotePathMappingApi* | [**DeleteApiV1Remotepathmapping**](docs/RemotePathMappingApi.md#deleteapiv1remotepathmapping) | **Delete** /api/v1/remotepathmapping/{id} | -*RemotePathMappingApi* | [**GetApiV1RemotepathmappingById**](docs/RemotePathMappingApi.md#getapiv1remotepathmappingbyid) | **Get** /api/v1/remotepathmapping/{id} | -*RemotePathMappingApi* | [**ListApiV1Remotepathmapping**](docs/RemotePathMappingApi.md#listapiv1remotepathmapping) | **Get** /api/v1/remotepathmapping | -*RemotePathMappingApi* | [**UpdateApiV1Remotepathmapping**](docs/RemotePathMappingApi.md#updateapiv1remotepathmapping) | **Put** /api/v1/remotepathmapping/{id} | +*RemotePathMappingApi* | [**CreateApiV1RemotePathMapping**](docs/RemotePathMappingApi.md#createapiv1remotepathmapping) | **Post** /api/v1/remotepathmapping | +*RemotePathMappingApi* | [**DeleteApiV1RemotePathMapping**](docs/RemotePathMappingApi.md#deleteapiv1remotepathmapping) | **Delete** /api/v1/remotepathmapping/{id} | +*RemotePathMappingApi* | [**GetApiV1RemotePathMappingById**](docs/RemotePathMappingApi.md#getapiv1remotepathmappingbyid) | **Get** /api/v1/remotepathmapping/{id} | +*RemotePathMappingApi* | [**ListApiV1RemotePathMapping**](docs/RemotePathMappingApi.md#listapiv1remotepathmapping) | **Get** /api/v1/remotepathmapping | +*RemotePathMappingApi* | [**UpdateApiV1RemotePathMapping**](docs/RemotePathMappingApi.md#updateapiv1remotepathmapping) | **Put** /api/v1/remotepathmapping/{id} | *RenameTrackApi* | [**ListApiV1Rename**](docs/RenameTrackApi.md#listapiv1rename) | **Get** /api/v1/rename | *RetagTrackApi* | [**ListApiV1Retag**](docs/RetagTrackApi.md#listapiv1retag) | **Get** /api/v1/retag | -*RootFolderApi* | [**CreateApiV1Rootfolder**](docs/RootFolderApi.md#createapiv1rootfolder) | **Post** /api/v1/rootfolder | -*RootFolderApi* | [**DeleteApiV1Rootfolder**](docs/RootFolderApi.md#deleteapiv1rootfolder) | **Delete** /api/v1/rootfolder/{id} | -*RootFolderApi* | [**GetApiV1RootfolderById**](docs/RootFolderApi.md#getapiv1rootfolderbyid) | **Get** /api/v1/rootfolder/{id} | -*RootFolderApi* | [**ListApiV1Rootfolder**](docs/RootFolderApi.md#listapiv1rootfolder) | **Get** /api/v1/rootfolder | -*RootFolderApi* | [**UpdateApiV1Rootfolder**](docs/RootFolderApi.md#updateapiv1rootfolder) | **Put** /api/v1/rootfolder/{id} | +*RootFolderApi* | [**CreateApiV1RootFolder**](docs/RootFolderApi.md#createapiv1rootfolder) | **Post** /api/v1/rootfolder | +*RootFolderApi* | [**DeleteApiV1RootFolder**](docs/RootFolderApi.md#deleteapiv1rootfolder) | **Delete** /api/v1/rootfolder/{id} | +*RootFolderApi* | [**GetApiV1RootFolderById**](docs/RootFolderApi.md#getapiv1rootfolderbyid) | **Get** /api/v1/rootfolder/{id} | +*RootFolderApi* | [**ListApiV1RootFolder**](docs/RootFolderApi.md#listapiv1rootfolder) | **Get** /api/v1/rootfolder | +*RootFolderApi* | [**UpdateApiV1RootFolder**](docs/RootFolderApi.md#updateapiv1rootfolder) | **Put** /api/v1/rootfolder/{id} | *SearchApi* | [**GetApiV1Search**](docs/SearchApi.md#getapiv1search) | **Get** /api/v1/search | *StaticResourceApi* | [**Get**](docs/StaticResourceApi.md#get) | **Get** / | *StaticResourceApi* | [**GetByPath**](docs/StaticResourceApi.md#getbypath) | **Get** /{path} | @@ -286,12 +286,12 @@ Class | Method | HTTP request | Description *TaskApi* | [**ListApiV1SystemTask**](docs/TaskApi.md#listapiv1systemtask) | **Get** /api/v1/system/task | *TrackApi* | [**GetApiV1TrackById**](docs/TrackApi.md#getapiv1trackbyid) | **Get** /api/v1/track/{id} | *TrackApi* | [**ListApiV1Track**](docs/TrackApi.md#listapiv1track) | **Get** /api/v1/track | -*TrackFileApi* | [**DeleteApiV1Trackfile**](docs/TrackFileApi.md#deleteapiv1trackfile) | **Delete** /api/v1/trackfile/{id} | -*TrackFileApi* | [**DeleteApiV1TrackfileBulk**](docs/TrackFileApi.md#deleteapiv1trackfilebulk) | **Delete** /api/v1/trackfile/bulk | -*TrackFileApi* | [**GetApiV1TrackfileById**](docs/TrackFileApi.md#getapiv1trackfilebyid) | **Get** /api/v1/trackfile/{id} | -*TrackFileApi* | [**ListApiV1Trackfile**](docs/TrackFileApi.md#listapiv1trackfile) | **Get** /api/v1/trackfile | -*TrackFileApi* | [**PutApiV1TrackfileEditor**](docs/TrackFileApi.md#putapiv1trackfileeditor) | **Put** /api/v1/trackfile/editor | -*TrackFileApi* | [**UpdateApiV1Trackfile**](docs/TrackFileApi.md#updateapiv1trackfile) | **Put** /api/v1/trackfile/{id} | +*TrackFileApi* | [**DeleteApiV1TrackFile**](docs/TrackFileApi.md#deleteapiv1trackfile) | **Delete** /api/v1/trackfile/{id} | +*TrackFileApi* | [**DeleteApiV1TrackFileBulk**](docs/TrackFileApi.md#deleteapiv1trackfilebulk) | **Delete** /api/v1/trackfile/bulk | +*TrackFileApi* | [**GetApiV1TrackFileById**](docs/TrackFileApi.md#getapiv1trackfilebyid) | **Get** /api/v1/trackfile/{id} | +*TrackFileApi* | [**ListApiV1TrackFile**](docs/TrackFileApi.md#listapiv1trackfile) | **Get** /api/v1/trackfile | +*TrackFileApi* | [**PutApiV1TrackFileEditor**](docs/TrackFileApi.md#putapiv1trackfileeditor) | **Put** /api/v1/trackfile/editor | +*TrackFileApi* | [**UpdateApiV1TrackFile**](docs/TrackFileApi.md#updateapiv1trackfile) | **Put** /api/v1/trackfile/{id} | *UiConfigApi* | [**GetApiV1ConfigUi**](docs/UiConfigApi.md#getapiv1configui) | **Get** /api/v1/config/ui | *UiConfigApi* | [**GetApiV1ConfigUiById**](docs/UiConfigApi.md#getapiv1configuibyid) | **Get** /api/v1/config/ui/{id} | *UiConfigApi* | [**UpdateApiV1ConfigUi**](docs/UiConfigApi.md#updateapiv1configui) | **Put** /api/v1/config/ui/{id} | diff --git a/lidarr/api/openapi.yaml b/lidarr/api/openapi.yaml index f527b6a..3431233 100644 --- a/lidarr/api/openapi.yaml +++ b/lidarr/api/openapi.yaml @@ -222,7 +222,7 @@ paths: - AlbumLookup /api/v1/albumstudio: post: - operationId: CreateApiV1Albumstudio + operationId: CreateApiV1AlbumStudio requestBody: content: application/json: @@ -827,7 +827,7 @@ paths: - Command /api/v1/customfilter/{id}: delete: - operationId: DeleteApiV1Customfilter + operationId: DeleteApiV1CustomFilter parameters: - explode: false in: path @@ -843,7 +843,7 @@ paths: tags: - CustomFilter get: - operationId: GetApiV1CustomfilterById + operationId: GetApiV1CustomFilterById parameters: - explode: false in: path @@ -869,7 +869,7 @@ paths: tags: - CustomFilter put: - operationId: UpdateApiV1Customfilter + operationId: UpdateApiV1CustomFilter parameters: - explode: false in: path @@ -906,7 +906,7 @@ paths: - CustomFilter /api/v1/customfilter: get: - operationId: ListApiV1Customfilter + operationId: ListApiV1CustomFilter responses: "200": content: @@ -929,7 +929,7 @@ paths: tags: - CustomFilter post: - operationId: CreateApiV1Customfilter + operationId: CreateApiV1CustomFilter requestBody: content: application/json: @@ -1012,7 +1012,7 @@ paths: - Cutoff /api/v1/delayprofile: get: - operationId: ListApiV1Delayprofile + operationId: ListApiV1DelayProfile responses: "200": content: @@ -1035,7 +1035,7 @@ paths: tags: - DelayProfile post: - operationId: CreateApiV1Delayprofile + operationId: CreateApiV1DelayProfile requestBody: content: application/json: @@ -1064,7 +1064,7 @@ paths: - DelayProfile /api/v1/delayprofile/{id}: delete: - operationId: DeleteApiV1Delayprofile + operationId: DeleteApiV1DelayProfile parameters: - explode: false in: path @@ -1080,7 +1080,7 @@ paths: tags: - DelayProfile get: - operationId: GetApiV1DelayprofileById + operationId: GetApiV1DelayProfileById parameters: - explode: false in: path @@ -1106,7 +1106,7 @@ paths: tags: - DelayProfile put: - operationId: UpdateApiV1Delayprofile + operationId: UpdateApiV1DelayProfile parameters: - explode: false in: path @@ -1143,7 +1143,7 @@ paths: - DelayProfile /api/v1/delayprofile/reorder/{id}: put: - operationId: UpdateApiV1DelayprofileReorder + operationId: UpdateApiV1DelayProfileReorder parameters: - explode: false in: path @@ -1168,7 +1168,7 @@ paths: - DelayProfile /api/v1/diskspace: get: - operationId: ListApiV1Diskspace + operationId: ListApiV1DiskSpace responses: "200": content: @@ -1192,7 +1192,7 @@ paths: - DiskSpace /api/v1/downloadclient/{id}: delete: - operationId: DeleteApiV1Downloadclient + operationId: DeleteApiV1DownloadClient parameters: - explode: false in: path @@ -1208,7 +1208,7 @@ paths: tags: - DownloadClient get: - operationId: GetApiV1DownloadclientById + operationId: GetApiV1DownloadClientById parameters: - explode: false in: path @@ -1234,7 +1234,7 @@ paths: tags: - DownloadClient put: - operationId: UpdateApiV1Downloadclient + operationId: UpdateApiV1DownloadClient parameters: - explode: false in: path @@ -1271,7 +1271,7 @@ paths: - DownloadClient /api/v1/downloadclient: get: - operationId: ListApiV1Downloadclient + operationId: ListApiV1DownloadClient responses: "200": content: @@ -1294,7 +1294,7 @@ paths: tags: - DownloadClient post: - operationId: CreateApiV1Downloadclient + operationId: CreateApiV1DownloadClient requestBody: content: application/json: @@ -1323,7 +1323,7 @@ paths: - DownloadClient /api/v1/downloadclient/schema: get: - operationId: ListApiV1DownloadclientSchema + operationId: ListApiV1DownloadClientSchema responses: "200": content: @@ -1347,7 +1347,7 @@ paths: - DownloadClient /api/v1/downloadclient/test: post: - operationId: TestApiV1Downloadclient + operationId: TestApiV1DownloadClient requestBody: content: application/json: @@ -1366,7 +1366,7 @@ paths: - DownloadClient /api/v1/downloadclient/testall: post: - operationId: TestallApiV1Downloadclient + operationId: TestallApiV1DownloadClient responses: "200": description: Success @@ -1374,7 +1374,7 @@ paths: - DownloadClient /api/v1/downloadclient/action/{name}: post: - operationId: CreateApiV1DownloadclientActionByName + operationId: CreateApiV1DownloadClientActionByName parameters: - explode: false in: path @@ -1482,7 +1482,7 @@ paths: - DownloadClientConfig /api/v1/filesystem: get: - operationId: GetApiV1Filesystem + operationId: GetApiV1FileSystem parameters: - explode: true in: query @@ -1514,7 +1514,7 @@ paths: - FileSystem /api/v1/filesystem/type: get: - operationId: GetApiV1FilesystemType + operationId: GetApiV1FileSystemType parameters: - explode: true in: query @@ -1530,7 +1530,7 @@ paths: - FileSystem /api/v1/filesystem/mediafiles: get: - operationId: GetApiV1FilesystemMediafiles + operationId: GetApiV1FileSystemMediafiles parameters: - explode: true in: query @@ -1874,7 +1874,7 @@ paths: - HostConfig /api/v1/importlist/{id}: delete: - operationId: DeleteApiV1Importlist + operationId: DeleteApiV1ImportList parameters: - explode: false in: path @@ -1890,7 +1890,7 @@ paths: tags: - ImportList get: - operationId: GetApiV1ImportlistById + operationId: GetApiV1ImportListById parameters: - explode: false in: path @@ -1916,7 +1916,7 @@ paths: tags: - ImportList put: - operationId: UpdateApiV1Importlist + operationId: UpdateApiV1ImportList parameters: - explode: false in: path @@ -1953,7 +1953,7 @@ paths: - ImportList /api/v1/importlist: get: - operationId: ListApiV1Importlist + operationId: ListApiV1ImportList responses: "200": content: @@ -1976,7 +1976,7 @@ paths: tags: - ImportList post: - operationId: CreateApiV1Importlist + operationId: CreateApiV1ImportList requestBody: content: application/json: @@ -2005,7 +2005,7 @@ paths: - ImportList /api/v1/importlist/schema: get: - operationId: ListApiV1ImportlistSchema + operationId: ListApiV1ImportListSchema responses: "200": content: @@ -2029,7 +2029,7 @@ paths: - ImportList /api/v1/importlist/test: post: - operationId: TestApiV1Importlist + operationId: TestApiV1ImportList requestBody: content: application/json: @@ -2048,7 +2048,7 @@ paths: - ImportList /api/v1/importlist/testall: post: - operationId: TestallApiV1Importlist + operationId: TestallApiV1ImportList responses: "200": description: Success @@ -2056,7 +2056,7 @@ paths: - ImportList /api/v1/importlist/action/{name}: post: - operationId: CreateApiV1ImportlistActionByName + operationId: CreateApiV1ImportListActionByName parameters: - explode: false in: path @@ -2083,7 +2083,7 @@ paths: - ImportList /api/v1/importlistexclusion/{id}: delete: - operationId: DeleteApiV1Importlistexclusion + operationId: DeleteApiV1ImportListExclusion parameters: - explode: false in: path @@ -2099,7 +2099,7 @@ paths: tags: - ImportListExclusion get: - operationId: GetApiV1ImportlistexclusionById + operationId: GetApiV1ImportListExclusionById parameters: - explode: false in: path @@ -2125,7 +2125,7 @@ paths: tags: - ImportListExclusion put: - operationId: UpdateApiV1Importlistexclusion + operationId: UpdateApiV1ImportListExclusion parameters: - explode: false in: path @@ -2162,7 +2162,7 @@ paths: - ImportListExclusion /api/v1/importlistexclusion: get: - operationId: ListApiV1Importlistexclusion + operationId: ListApiV1ImportListExclusion responses: "200": content: @@ -2185,7 +2185,7 @@ paths: tags: - ImportListExclusion post: - operationId: CreateApiV1Importlistexclusion + operationId: CreateApiV1ImportListExclusion requestBody: content: application/json: @@ -2640,7 +2640,7 @@ paths: - LogFile /api/v1/manualimport: get: - operationId: ListApiV1Manualimport + operationId: ListApiV1ManualImport parameters: - explode: true in: query @@ -2702,7 +2702,7 @@ paths: tags: - ManualImport put: - operationId: PutApiV1Manualimport + operationId: PutApiV1ManualImport requestBody: content: application/json: @@ -2727,7 +2727,7 @@ paths: - ManualImport /api/v1/mediacover/artist/{artistId}/{filename}: get: - operationId: "GetApiV1MediacoverArtist{artistid}ByFilename" + operationId: "GetApiV1MediaCoverArtist{artistId}ByFilename" parameters: - explode: false in: path @@ -2752,7 +2752,7 @@ paths: - MediaCover /api/v1/mediacover/album/{albumId}/{filename}: get: - operationId: "GetApiV1MediacoverAlbum{albumid}ByFilename" + operationId: "GetApiV1MediaCoverAlbum{albumId}ByFilename" parameters: - explode: false in: path @@ -3067,7 +3067,7 @@ paths: - Metadata /api/v1/metadataprofile: get: - operationId: ListApiV1Metadataprofile + operationId: ListApiV1MetadataProfile responses: "200": content: @@ -3090,7 +3090,7 @@ paths: tags: - MetadataProfile post: - operationId: CreateApiV1Metadataprofile + operationId: CreateApiV1MetadataProfile requestBody: content: application/json: @@ -3119,7 +3119,7 @@ paths: - MetadataProfile /api/v1/metadataprofile/{id}: delete: - operationId: DeleteApiV1Metadataprofile + operationId: DeleteApiV1MetadataProfile parameters: - explode: false in: path @@ -3135,7 +3135,7 @@ paths: tags: - MetadataProfile get: - operationId: GetApiV1MetadataprofileById + operationId: GetApiV1MetadataProfileById parameters: - explode: false in: path @@ -3161,7 +3161,7 @@ paths: tags: - MetadataProfile put: - operationId: UpdateApiV1Metadataprofile + operationId: UpdateApiV1MetadataProfile parameters: - explode: false in: path @@ -3768,7 +3768,7 @@ paths: - Parse /api/v1/qualitydefinition/{id}: get: - operationId: GetApiV1QualitydefinitionById + operationId: GetApiV1QualityDefinitionById parameters: - explode: false in: path @@ -3794,7 +3794,7 @@ paths: tags: - QualityDefinition put: - operationId: UpdateApiV1Qualitydefinition + operationId: UpdateApiV1QualityDefinition parameters: - explode: false in: path @@ -3831,7 +3831,7 @@ paths: - QualityDefinition /api/v1/qualitydefinition: get: - operationId: ListApiV1Qualitydefinition + operationId: ListApiV1QualityDefinition responses: "200": content: @@ -3855,7 +3855,7 @@ paths: - QualityDefinition /api/v1/qualitydefinition/update: put: - operationId: PutApiV1QualitydefinitionUpdate + operationId: PutApiV1QualityDefinitionUpdate requestBody: content: application/json: @@ -3880,7 +3880,7 @@ paths: - QualityDefinition /api/v1/qualityprofile: get: - operationId: ListApiV1Qualityprofile + operationId: ListApiV1QualityProfile responses: "200": content: @@ -3903,7 +3903,7 @@ paths: tags: - QualityProfile post: - operationId: CreateApiV1Qualityprofile + operationId: CreateApiV1QualityProfile requestBody: content: application/json: @@ -3932,7 +3932,7 @@ paths: - QualityProfile /api/v1/qualityprofile/{id}: delete: - operationId: DeleteApiV1Qualityprofile + operationId: DeleteApiV1QualityProfile parameters: - explode: false in: path @@ -3948,7 +3948,7 @@ paths: tags: - QualityProfile get: - operationId: GetApiV1QualityprofileById + operationId: GetApiV1QualityProfileById parameters: - explode: false in: path @@ -3974,7 +3974,7 @@ paths: tags: - QualityProfile put: - operationId: UpdateApiV1Qualityprofile + operationId: UpdateApiV1QualityProfile parameters: - explode: false in: path @@ -4446,7 +4446,7 @@ paths: - Release /api/v1/releaseprofile/{id}: delete: - operationId: DeleteApiV1Releaseprofile + operationId: DeleteApiV1ReleaseProfile parameters: - explode: false in: path @@ -4462,7 +4462,7 @@ paths: tags: - ReleaseProfile get: - operationId: GetApiV1ReleaseprofileById + operationId: GetApiV1ReleaseProfileById parameters: - explode: false in: path @@ -4488,7 +4488,7 @@ paths: tags: - ReleaseProfile put: - operationId: UpdateApiV1Releaseprofile + operationId: UpdateApiV1ReleaseProfile parameters: - explode: false in: path @@ -4525,7 +4525,7 @@ paths: - ReleaseProfile /api/v1/releaseprofile: get: - operationId: ListApiV1Releaseprofile + operationId: ListApiV1ReleaseProfile responses: "200": content: @@ -4548,7 +4548,7 @@ paths: tags: - ReleaseProfile post: - operationId: CreateApiV1Releaseprofile + operationId: CreateApiV1ReleaseProfile requestBody: content: application/json: @@ -4633,7 +4633,7 @@ paths: - ReleasePush /api/v1/remotepathmapping/{id}: delete: - operationId: DeleteApiV1Remotepathmapping + operationId: DeleteApiV1RemotePathMapping parameters: - explode: false in: path @@ -4649,7 +4649,7 @@ paths: tags: - RemotePathMapping get: - operationId: GetApiV1RemotepathmappingById + operationId: GetApiV1RemotePathMappingById parameters: - explode: false in: path @@ -4675,7 +4675,7 @@ paths: tags: - RemotePathMapping put: - operationId: UpdateApiV1Remotepathmapping + operationId: UpdateApiV1RemotePathMapping parameters: - explode: false in: path @@ -4712,7 +4712,7 @@ paths: - RemotePathMapping /api/v1/remotepathmapping: get: - operationId: ListApiV1Remotepathmapping + operationId: ListApiV1RemotePathMapping responses: "200": content: @@ -4735,7 +4735,7 @@ paths: tags: - RemotePathMapping post: - operationId: CreateApiV1Remotepathmapping + operationId: CreateApiV1RemotePathMapping requestBody: content: application/json: @@ -4846,7 +4846,7 @@ paths: - RetagTrack /api/v1/rootfolder/{id}: delete: - operationId: DeleteApiV1Rootfolder + operationId: DeleteApiV1RootFolder parameters: - explode: false in: path @@ -4862,7 +4862,7 @@ paths: tags: - RootFolder get: - operationId: GetApiV1RootfolderById + operationId: GetApiV1RootFolderById parameters: - explode: false in: path @@ -4888,7 +4888,7 @@ paths: tags: - RootFolder put: - operationId: UpdateApiV1Rootfolder + operationId: UpdateApiV1RootFolder parameters: - explode: false in: path @@ -4925,7 +4925,7 @@ paths: - RootFolder /api/v1/rootfolder: get: - operationId: ListApiV1Rootfolder + operationId: ListApiV1RootFolder responses: "200": content: @@ -4948,7 +4948,7 @@ paths: tags: - RootFolder post: - operationId: CreateApiV1Rootfolder + operationId: CreateApiV1RootFolder requestBody: content: application/json: @@ -5402,7 +5402,7 @@ paths: - Track /api/v1/trackfile/{id}: delete: - operationId: DeleteApiV1Trackfile + operationId: DeleteApiV1TrackFile parameters: - explode: false in: path @@ -5418,7 +5418,7 @@ paths: tags: - TrackFile get: - operationId: GetApiV1TrackfileById + operationId: GetApiV1TrackFileById parameters: - explode: false in: path @@ -5444,7 +5444,7 @@ paths: tags: - TrackFile put: - operationId: UpdateApiV1Trackfile + operationId: UpdateApiV1TrackFile parameters: - explode: false in: path @@ -5481,7 +5481,7 @@ paths: - TrackFile /api/v1/trackfile: get: - operationId: ListApiV1Trackfile + operationId: ListApiV1TrackFile parameters: - explode: true in: query @@ -5541,7 +5541,7 @@ paths: - TrackFile /api/v1/trackfile/editor: put: - operationId: PutApiV1TrackfileEditor + operationId: PutApiV1TrackFileEditor requestBody: content: application/json: @@ -5560,7 +5560,7 @@ paths: - TrackFile /api/v1/trackfile/bulk: delete: - operationId: DeleteApiV1TrackfileBulk + operationId: DeleteApiV1TrackFileBulk requestBody: content: application/json: diff --git a/lidarr/api_album_studio.go b/lidarr/api_album_studio.go index 21152da..2e2735f 100644 --- a/lidarr/api_album_studio.go +++ b/lidarr/api_album_studio.go @@ -21,43 +21,43 @@ import ( // AlbumStudioApiService AlbumStudioApi service type AlbumStudioApiService service -type ApiCreateApiV1AlbumstudioRequest struct { +type ApiCreateApiV1AlbumStudioRequest struct { ctx context.Context ApiService *AlbumStudioApiService albumStudioResource *AlbumStudioResource } -func (r ApiCreateApiV1AlbumstudioRequest) AlbumStudioResource(albumStudioResource AlbumStudioResource) ApiCreateApiV1AlbumstudioRequest { +func (r ApiCreateApiV1AlbumStudioRequest) AlbumStudioResource(albumStudioResource AlbumStudioResource) ApiCreateApiV1AlbumStudioRequest { r.albumStudioResource = &albumStudioResource return r } -func (r ApiCreateApiV1AlbumstudioRequest) Execute() (*http.Response, error) { - return r.ApiService.CreateApiV1AlbumstudioExecute(r) +func (r ApiCreateApiV1AlbumStudioRequest) Execute() (*http.Response, error) { + return r.ApiService.CreateApiV1AlbumStudioExecute(r) } /* -CreateApiV1Albumstudio Method for CreateApiV1Albumstudio +CreateApiV1AlbumStudio Method for CreateApiV1AlbumStudio @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiCreateApiV1AlbumstudioRequest + @return ApiCreateApiV1AlbumStudioRequest */ -func (a *AlbumStudioApiService) CreateApiV1Albumstudio(ctx context.Context) ApiCreateApiV1AlbumstudioRequest { - return ApiCreateApiV1AlbumstudioRequest{ +func (a *AlbumStudioApiService) CreateApiV1AlbumStudio(ctx context.Context) ApiCreateApiV1AlbumStudioRequest { + return ApiCreateApiV1AlbumStudioRequest{ ApiService: a, ctx: ctx, } } // Execute executes the request -func (a *AlbumStudioApiService) CreateApiV1AlbumstudioExecute(r ApiCreateApiV1AlbumstudioRequest) (*http.Response, error) { +func (a *AlbumStudioApiService) CreateApiV1AlbumStudioExecute(r ApiCreateApiV1AlbumStudioRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AlbumStudioApiService.CreateApiV1Albumstudio") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AlbumStudioApiService.CreateApiV1AlbumStudio") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } diff --git a/lidarr/api_custom_filter.go b/lidarr/api_custom_filter.go index 9955551..e5cb9d4 100644 --- a/lidarr/api_custom_filter.go +++ b/lidarr/api_custom_filter.go @@ -22,29 +22,29 @@ import ( // CustomFilterApiService CustomFilterApi service type CustomFilterApiService service -type ApiCreateApiV1CustomfilterRequest struct { +type ApiCreateApiV1CustomFilterRequest struct { ctx context.Context ApiService *CustomFilterApiService customFilterResource *CustomFilterResource } -func (r ApiCreateApiV1CustomfilterRequest) CustomFilterResource(customFilterResource CustomFilterResource) ApiCreateApiV1CustomfilterRequest { +func (r ApiCreateApiV1CustomFilterRequest) CustomFilterResource(customFilterResource CustomFilterResource) ApiCreateApiV1CustomFilterRequest { r.customFilterResource = &customFilterResource return r } -func (r ApiCreateApiV1CustomfilterRequest) Execute() (*CustomFilterResource, *http.Response, error) { - return r.ApiService.CreateApiV1CustomfilterExecute(r) +func (r ApiCreateApiV1CustomFilterRequest) Execute() (*CustomFilterResource, *http.Response, error) { + return r.ApiService.CreateApiV1CustomFilterExecute(r) } /* -CreateApiV1Customfilter Method for CreateApiV1Customfilter +CreateApiV1CustomFilter Method for CreateApiV1CustomFilter @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiCreateApiV1CustomfilterRequest + @return ApiCreateApiV1CustomFilterRequest */ -func (a *CustomFilterApiService) CreateApiV1Customfilter(ctx context.Context) ApiCreateApiV1CustomfilterRequest { - return ApiCreateApiV1CustomfilterRequest{ +func (a *CustomFilterApiService) CreateApiV1CustomFilter(ctx context.Context) ApiCreateApiV1CustomFilterRequest { + return ApiCreateApiV1CustomFilterRequest{ ApiService: a, ctx: ctx, } @@ -52,7 +52,7 @@ func (a *CustomFilterApiService) CreateApiV1Customfilter(ctx context.Context) Ap // Execute executes the request // @return CustomFilterResource -func (a *CustomFilterApiService) CreateApiV1CustomfilterExecute(r ApiCreateApiV1CustomfilterRequest) (*CustomFilterResource, *http.Response, error) { +func (a *CustomFilterApiService) CreateApiV1CustomFilterExecute(r ApiCreateApiV1CustomFilterRequest) (*CustomFilterResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -60,7 +60,7 @@ func (a *CustomFilterApiService) CreateApiV1CustomfilterExecute(r ApiCreateApiV1 localVarReturnValue *CustomFilterResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CustomFilterApiService.CreateApiV1Customfilter") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CustomFilterApiService.CreateApiV1CustomFilter") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -154,25 +154,25 @@ func (a *CustomFilterApiService) CreateApiV1CustomfilterExecute(r ApiCreateApiV1 return localVarReturnValue, localVarHTTPResponse, nil } -type ApiDeleteApiV1CustomfilterRequest struct { +type ApiDeleteApiV1CustomFilterRequest struct { ctx context.Context ApiService *CustomFilterApiService id int32 } -func (r ApiDeleteApiV1CustomfilterRequest) Execute() (*http.Response, error) { - return r.ApiService.DeleteApiV1CustomfilterExecute(r) +func (r ApiDeleteApiV1CustomFilterRequest) Execute() (*http.Response, error) { + return r.ApiService.DeleteApiV1CustomFilterExecute(r) } /* -DeleteApiV1Customfilter Method for DeleteApiV1Customfilter +DeleteApiV1CustomFilter Method for DeleteApiV1CustomFilter @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id - @return ApiDeleteApiV1CustomfilterRequest + @return ApiDeleteApiV1CustomFilterRequest */ -func (a *CustomFilterApiService) DeleteApiV1Customfilter(ctx context.Context, id int32) ApiDeleteApiV1CustomfilterRequest { - return ApiDeleteApiV1CustomfilterRequest{ +func (a *CustomFilterApiService) DeleteApiV1CustomFilter(ctx context.Context, id int32) ApiDeleteApiV1CustomFilterRequest { + return ApiDeleteApiV1CustomFilterRequest{ ApiService: a, ctx: ctx, id: id, @@ -180,14 +180,14 @@ func (a *CustomFilterApiService) DeleteApiV1Customfilter(ctx context.Context, id } // Execute executes the request -func (a *CustomFilterApiService) DeleteApiV1CustomfilterExecute(r ApiDeleteApiV1CustomfilterRequest) (*http.Response, error) { +func (a *CustomFilterApiService) DeleteApiV1CustomFilterExecute(r ApiDeleteApiV1CustomFilterRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CustomFilterApiService.DeleteApiV1Customfilter") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CustomFilterApiService.DeleteApiV1CustomFilter") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -271,25 +271,25 @@ func (a *CustomFilterApiService) DeleteApiV1CustomfilterExecute(r ApiDeleteApiV1 return localVarHTTPResponse, nil } -type ApiGetApiV1CustomfilterByIdRequest struct { +type ApiGetApiV1CustomFilterByIdRequest struct { ctx context.Context ApiService *CustomFilterApiService id int32 } -func (r ApiGetApiV1CustomfilterByIdRequest) Execute() (*CustomFilterResource, *http.Response, error) { - return r.ApiService.GetApiV1CustomfilterByIdExecute(r) +func (r ApiGetApiV1CustomFilterByIdRequest) Execute() (*CustomFilterResource, *http.Response, error) { + return r.ApiService.GetApiV1CustomFilterByIdExecute(r) } /* -GetApiV1CustomfilterById Method for GetApiV1CustomfilterById +GetApiV1CustomFilterById Method for GetApiV1CustomFilterById @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id - @return ApiGetApiV1CustomfilterByIdRequest + @return ApiGetApiV1CustomFilterByIdRequest */ -func (a *CustomFilterApiService) GetApiV1CustomfilterById(ctx context.Context, id int32) ApiGetApiV1CustomfilterByIdRequest { - return ApiGetApiV1CustomfilterByIdRequest{ +func (a *CustomFilterApiService) GetApiV1CustomFilterById(ctx context.Context, id int32) ApiGetApiV1CustomFilterByIdRequest { + return ApiGetApiV1CustomFilterByIdRequest{ ApiService: a, ctx: ctx, id: id, @@ -298,7 +298,7 @@ func (a *CustomFilterApiService) GetApiV1CustomfilterById(ctx context.Context, i // Execute executes the request // @return CustomFilterResource -func (a *CustomFilterApiService) GetApiV1CustomfilterByIdExecute(r ApiGetApiV1CustomfilterByIdRequest) (*CustomFilterResource, *http.Response, error) { +func (a *CustomFilterApiService) GetApiV1CustomFilterByIdExecute(r ApiGetApiV1CustomFilterByIdRequest) (*CustomFilterResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -306,7 +306,7 @@ func (a *CustomFilterApiService) GetApiV1CustomfilterByIdExecute(r ApiGetApiV1Cu localVarReturnValue *CustomFilterResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CustomFilterApiService.GetApiV1CustomfilterById") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CustomFilterApiService.GetApiV1CustomFilterById") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -399,23 +399,23 @@ func (a *CustomFilterApiService) GetApiV1CustomfilterByIdExecute(r ApiGetApiV1Cu return localVarReturnValue, localVarHTTPResponse, nil } -type ApiListApiV1CustomfilterRequest struct { +type ApiListApiV1CustomFilterRequest struct { ctx context.Context ApiService *CustomFilterApiService } -func (r ApiListApiV1CustomfilterRequest) Execute() ([]*CustomFilterResource, *http.Response, error) { - return r.ApiService.ListApiV1CustomfilterExecute(r) +func (r ApiListApiV1CustomFilterRequest) Execute() ([]*CustomFilterResource, *http.Response, error) { + return r.ApiService.ListApiV1CustomFilterExecute(r) } /* -ListApiV1Customfilter Method for ListApiV1Customfilter +ListApiV1CustomFilter Method for ListApiV1CustomFilter @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiListApiV1CustomfilterRequest + @return ApiListApiV1CustomFilterRequest */ -func (a *CustomFilterApiService) ListApiV1Customfilter(ctx context.Context) ApiListApiV1CustomfilterRequest { - return ApiListApiV1CustomfilterRequest{ +func (a *CustomFilterApiService) ListApiV1CustomFilter(ctx context.Context) ApiListApiV1CustomFilterRequest { + return ApiListApiV1CustomFilterRequest{ ApiService: a, ctx: ctx, } @@ -423,7 +423,7 @@ func (a *CustomFilterApiService) ListApiV1Customfilter(ctx context.Context) ApiL // Execute executes the request // @return []CustomFilterResource -func (a *CustomFilterApiService) ListApiV1CustomfilterExecute(r ApiListApiV1CustomfilterRequest) ([]*CustomFilterResource, *http.Response, error) { +func (a *CustomFilterApiService) ListApiV1CustomFilterExecute(r ApiListApiV1CustomFilterRequest) ([]*CustomFilterResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -431,7 +431,7 @@ func (a *CustomFilterApiService) ListApiV1CustomfilterExecute(r ApiListApiV1Cust localVarReturnValue []*CustomFilterResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CustomFilterApiService.ListApiV1Customfilter") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CustomFilterApiService.ListApiV1CustomFilter") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -523,31 +523,31 @@ func (a *CustomFilterApiService) ListApiV1CustomfilterExecute(r ApiListApiV1Cust return localVarReturnValue, localVarHTTPResponse, nil } -type ApiUpdateApiV1CustomfilterRequest struct { +type ApiUpdateApiV1CustomFilterRequest struct { ctx context.Context ApiService *CustomFilterApiService id string customFilterResource *CustomFilterResource } -func (r ApiUpdateApiV1CustomfilterRequest) CustomFilterResource(customFilterResource CustomFilterResource) ApiUpdateApiV1CustomfilterRequest { +func (r ApiUpdateApiV1CustomFilterRequest) CustomFilterResource(customFilterResource CustomFilterResource) ApiUpdateApiV1CustomFilterRequest { r.customFilterResource = &customFilterResource return r } -func (r ApiUpdateApiV1CustomfilterRequest) Execute() (*CustomFilterResource, *http.Response, error) { - return r.ApiService.UpdateApiV1CustomfilterExecute(r) +func (r ApiUpdateApiV1CustomFilterRequest) Execute() (*CustomFilterResource, *http.Response, error) { + return r.ApiService.UpdateApiV1CustomFilterExecute(r) } /* -UpdateApiV1Customfilter Method for UpdateApiV1Customfilter +UpdateApiV1CustomFilter Method for UpdateApiV1CustomFilter @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id - @return ApiUpdateApiV1CustomfilterRequest + @return ApiUpdateApiV1CustomFilterRequest */ -func (a *CustomFilterApiService) UpdateApiV1Customfilter(ctx context.Context, id string) ApiUpdateApiV1CustomfilterRequest { - return ApiUpdateApiV1CustomfilterRequest{ +func (a *CustomFilterApiService) UpdateApiV1CustomFilter(ctx context.Context, id string) ApiUpdateApiV1CustomFilterRequest { + return ApiUpdateApiV1CustomFilterRequest{ ApiService: a, ctx: ctx, id: id, @@ -556,7 +556,7 @@ func (a *CustomFilterApiService) UpdateApiV1Customfilter(ctx context.Context, id // Execute executes the request // @return CustomFilterResource -func (a *CustomFilterApiService) UpdateApiV1CustomfilterExecute(r ApiUpdateApiV1CustomfilterRequest) (*CustomFilterResource, *http.Response, error) { +func (a *CustomFilterApiService) UpdateApiV1CustomFilterExecute(r ApiUpdateApiV1CustomFilterRequest) (*CustomFilterResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} @@ -564,7 +564,7 @@ func (a *CustomFilterApiService) UpdateApiV1CustomfilterExecute(r ApiUpdateApiV1 localVarReturnValue *CustomFilterResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CustomFilterApiService.UpdateApiV1Customfilter") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CustomFilterApiService.UpdateApiV1CustomFilter") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } diff --git a/lidarr/api_delay_profile.go b/lidarr/api_delay_profile.go index a51955f..51ef4b7 100644 --- a/lidarr/api_delay_profile.go +++ b/lidarr/api_delay_profile.go @@ -22,29 +22,29 @@ import ( // DelayProfileApiService DelayProfileApi service type DelayProfileApiService service -type ApiCreateApiV1DelayprofileRequest struct { +type ApiCreateApiV1DelayProfileRequest struct { ctx context.Context ApiService *DelayProfileApiService delayProfileResource *DelayProfileResource } -func (r ApiCreateApiV1DelayprofileRequest) DelayProfileResource(delayProfileResource DelayProfileResource) ApiCreateApiV1DelayprofileRequest { +func (r ApiCreateApiV1DelayProfileRequest) DelayProfileResource(delayProfileResource DelayProfileResource) ApiCreateApiV1DelayProfileRequest { r.delayProfileResource = &delayProfileResource return r } -func (r ApiCreateApiV1DelayprofileRequest) Execute() (*DelayProfileResource, *http.Response, error) { - return r.ApiService.CreateApiV1DelayprofileExecute(r) +func (r ApiCreateApiV1DelayProfileRequest) Execute() (*DelayProfileResource, *http.Response, error) { + return r.ApiService.CreateApiV1DelayProfileExecute(r) } /* -CreateApiV1Delayprofile Method for CreateApiV1Delayprofile +CreateApiV1DelayProfile Method for CreateApiV1DelayProfile @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiCreateApiV1DelayprofileRequest + @return ApiCreateApiV1DelayProfileRequest */ -func (a *DelayProfileApiService) CreateApiV1Delayprofile(ctx context.Context) ApiCreateApiV1DelayprofileRequest { - return ApiCreateApiV1DelayprofileRequest{ +func (a *DelayProfileApiService) CreateApiV1DelayProfile(ctx context.Context) ApiCreateApiV1DelayProfileRequest { + return ApiCreateApiV1DelayProfileRequest{ ApiService: a, ctx: ctx, } @@ -52,7 +52,7 @@ func (a *DelayProfileApiService) CreateApiV1Delayprofile(ctx context.Context) Ap // Execute executes the request // @return DelayProfileResource -func (a *DelayProfileApiService) CreateApiV1DelayprofileExecute(r ApiCreateApiV1DelayprofileRequest) (*DelayProfileResource, *http.Response, error) { +func (a *DelayProfileApiService) CreateApiV1DelayProfileExecute(r ApiCreateApiV1DelayProfileRequest) (*DelayProfileResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -60,7 +60,7 @@ func (a *DelayProfileApiService) CreateApiV1DelayprofileExecute(r ApiCreateApiV1 localVarReturnValue *DelayProfileResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DelayProfileApiService.CreateApiV1Delayprofile") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DelayProfileApiService.CreateApiV1DelayProfile") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -154,25 +154,25 @@ func (a *DelayProfileApiService) CreateApiV1DelayprofileExecute(r ApiCreateApiV1 return localVarReturnValue, localVarHTTPResponse, nil } -type ApiDeleteApiV1DelayprofileRequest struct { +type ApiDeleteApiV1DelayProfileRequest struct { ctx context.Context ApiService *DelayProfileApiService id int32 } -func (r ApiDeleteApiV1DelayprofileRequest) Execute() (*http.Response, error) { - return r.ApiService.DeleteApiV1DelayprofileExecute(r) +func (r ApiDeleteApiV1DelayProfileRequest) Execute() (*http.Response, error) { + return r.ApiService.DeleteApiV1DelayProfileExecute(r) } /* -DeleteApiV1Delayprofile Method for DeleteApiV1Delayprofile +DeleteApiV1DelayProfile Method for DeleteApiV1DelayProfile @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id - @return ApiDeleteApiV1DelayprofileRequest + @return ApiDeleteApiV1DelayProfileRequest */ -func (a *DelayProfileApiService) DeleteApiV1Delayprofile(ctx context.Context, id int32) ApiDeleteApiV1DelayprofileRequest { - return ApiDeleteApiV1DelayprofileRequest{ +func (a *DelayProfileApiService) DeleteApiV1DelayProfile(ctx context.Context, id int32) ApiDeleteApiV1DelayProfileRequest { + return ApiDeleteApiV1DelayProfileRequest{ ApiService: a, ctx: ctx, id: id, @@ -180,14 +180,14 @@ func (a *DelayProfileApiService) DeleteApiV1Delayprofile(ctx context.Context, id } // Execute executes the request -func (a *DelayProfileApiService) DeleteApiV1DelayprofileExecute(r ApiDeleteApiV1DelayprofileRequest) (*http.Response, error) { +func (a *DelayProfileApiService) DeleteApiV1DelayProfileExecute(r ApiDeleteApiV1DelayProfileRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DelayProfileApiService.DeleteApiV1Delayprofile") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DelayProfileApiService.DeleteApiV1DelayProfile") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -271,25 +271,25 @@ func (a *DelayProfileApiService) DeleteApiV1DelayprofileExecute(r ApiDeleteApiV1 return localVarHTTPResponse, nil } -type ApiGetApiV1DelayprofileByIdRequest struct { +type ApiGetApiV1DelayProfileByIdRequest struct { ctx context.Context ApiService *DelayProfileApiService id int32 } -func (r ApiGetApiV1DelayprofileByIdRequest) Execute() (*DelayProfileResource, *http.Response, error) { - return r.ApiService.GetApiV1DelayprofileByIdExecute(r) +func (r ApiGetApiV1DelayProfileByIdRequest) Execute() (*DelayProfileResource, *http.Response, error) { + return r.ApiService.GetApiV1DelayProfileByIdExecute(r) } /* -GetApiV1DelayprofileById Method for GetApiV1DelayprofileById +GetApiV1DelayProfileById Method for GetApiV1DelayProfileById @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id - @return ApiGetApiV1DelayprofileByIdRequest + @return ApiGetApiV1DelayProfileByIdRequest */ -func (a *DelayProfileApiService) GetApiV1DelayprofileById(ctx context.Context, id int32) ApiGetApiV1DelayprofileByIdRequest { - return ApiGetApiV1DelayprofileByIdRequest{ +func (a *DelayProfileApiService) GetApiV1DelayProfileById(ctx context.Context, id int32) ApiGetApiV1DelayProfileByIdRequest { + return ApiGetApiV1DelayProfileByIdRequest{ ApiService: a, ctx: ctx, id: id, @@ -298,7 +298,7 @@ func (a *DelayProfileApiService) GetApiV1DelayprofileById(ctx context.Context, i // Execute executes the request // @return DelayProfileResource -func (a *DelayProfileApiService) GetApiV1DelayprofileByIdExecute(r ApiGetApiV1DelayprofileByIdRequest) (*DelayProfileResource, *http.Response, error) { +func (a *DelayProfileApiService) GetApiV1DelayProfileByIdExecute(r ApiGetApiV1DelayProfileByIdRequest) (*DelayProfileResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -306,7 +306,7 @@ func (a *DelayProfileApiService) GetApiV1DelayprofileByIdExecute(r ApiGetApiV1De localVarReturnValue *DelayProfileResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DelayProfileApiService.GetApiV1DelayprofileById") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DelayProfileApiService.GetApiV1DelayProfileById") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -399,23 +399,23 @@ func (a *DelayProfileApiService) GetApiV1DelayprofileByIdExecute(r ApiGetApiV1De return localVarReturnValue, localVarHTTPResponse, nil } -type ApiListApiV1DelayprofileRequest struct { +type ApiListApiV1DelayProfileRequest struct { ctx context.Context ApiService *DelayProfileApiService } -func (r ApiListApiV1DelayprofileRequest) Execute() ([]*DelayProfileResource, *http.Response, error) { - return r.ApiService.ListApiV1DelayprofileExecute(r) +func (r ApiListApiV1DelayProfileRequest) Execute() ([]*DelayProfileResource, *http.Response, error) { + return r.ApiService.ListApiV1DelayProfileExecute(r) } /* -ListApiV1Delayprofile Method for ListApiV1Delayprofile +ListApiV1DelayProfile Method for ListApiV1DelayProfile @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiListApiV1DelayprofileRequest + @return ApiListApiV1DelayProfileRequest */ -func (a *DelayProfileApiService) ListApiV1Delayprofile(ctx context.Context) ApiListApiV1DelayprofileRequest { - return ApiListApiV1DelayprofileRequest{ +func (a *DelayProfileApiService) ListApiV1DelayProfile(ctx context.Context) ApiListApiV1DelayProfileRequest { + return ApiListApiV1DelayProfileRequest{ ApiService: a, ctx: ctx, } @@ -423,7 +423,7 @@ func (a *DelayProfileApiService) ListApiV1Delayprofile(ctx context.Context) ApiL // Execute executes the request // @return []DelayProfileResource -func (a *DelayProfileApiService) ListApiV1DelayprofileExecute(r ApiListApiV1DelayprofileRequest) ([]*DelayProfileResource, *http.Response, error) { +func (a *DelayProfileApiService) ListApiV1DelayProfileExecute(r ApiListApiV1DelayProfileRequest) ([]*DelayProfileResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -431,7 +431,7 @@ func (a *DelayProfileApiService) ListApiV1DelayprofileExecute(r ApiListApiV1Dela localVarReturnValue []*DelayProfileResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DelayProfileApiService.ListApiV1Delayprofile") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DelayProfileApiService.ListApiV1DelayProfile") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -523,31 +523,31 @@ func (a *DelayProfileApiService) ListApiV1DelayprofileExecute(r ApiListApiV1Dela return localVarReturnValue, localVarHTTPResponse, nil } -type ApiUpdateApiV1DelayprofileRequest struct { +type ApiUpdateApiV1DelayProfileRequest struct { ctx context.Context ApiService *DelayProfileApiService id string delayProfileResource *DelayProfileResource } -func (r ApiUpdateApiV1DelayprofileRequest) DelayProfileResource(delayProfileResource DelayProfileResource) ApiUpdateApiV1DelayprofileRequest { +func (r ApiUpdateApiV1DelayProfileRequest) DelayProfileResource(delayProfileResource DelayProfileResource) ApiUpdateApiV1DelayProfileRequest { r.delayProfileResource = &delayProfileResource return r } -func (r ApiUpdateApiV1DelayprofileRequest) Execute() (*DelayProfileResource, *http.Response, error) { - return r.ApiService.UpdateApiV1DelayprofileExecute(r) +func (r ApiUpdateApiV1DelayProfileRequest) Execute() (*DelayProfileResource, *http.Response, error) { + return r.ApiService.UpdateApiV1DelayProfileExecute(r) } /* -UpdateApiV1Delayprofile Method for UpdateApiV1Delayprofile +UpdateApiV1DelayProfile Method for UpdateApiV1DelayProfile @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id - @return ApiUpdateApiV1DelayprofileRequest + @return ApiUpdateApiV1DelayProfileRequest */ -func (a *DelayProfileApiService) UpdateApiV1Delayprofile(ctx context.Context, id string) ApiUpdateApiV1DelayprofileRequest { - return ApiUpdateApiV1DelayprofileRequest{ +func (a *DelayProfileApiService) UpdateApiV1DelayProfile(ctx context.Context, id string) ApiUpdateApiV1DelayProfileRequest { + return ApiUpdateApiV1DelayProfileRequest{ ApiService: a, ctx: ctx, id: id, @@ -556,7 +556,7 @@ func (a *DelayProfileApiService) UpdateApiV1Delayprofile(ctx context.Context, id // Execute executes the request // @return DelayProfileResource -func (a *DelayProfileApiService) UpdateApiV1DelayprofileExecute(r ApiUpdateApiV1DelayprofileRequest) (*DelayProfileResource, *http.Response, error) { +func (a *DelayProfileApiService) UpdateApiV1DelayProfileExecute(r ApiUpdateApiV1DelayProfileRequest) (*DelayProfileResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} @@ -564,7 +564,7 @@ func (a *DelayProfileApiService) UpdateApiV1DelayprofileExecute(r ApiUpdateApiV1 localVarReturnValue *DelayProfileResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DelayProfileApiService.UpdateApiV1Delayprofile") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DelayProfileApiService.UpdateApiV1DelayProfile") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -659,31 +659,31 @@ func (a *DelayProfileApiService) UpdateApiV1DelayprofileExecute(r ApiUpdateApiV1 return localVarReturnValue, localVarHTTPResponse, nil } -type ApiUpdateApiV1DelayprofileReorderRequest struct { +type ApiUpdateApiV1DelayProfileReorderRequest struct { ctx context.Context ApiService *DelayProfileApiService id int32 afterId *int32 } -func (r ApiUpdateApiV1DelayprofileReorderRequest) AfterId(afterId int32) ApiUpdateApiV1DelayprofileReorderRequest { +func (r ApiUpdateApiV1DelayProfileReorderRequest) AfterId(afterId int32) ApiUpdateApiV1DelayProfileReorderRequest { r.afterId = &afterId return r } -func (r ApiUpdateApiV1DelayprofileReorderRequest) Execute() (*http.Response, error) { - return r.ApiService.UpdateApiV1DelayprofileReorderExecute(r) +func (r ApiUpdateApiV1DelayProfileReorderRequest) Execute() (*http.Response, error) { + return r.ApiService.UpdateApiV1DelayProfileReorderExecute(r) } /* -UpdateApiV1DelayprofileReorder Method for UpdateApiV1DelayprofileReorder +UpdateApiV1DelayProfileReorder Method for UpdateApiV1DelayProfileReorder @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id - @return ApiUpdateApiV1DelayprofileReorderRequest + @return ApiUpdateApiV1DelayProfileReorderRequest */ -func (a *DelayProfileApiService) UpdateApiV1DelayprofileReorder(ctx context.Context, id int32) ApiUpdateApiV1DelayprofileReorderRequest { - return ApiUpdateApiV1DelayprofileReorderRequest{ +func (a *DelayProfileApiService) UpdateApiV1DelayProfileReorder(ctx context.Context, id int32) ApiUpdateApiV1DelayProfileReorderRequest { + return ApiUpdateApiV1DelayProfileReorderRequest{ ApiService: a, ctx: ctx, id: id, @@ -691,14 +691,14 @@ func (a *DelayProfileApiService) UpdateApiV1DelayprofileReorder(ctx context.Cont } // Execute executes the request -func (a *DelayProfileApiService) UpdateApiV1DelayprofileReorderExecute(r ApiUpdateApiV1DelayprofileReorderRequest) (*http.Response, error) { +func (a *DelayProfileApiService) UpdateApiV1DelayProfileReorderExecute(r ApiUpdateApiV1DelayProfileReorderRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DelayProfileApiService.UpdateApiV1DelayprofileReorder") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DelayProfileApiService.UpdateApiV1DelayProfileReorder") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } diff --git a/lidarr/api_disk_space.go b/lidarr/api_disk_space.go index 2892fc9..f0fc06c 100644 --- a/lidarr/api_disk_space.go +++ b/lidarr/api_disk_space.go @@ -21,23 +21,23 @@ import ( // DiskSpaceApiService DiskSpaceApi service type DiskSpaceApiService service -type ApiListApiV1DiskspaceRequest struct { +type ApiListApiV1DiskSpaceRequest struct { ctx context.Context ApiService *DiskSpaceApiService } -func (r ApiListApiV1DiskspaceRequest) Execute() ([]*DiskSpaceResource, *http.Response, error) { - return r.ApiService.ListApiV1DiskspaceExecute(r) +func (r ApiListApiV1DiskSpaceRequest) Execute() ([]*DiskSpaceResource, *http.Response, error) { + return r.ApiService.ListApiV1DiskSpaceExecute(r) } /* -ListApiV1Diskspace Method for ListApiV1Diskspace +ListApiV1DiskSpace Method for ListApiV1DiskSpace @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiListApiV1DiskspaceRequest + @return ApiListApiV1DiskSpaceRequest */ -func (a *DiskSpaceApiService) ListApiV1Diskspace(ctx context.Context) ApiListApiV1DiskspaceRequest { - return ApiListApiV1DiskspaceRequest{ +func (a *DiskSpaceApiService) ListApiV1DiskSpace(ctx context.Context) ApiListApiV1DiskSpaceRequest { + return ApiListApiV1DiskSpaceRequest{ ApiService: a, ctx: ctx, } @@ -45,7 +45,7 @@ func (a *DiskSpaceApiService) ListApiV1Diskspace(ctx context.Context) ApiListApi // Execute executes the request // @return []DiskSpaceResource -func (a *DiskSpaceApiService) ListApiV1DiskspaceExecute(r ApiListApiV1DiskspaceRequest) ([]*DiskSpaceResource, *http.Response, error) { +func (a *DiskSpaceApiService) ListApiV1DiskSpaceExecute(r ApiListApiV1DiskSpaceRequest) ([]*DiskSpaceResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -53,7 +53,7 @@ func (a *DiskSpaceApiService) ListApiV1DiskspaceExecute(r ApiListApiV1DiskspaceR localVarReturnValue []*DiskSpaceResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DiskSpaceApiService.ListApiV1Diskspace") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DiskSpaceApiService.ListApiV1DiskSpace") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } diff --git a/lidarr/api_download_client.go b/lidarr/api_download_client.go index fbac971..a89b255 100644 --- a/lidarr/api_download_client.go +++ b/lidarr/api_download_client.go @@ -22,29 +22,29 @@ import ( // DownloadClientApiService DownloadClientApi service type DownloadClientApiService service -type ApiCreateApiV1DownloadclientRequest struct { +type ApiCreateApiV1DownloadClientRequest struct { ctx context.Context ApiService *DownloadClientApiService downloadClientResource *DownloadClientResource } -func (r ApiCreateApiV1DownloadclientRequest) DownloadClientResource(downloadClientResource DownloadClientResource) ApiCreateApiV1DownloadclientRequest { +func (r ApiCreateApiV1DownloadClientRequest) DownloadClientResource(downloadClientResource DownloadClientResource) ApiCreateApiV1DownloadClientRequest { r.downloadClientResource = &downloadClientResource return r } -func (r ApiCreateApiV1DownloadclientRequest) Execute() (*DownloadClientResource, *http.Response, error) { - return r.ApiService.CreateApiV1DownloadclientExecute(r) +func (r ApiCreateApiV1DownloadClientRequest) Execute() (*DownloadClientResource, *http.Response, error) { + return r.ApiService.CreateApiV1DownloadClientExecute(r) } /* -CreateApiV1Downloadclient Method for CreateApiV1Downloadclient +CreateApiV1DownloadClient Method for CreateApiV1DownloadClient @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiCreateApiV1DownloadclientRequest + @return ApiCreateApiV1DownloadClientRequest */ -func (a *DownloadClientApiService) CreateApiV1Downloadclient(ctx context.Context) ApiCreateApiV1DownloadclientRequest { - return ApiCreateApiV1DownloadclientRequest{ +func (a *DownloadClientApiService) CreateApiV1DownloadClient(ctx context.Context) ApiCreateApiV1DownloadClientRequest { + return ApiCreateApiV1DownloadClientRequest{ ApiService: a, ctx: ctx, } @@ -52,7 +52,7 @@ func (a *DownloadClientApiService) CreateApiV1Downloadclient(ctx context.Context // Execute executes the request // @return DownloadClientResource -func (a *DownloadClientApiService) CreateApiV1DownloadclientExecute(r ApiCreateApiV1DownloadclientRequest) (*DownloadClientResource, *http.Response, error) { +func (a *DownloadClientApiService) CreateApiV1DownloadClientExecute(r ApiCreateApiV1DownloadClientRequest) (*DownloadClientResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -60,7 +60,7 @@ func (a *DownloadClientApiService) CreateApiV1DownloadclientExecute(r ApiCreateA localVarReturnValue *DownloadClientResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DownloadClientApiService.CreateApiV1Downloadclient") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DownloadClientApiService.CreateApiV1DownloadClient") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -154,31 +154,31 @@ func (a *DownloadClientApiService) CreateApiV1DownloadclientExecute(r ApiCreateA return localVarReturnValue, localVarHTTPResponse, nil } -type ApiCreateApiV1DownloadclientActionByNameRequest struct { +type ApiCreateApiV1DownloadClientActionByNameRequest struct { ctx context.Context ApiService *DownloadClientApiService name string downloadClientResource *DownloadClientResource } -func (r ApiCreateApiV1DownloadclientActionByNameRequest) DownloadClientResource(downloadClientResource DownloadClientResource) ApiCreateApiV1DownloadclientActionByNameRequest { +func (r ApiCreateApiV1DownloadClientActionByNameRequest) DownloadClientResource(downloadClientResource DownloadClientResource) ApiCreateApiV1DownloadClientActionByNameRequest { r.downloadClientResource = &downloadClientResource return r } -func (r ApiCreateApiV1DownloadclientActionByNameRequest) Execute() (*http.Response, error) { - return r.ApiService.CreateApiV1DownloadclientActionByNameExecute(r) +func (r ApiCreateApiV1DownloadClientActionByNameRequest) Execute() (*http.Response, error) { + return r.ApiService.CreateApiV1DownloadClientActionByNameExecute(r) } /* -CreateApiV1DownloadclientActionByName Method for CreateApiV1DownloadclientActionByName +CreateApiV1DownloadClientActionByName Method for CreateApiV1DownloadClientActionByName @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param name - @return ApiCreateApiV1DownloadclientActionByNameRequest + @return ApiCreateApiV1DownloadClientActionByNameRequest */ -func (a *DownloadClientApiService) CreateApiV1DownloadclientActionByName(ctx context.Context, name string) ApiCreateApiV1DownloadclientActionByNameRequest { - return ApiCreateApiV1DownloadclientActionByNameRequest{ +func (a *DownloadClientApiService) CreateApiV1DownloadClientActionByName(ctx context.Context, name string) ApiCreateApiV1DownloadClientActionByNameRequest { + return ApiCreateApiV1DownloadClientActionByNameRequest{ ApiService: a, ctx: ctx, name: name, @@ -186,14 +186,14 @@ func (a *DownloadClientApiService) CreateApiV1DownloadclientActionByName(ctx con } // Execute executes the request -func (a *DownloadClientApiService) CreateApiV1DownloadclientActionByNameExecute(r ApiCreateApiV1DownloadclientActionByNameRequest) (*http.Response, error) { +func (a *DownloadClientApiService) CreateApiV1DownloadClientActionByNameExecute(r ApiCreateApiV1DownloadClientActionByNameRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DownloadClientApiService.CreateApiV1DownloadclientActionByName") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DownloadClientApiService.CreateApiV1DownloadClientActionByName") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -279,25 +279,25 @@ func (a *DownloadClientApiService) CreateApiV1DownloadclientActionByNameExecute( return localVarHTTPResponse, nil } -type ApiDeleteApiV1DownloadclientRequest struct { +type ApiDeleteApiV1DownloadClientRequest struct { ctx context.Context ApiService *DownloadClientApiService id int32 } -func (r ApiDeleteApiV1DownloadclientRequest) Execute() (*http.Response, error) { - return r.ApiService.DeleteApiV1DownloadclientExecute(r) +func (r ApiDeleteApiV1DownloadClientRequest) Execute() (*http.Response, error) { + return r.ApiService.DeleteApiV1DownloadClientExecute(r) } /* -DeleteApiV1Downloadclient Method for DeleteApiV1Downloadclient +DeleteApiV1DownloadClient Method for DeleteApiV1DownloadClient @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id - @return ApiDeleteApiV1DownloadclientRequest + @return ApiDeleteApiV1DownloadClientRequest */ -func (a *DownloadClientApiService) DeleteApiV1Downloadclient(ctx context.Context, id int32) ApiDeleteApiV1DownloadclientRequest { - return ApiDeleteApiV1DownloadclientRequest{ +func (a *DownloadClientApiService) DeleteApiV1DownloadClient(ctx context.Context, id int32) ApiDeleteApiV1DownloadClientRequest { + return ApiDeleteApiV1DownloadClientRequest{ ApiService: a, ctx: ctx, id: id, @@ -305,14 +305,14 @@ func (a *DownloadClientApiService) DeleteApiV1Downloadclient(ctx context.Context } // Execute executes the request -func (a *DownloadClientApiService) DeleteApiV1DownloadclientExecute(r ApiDeleteApiV1DownloadclientRequest) (*http.Response, error) { +func (a *DownloadClientApiService) DeleteApiV1DownloadClientExecute(r ApiDeleteApiV1DownloadClientRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DownloadClientApiService.DeleteApiV1Downloadclient") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DownloadClientApiService.DeleteApiV1DownloadClient") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -396,25 +396,25 @@ func (a *DownloadClientApiService) DeleteApiV1DownloadclientExecute(r ApiDeleteA return localVarHTTPResponse, nil } -type ApiGetApiV1DownloadclientByIdRequest struct { +type ApiGetApiV1DownloadClientByIdRequest struct { ctx context.Context ApiService *DownloadClientApiService id int32 } -func (r ApiGetApiV1DownloadclientByIdRequest) Execute() (*DownloadClientResource, *http.Response, error) { - return r.ApiService.GetApiV1DownloadclientByIdExecute(r) +func (r ApiGetApiV1DownloadClientByIdRequest) Execute() (*DownloadClientResource, *http.Response, error) { + return r.ApiService.GetApiV1DownloadClientByIdExecute(r) } /* -GetApiV1DownloadclientById Method for GetApiV1DownloadclientById +GetApiV1DownloadClientById Method for GetApiV1DownloadClientById @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id - @return ApiGetApiV1DownloadclientByIdRequest + @return ApiGetApiV1DownloadClientByIdRequest */ -func (a *DownloadClientApiService) GetApiV1DownloadclientById(ctx context.Context, id int32) ApiGetApiV1DownloadclientByIdRequest { - return ApiGetApiV1DownloadclientByIdRequest{ +func (a *DownloadClientApiService) GetApiV1DownloadClientById(ctx context.Context, id int32) ApiGetApiV1DownloadClientByIdRequest { + return ApiGetApiV1DownloadClientByIdRequest{ ApiService: a, ctx: ctx, id: id, @@ -423,7 +423,7 @@ func (a *DownloadClientApiService) GetApiV1DownloadclientById(ctx context.Contex // Execute executes the request // @return DownloadClientResource -func (a *DownloadClientApiService) GetApiV1DownloadclientByIdExecute(r ApiGetApiV1DownloadclientByIdRequest) (*DownloadClientResource, *http.Response, error) { +func (a *DownloadClientApiService) GetApiV1DownloadClientByIdExecute(r ApiGetApiV1DownloadClientByIdRequest) (*DownloadClientResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -431,7 +431,7 @@ func (a *DownloadClientApiService) GetApiV1DownloadclientByIdExecute(r ApiGetApi localVarReturnValue *DownloadClientResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DownloadClientApiService.GetApiV1DownloadclientById") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DownloadClientApiService.GetApiV1DownloadClientById") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -524,23 +524,23 @@ func (a *DownloadClientApiService) GetApiV1DownloadclientByIdExecute(r ApiGetApi return localVarReturnValue, localVarHTTPResponse, nil } -type ApiListApiV1DownloadclientRequest struct { +type ApiListApiV1DownloadClientRequest struct { ctx context.Context ApiService *DownloadClientApiService } -func (r ApiListApiV1DownloadclientRequest) Execute() ([]*DownloadClientResource, *http.Response, error) { - return r.ApiService.ListApiV1DownloadclientExecute(r) +func (r ApiListApiV1DownloadClientRequest) Execute() ([]*DownloadClientResource, *http.Response, error) { + return r.ApiService.ListApiV1DownloadClientExecute(r) } /* -ListApiV1Downloadclient Method for ListApiV1Downloadclient +ListApiV1DownloadClient Method for ListApiV1DownloadClient @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiListApiV1DownloadclientRequest + @return ApiListApiV1DownloadClientRequest */ -func (a *DownloadClientApiService) ListApiV1Downloadclient(ctx context.Context) ApiListApiV1DownloadclientRequest { - return ApiListApiV1DownloadclientRequest{ +func (a *DownloadClientApiService) ListApiV1DownloadClient(ctx context.Context) ApiListApiV1DownloadClientRequest { + return ApiListApiV1DownloadClientRequest{ ApiService: a, ctx: ctx, } @@ -548,7 +548,7 @@ func (a *DownloadClientApiService) ListApiV1Downloadclient(ctx context.Context) // Execute executes the request // @return []DownloadClientResource -func (a *DownloadClientApiService) ListApiV1DownloadclientExecute(r ApiListApiV1DownloadclientRequest) ([]*DownloadClientResource, *http.Response, error) { +func (a *DownloadClientApiService) ListApiV1DownloadClientExecute(r ApiListApiV1DownloadClientRequest) ([]*DownloadClientResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -556,7 +556,7 @@ func (a *DownloadClientApiService) ListApiV1DownloadclientExecute(r ApiListApiV1 localVarReturnValue []*DownloadClientResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DownloadClientApiService.ListApiV1Downloadclient") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DownloadClientApiService.ListApiV1DownloadClient") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -648,23 +648,23 @@ func (a *DownloadClientApiService) ListApiV1DownloadclientExecute(r ApiListApiV1 return localVarReturnValue, localVarHTTPResponse, nil } -type ApiListApiV1DownloadclientSchemaRequest struct { +type ApiListApiV1DownloadClientSchemaRequest struct { ctx context.Context ApiService *DownloadClientApiService } -func (r ApiListApiV1DownloadclientSchemaRequest) Execute() ([]*DownloadClientResource, *http.Response, error) { - return r.ApiService.ListApiV1DownloadclientSchemaExecute(r) +func (r ApiListApiV1DownloadClientSchemaRequest) Execute() ([]*DownloadClientResource, *http.Response, error) { + return r.ApiService.ListApiV1DownloadClientSchemaExecute(r) } /* -ListApiV1DownloadclientSchema Method for ListApiV1DownloadclientSchema +ListApiV1DownloadClientSchema Method for ListApiV1DownloadClientSchema @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiListApiV1DownloadclientSchemaRequest + @return ApiListApiV1DownloadClientSchemaRequest */ -func (a *DownloadClientApiService) ListApiV1DownloadclientSchema(ctx context.Context) ApiListApiV1DownloadclientSchemaRequest { - return ApiListApiV1DownloadclientSchemaRequest{ +func (a *DownloadClientApiService) ListApiV1DownloadClientSchema(ctx context.Context) ApiListApiV1DownloadClientSchemaRequest { + return ApiListApiV1DownloadClientSchemaRequest{ ApiService: a, ctx: ctx, } @@ -672,7 +672,7 @@ func (a *DownloadClientApiService) ListApiV1DownloadclientSchema(ctx context.Con // Execute executes the request // @return []DownloadClientResource -func (a *DownloadClientApiService) ListApiV1DownloadclientSchemaExecute(r ApiListApiV1DownloadclientSchemaRequest) ([]*DownloadClientResource, *http.Response, error) { +func (a *DownloadClientApiService) ListApiV1DownloadClientSchemaExecute(r ApiListApiV1DownloadClientSchemaRequest) ([]*DownloadClientResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -680,7 +680,7 @@ func (a *DownloadClientApiService) ListApiV1DownloadclientSchemaExecute(r ApiLis localVarReturnValue []*DownloadClientResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DownloadClientApiService.ListApiV1DownloadclientSchema") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DownloadClientApiService.ListApiV1DownloadClientSchema") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -772,43 +772,43 @@ func (a *DownloadClientApiService) ListApiV1DownloadclientSchemaExecute(r ApiLis return localVarReturnValue, localVarHTTPResponse, nil } -type ApiTestApiV1DownloadclientRequest struct { +type ApiTestApiV1DownloadClientRequest struct { ctx context.Context ApiService *DownloadClientApiService downloadClientResource *DownloadClientResource } -func (r ApiTestApiV1DownloadclientRequest) DownloadClientResource(downloadClientResource DownloadClientResource) ApiTestApiV1DownloadclientRequest { +func (r ApiTestApiV1DownloadClientRequest) DownloadClientResource(downloadClientResource DownloadClientResource) ApiTestApiV1DownloadClientRequest { r.downloadClientResource = &downloadClientResource return r } -func (r ApiTestApiV1DownloadclientRequest) Execute() (*http.Response, error) { - return r.ApiService.TestApiV1DownloadclientExecute(r) +func (r ApiTestApiV1DownloadClientRequest) Execute() (*http.Response, error) { + return r.ApiService.TestApiV1DownloadClientExecute(r) } /* -TestApiV1Downloadclient Method for TestApiV1Downloadclient +TestApiV1DownloadClient Method for TestApiV1DownloadClient @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiTestApiV1DownloadclientRequest + @return ApiTestApiV1DownloadClientRequest */ -func (a *DownloadClientApiService) TestApiV1Downloadclient(ctx context.Context) ApiTestApiV1DownloadclientRequest { - return ApiTestApiV1DownloadclientRequest{ +func (a *DownloadClientApiService) TestApiV1DownloadClient(ctx context.Context) ApiTestApiV1DownloadClientRequest { + return ApiTestApiV1DownloadClientRequest{ ApiService: a, ctx: ctx, } } // Execute executes the request -func (a *DownloadClientApiService) TestApiV1DownloadclientExecute(r ApiTestApiV1DownloadclientRequest) (*http.Response, error) { +func (a *DownloadClientApiService) TestApiV1DownloadClientExecute(r ApiTestApiV1DownloadClientRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DownloadClientApiService.TestApiV1Downloadclient") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DownloadClientApiService.TestApiV1DownloadClient") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -893,37 +893,37 @@ func (a *DownloadClientApiService) TestApiV1DownloadclientExecute(r ApiTestApiV1 return localVarHTTPResponse, nil } -type ApiTestallApiV1DownloadclientRequest struct { +type ApiTestallApiV1DownloadClientRequest struct { ctx context.Context ApiService *DownloadClientApiService } -func (r ApiTestallApiV1DownloadclientRequest) Execute() (*http.Response, error) { - return r.ApiService.TestallApiV1DownloadclientExecute(r) +func (r ApiTestallApiV1DownloadClientRequest) Execute() (*http.Response, error) { + return r.ApiService.TestallApiV1DownloadClientExecute(r) } /* -TestallApiV1Downloadclient Method for TestallApiV1Downloadclient +TestallApiV1DownloadClient Method for TestallApiV1DownloadClient @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiTestallApiV1DownloadclientRequest + @return ApiTestallApiV1DownloadClientRequest */ -func (a *DownloadClientApiService) TestallApiV1Downloadclient(ctx context.Context) ApiTestallApiV1DownloadclientRequest { - return ApiTestallApiV1DownloadclientRequest{ +func (a *DownloadClientApiService) TestallApiV1DownloadClient(ctx context.Context) ApiTestallApiV1DownloadClientRequest { + return ApiTestallApiV1DownloadClientRequest{ ApiService: a, ctx: ctx, } } // Execute executes the request -func (a *DownloadClientApiService) TestallApiV1DownloadclientExecute(r ApiTestallApiV1DownloadclientRequest) (*http.Response, error) { +func (a *DownloadClientApiService) TestallApiV1DownloadClientExecute(r ApiTestallApiV1DownloadClientRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DownloadClientApiService.TestallApiV1Downloadclient") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DownloadClientApiService.TestallApiV1DownloadClient") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -1006,31 +1006,31 @@ func (a *DownloadClientApiService) TestallApiV1DownloadclientExecute(r ApiTestal return localVarHTTPResponse, nil } -type ApiUpdateApiV1DownloadclientRequest struct { +type ApiUpdateApiV1DownloadClientRequest struct { ctx context.Context ApiService *DownloadClientApiService id string downloadClientResource *DownloadClientResource } -func (r ApiUpdateApiV1DownloadclientRequest) DownloadClientResource(downloadClientResource DownloadClientResource) ApiUpdateApiV1DownloadclientRequest { +func (r ApiUpdateApiV1DownloadClientRequest) DownloadClientResource(downloadClientResource DownloadClientResource) ApiUpdateApiV1DownloadClientRequest { r.downloadClientResource = &downloadClientResource return r } -func (r ApiUpdateApiV1DownloadclientRequest) Execute() (*DownloadClientResource, *http.Response, error) { - return r.ApiService.UpdateApiV1DownloadclientExecute(r) +func (r ApiUpdateApiV1DownloadClientRequest) Execute() (*DownloadClientResource, *http.Response, error) { + return r.ApiService.UpdateApiV1DownloadClientExecute(r) } /* -UpdateApiV1Downloadclient Method for UpdateApiV1Downloadclient +UpdateApiV1DownloadClient Method for UpdateApiV1DownloadClient @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id - @return ApiUpdateApiV1DownloadclientRequest + @return ApiUpdateApiV1DownloadClientRequest */ -func (a *DownloadClientApiService) UpdateApiV1Downloadclient(ctx context.Context, id string) ApiUpdateApiV1DownloadclientRequest { - return ApiUpdateApiV1DownloadclientRequest{ +func (a *DownloadClientApiService) UpdateApiV1DownloadClient(ctx context.Context, id string) ApiUpdateApiV1DownloadClientRequest { + return ApiUpdateApiV1DownloadClientRequest{ ApiService: a, ctx: ctx, id: id, @@ -1039,7 +1039,7 @@ func (a *DownloadClientApiService) UpdateApiV1Downloadclient(ctx context.Context // Execute executes the request // @return DownloadClientResource -func (a *DownloadClientApiService) UpdateApiV1DownloadclientExecute(r ApiUpdateApiV1DownloadclientRequest) (*DownloadClientResource, *http.Response, error) { +func (a *DownloadClientApiService) UpdateApiV1DownloadClientExecute(r ApiUpdateApiV1DownloadClientRequest) (*DownloadClientResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} @@ -1047,7 +1047,7 @@ func (a *DownloadClientApiService) UpdateApiV1DownloadclientExecute(r ApiUpdateA localVarReturnValue *DownloadClientResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DownloadClientApiService.UpdateApiV1Downloadclient") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DownloadClientApiService.UpdateApiV1DownloadClient") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } diff --git a/lidarr/api_file_system.go b/lidarr/api_file_system.go index 37aac5f..196d2d7 100644 --- a/lidarr/api_file_system.go +++ b/lidarr/api_file_system.go @@ -21,7 +21,7 @@ import ( // FileSystemApiService FileSystemApi service type FileSystemApiService service -type ApiGetApiV1FilesystemRequest struct { +type ApiGetApiV1FileSystemRequest struct { ctx context.Context ApiService *FileSystemApiService path *string @@ -29,47 +29,47 @@ type ApiGetApiV1FilesystemRequest struct { allowFoldersWithoutTrailingSlashes *bool } -func (r ApiGetApiV1FilesystemRequest) Path(path string) ApiGetApiV1FilesystemRequest { +func (r ApiGetApiV1FileSystemRequest) Path(path string) ApiGetApiV1FileSystemRequest { r.path = &path return r } -func (r ApiGetApiV1FilesystemRequest) IncludeFiles(includeFiles bool) ApiGetApiV1FilesystemRequest { +func (r ApiGetApiV1FileSystemRequest) IncludeFiles(includeFiles bool) ApiGetApiV1FileSystemRequest { r.includeFiles = &includeFiles return r } -func (r ApiGetApiV1FilesystemRequest) AllowFoldersWithoutTrailingSlashes(allowFoldersWithoutTrailingSlashes bool) ApiGetApiV1FilesystemRequest { +func (r ApiGetApiV1FileSystemRequest) AllowFoldersWithoutTrailingSlashes(allowFoldersWithoutTrailingSlashes bool) ApiGetApiV1FileSystemRequest { r.allowFoldersWithoutTrailingSlashes = &allowFoldersWithoutTrailingSlashes return r } -func (r ApiGetApiV1FilesystemRequest) Execute() (*http.Response, error) { - return r.ApiService.GetApiV1FilesystemExecute(r) +func (r ApiGetApiV1FileSystemRequest) Execute() (*http.Response, error) { + return r.ApiService.GetApiV1FileSystemExecute(r) } /* -GetApiV1Filesystem Method for GetApiV1Filesystem +GetApiV1FileSystem Method for GetApiV1FileSystem @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiGetApiV1FilesystemRequest + @return ApiGetApiV1FileSystemRequest */ -func (a *FileSystemApiService) GetApiV1Filesystem(ctx context.Context) ApiGetApiV1FilesystemRequest { - return ApiGetApiV1FilesystemRequest{ +func (a *FileSystemApiService) GetApiV1FileSystem(ctx context.Context) ApiGetApiV1FileSystemRequest { + return ApiGetApiV1FileSystemRequest{ ApiService: a, ctx: ctx, } } // Execute executes the request -func (a *FileSystemApiService) GetApiV1FilesystemExecute(r ApiGetApiV1FilesystemRequest) (*http.Response, error) { +func (a *FileSystemApiService) GetApiV1FileSystemExecute(r ApiGetApiV1FileSystemRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "FileSystemApiService.GetApiV1Filesystem") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "FileSystemApiService.GetApiV1FileSystem") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -161,43 +161,43 @@ func (a *FileSystemApiService) GetApiV1FilesystemExecute(r ApiGetApiV1Filesystem return localVarHTTPResponse, nil } -type ApiGetApiV1FilesystemMediafilesRequest struct { +type ApiGetApiV1FileSystemMediafilesRequest struct { ctx context.Context ApiService *FileSystemApiService path *string } -func (r ApiGetApiV1FilesystemMediafilesRequest) Path(path string) ApiGetApiV1FilesystemMediafilesRequest { +func (r ApiGetApiV1FileSystemMediafilesRequest) Path(path string) ApiGetApiV1FileSystemMediafilesRequest { r.path = &path return r } -func (r ApiGetApiV1FilesystemMediafilesRequest) Execute() (*http.Response, error) { - return r.ApiService.GetApiV1FilesystemMediafilesExecute(r) +func (r ApiGetApiV1FileSystemMediafilesRequest) Execute() (*http.Response, error) { + return r.ApiService.GetApiV1FileSystemMediafilesExecute(r) } /* -GetApiV1FilesystemMediafiles Method for GetApiV1FilesystemMediafiles +GetApiV1FileSystemMediafiles Method for GetApiV1FileSystemMediafiles @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiGetApiV1FilesystemMediafilesRequest + @return ApiGetApiV1FileSystemMediafilesRequest */ -func (a *FileSystemApiService) GetApiV1FilesystemMediafiles(ctx context.Context) ApiGetApiV1FilesystemMediafilesRequest { - return ApiGetApiV1FilesystemMediafilesRequest{ +func (a *FileSystemApiService) GetApiV1FileSystemMediafiles(ctx context.Context) ApiGetApiV1FileSystemMediafilesRequest { + return ApiGetApiV1FileSystemMediafilesRequest{ ApiService: a, ctx: ctx, } } // Execute executes the request -func (a *FileSystemApiService) GetApiV1FilesystemMediafilesExecute(r ApiGetApiV1FilesystemMediafilesRequest) (*http.Response, error) { +func (a *FileSystemApiService) GetApiV1FileSystemMediafilesExecute(r ApiGetApiV1FileSystemMediafilesRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "FileSystemApiService.GetApiV1FilesystemMediafiles") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "FileSystemApiService.GetApiV1FileSystemMediafiles") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -283,43 +283,43 @@ func (a *FileSystemApiService) GetApiV1FilesystemMediafilesExecute(r ApiGetApiV1 return localVarHTTPResponse, nil } -type ApiGetApiV1FilesystemTypeRequest struct { +type ApiGetApiV1FileSystemTypeRequest struct { ctx context.Context ApiService *FileSystemApiService path *string } -func (r ApiGetApiV1FilesystemTypeRequest) Path(path string) ApiGetApiV1FilesystemTypeRequest { +func (r ApiGetApiV1FileSystemTypeRequest) Path(path string) ApiGetApiV1FileSystemTypeRequest { r.path = &path return r } -func (r ApiGetApiV1FilesystemTypeRequest) Execute() (*http.Response, error) { - return r.ApiService.GetApiV1FilesystemTypeExecute(r) +func (r ApiGetApiV1FileSystemTypeRequest) Execute() (*http.Response, error) { + return r.ApiService.GetApiV1FileSystemTypeExecute(r) } /* -GetApiV1FilesystemType Method for GetApiV1FilesystemType +GetApiV1FileSystemType Method for GetApiV1FileSystemType @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiGetApiV1FilesystemTypeRequest + @return ApiGetApiV1FileSystemTypeRequest */ -func (a *FileSystemApiService) GetApiV1FilesystemType(ctx context.Context) ApiGetApiV1FilesystemTypeRequest { - return ApiGetApiV1FilesystemTypeRequest{ +func (a *FileSystemApiService) GetApiV1FileSystemType(ctx context.Context) ApiGetApiV1FileSystemTypeRequest { + return ApiGetApiV1FileSystemTypeRequest{ ApiService: a, ctx: ctx, } } // Execute executes the request -func (a *FileSystemApiService) GetApiV1FilesystemTypeExecute(r ApiGetApiV1FilesystemTypeRequest) (*http.Response, error) { +func (a *FileSystemApiService) GetApiV1FileSystemTypeExecute(r ApiGetApiV1FileSystemTypeRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "FileSystemApiService.GetApiV1FilesystemType") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "FileSystemApiService.GetApiV1FileSystemType") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } diff --git a/lidarr/api_import_list.go b/lidarr/api_import_list.go index ec35bdb..0843d08 100644 --- a/lidarr/api_import_list.go +++ b/lidarr/api_import_list.go @@ -22,29 +22,29 @@ import ( // ImportListApiService ImportListApi service type ImportListApiService service -type ApiCreateApiV1ImportlistRequest struct { +type ApiCreateApiV1ImportListRequest struct { ctx context.Context ApiService *ImportListApiService importListResource *ImportListResource } -func (r ApiCreateApiV1ImportlistRequest) ImportListResource(importListResource ImportListResource) ApiCreateApiV1ImportlistRequest { +func (r ApiCreateApiV1ImportListRequest) ImportListResource(importListResource ImportListResource) ApiCreateApiV1ImportListRequest { r.importListResource = &importListResource return r } -func (r ApiCreateApiV1ImportlistRequest) Execute() (*ImportListResource, *http.Response, error) { - return r.ApiService.CreateApiV1ImportlistExecute(r) +func (r ApiCreateApiV1ImportListRequest) Execute() (*ImportListResource, *http.Response, error) { + return r.ApiService.CreateApiV1ImportListExecute(r) } /* -CreateApiV1Importlist Method for CreateApiV1Importlist +CreateApiV1ImportList Method for CreateApiV1ImportList @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiCreateApiV1ImportlistRequest + @return ApiCreateApiV1ImportListRequest */ -func (a *ImportListApiService) CreateApiV1Importlist(ctx context.Context) ApiCreateApiV1ImportlistRequest { - return ApiCreateApiV1ImportlistRequest{ +func (a *ImportListApiService) CreateApiV1ImportList(ctx context.Context) ApiCreateApiV1ImportListRequest { + return ApiCreateApiV1ImportListRequest{ ApiService: a, ctx: ctx, } @@ -52,7 +52,7 @@ func (a *ImportListApiService) CreateApiV1Importlist(ctx context.Context) ApiCre // Execute executes the request // @return ImportListResource -func (a *ImportListApiService) CreateApiV1ImportlistExecute(r ApiCreateApiV1ImportlistRequest) (*ImportListResource, *http.Response, error) { +func (a *ImportListApiService) CreateApiV1ImportListExecute(r ApiCreateApiV1ImportListRequest) (*ImportListResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -60,7 +60,7 @@ func (a *ImportListApiService) CreateApiV1ImportlistExecute(r ApiCreateApiV1Impo localVarReturnValue *ImportListResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ImportListApiService.CreateApiV1Importlist") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ImportListApiService.CreateApiV1ImportList") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -154,31 +154,31 @@ func (a *ImportListApiService) CreateApiV1ImportlistExecute(r ApiCreateApiV1Impo return localVarReturnValue, localVarHTTPResponse, nil } -type ApiCreateApiV1ImportlistActionByNameRequest struct { +type ApiCreateApiV1ImportListActionByNameRequest struct { ctx context.Context ApiService *ImportListApiService name string importListResource *ImportListResource } -func (r ApiCreateApiV1ImportlistActionByNameRequest) ImportListResource(importListResource ImportListResource) ApiCreateApiV1ImportlistActionByNameRequest { +func (r ApiCreateApiV1ImportListActionByNameRequest) ImportListResource(importListResource ImportListResource) ApiCreateApiV1ImportListActionByNameRequest { r.importListResource = &importListResource return r } -func (r ApiCreateApiV1ImportlistActionByNameRequest) Execute() (*http.Response, error) { - return r.ApiService.CreateApiV1ImportlistActionByNameExecute(r) +func (r ApiCreateApiV1ImportListActionByNameRequest) Execute() (*http.Response, error) { + return r.ApiService.CreateApiV1ImportListActionByNameExecute(r) } /* -CreateApiV1ImportlistActionByName Method for CreateApiV1ImportlistActionByName +CreateApiV1ImportListActionByName Method for CreateApiV1ImportListActionByName @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param name - @return ApiCreateApiV1ImportlistActionByNameRequest + @return ApiCreateApiV1ImportListActionByNameRequest */ -func (a *ImportListApiService) CreateApiV1ImportlistActionByName(ctx context.Context, name string) ApiCreateApiV1ImportlistActionByNameRequest { - return ApiCreateApiV1ImportlistActionByNameRequest{ +func (a *ImportListApiService) CreateApiV1ImportListActionByName(ctx context.Context, name string) ApiCreateApiV1ImportListActionByNameRequest { + return ApiCreateApiV1ImportListActionByNameRequest{ ApiService: a, ctx: ctx, name: name, @@ -186,14 +186,14 @@ func (a *ImportListApiService) CreateApiV1ImportlistActionByName(ctx context.Con } // Execute executes the request -func (a *ImportListApiService) CreateApiV1ImportlistActionByNameExecute(r ApiCreateApiV1ImportlistActionByNameRequest) (*http.Response, error) { +func (a *ImportListApiService) CreateApiV1ImportListActionByNameExecute(r ApiCreateApiV1ImportListActionByNameRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ImportListApiService.CreateApiV1ImportlistActionByName") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ImportListApiService.CreateApiV1ImportListActionByName") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -279,25 +279,25 @@ func (a *ImportListApiService) CreateApiV1ImportlistActionByNameExecute(r ApiCre return localVarHTTPResponse, nil } -type ApiDeleteApiV1ImportlistRequest struct { +type ApiDeleteApiV1ImportListRequest struct { ctx context.Context ApiService *ImportListApiService id int32 } -func (r ApiDeleteApiV1ImportlistRequest) Execute() (*http.Response, error) { - return r.ApiService.DeleteApiV1ImportlistExecute(r) +func (r ApiDeleteApiV1ImportListRequest) Execute() (*http.Response, error) { + return r.ApiService.DeleteApiV1ImportListExecute(r) } /* -DeleteApiV1Importlist Method for DeleteApiV1Importlist +DeleteApiV1ImportList Method for DeleteApiV1ImportList @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id - @return ApiDeleteApiV1ImportlistRequest + @return ApiDeleteApiV1ImportListRequest */ -func (a *ImportListApiService) DeleteApiV1Importlist(ctx context.Context, id int32) ApiDeleteApiV1ImportlistRequest { - return ApiDeleteApiV1ImportlistRequest{ +func (a *ImportListApiService) DeleteApiV1ImportList(ctx context.Context, id int32) ApiDeleteApiV1ImportListRequest { + return ApiDeleteApiV1ImportListRequest{ ApiService: a, ctx: ctx, id: id, @@ -305,14 +305,14 @@ func (a *ImportListApiService) DeleteApiV1Importlist(ctx context.Context, id int } // Execute executes the request -func (a *ImportListApiService) DeleteApiV1ImportlistExecute(r ApiDeleteApiV1ImportlistRequest) (*http.Response, error) { +func (a *ImportListApiService) DeleteApiV1ImportListExecute(r ApiDeleteApiV1ImportListRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ImportListApiService.DeleteApiV1Importlist") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ImportListApiService.DeleteApiV1ImportList") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -396,25 +396,25 @@ func (a *ImportListApiService) DeleteApiV1ImportlistExecute(r ApiDeleteApiV1Impo return localVarHTTPResponse, nil } -type ApiGetApiV1ImportlistByIdRequest struct { +type ApiGetApiV1ImportListByIdRequest struct { ctx context.Context ApiService *ImportListApiService id int32 } -func (r ApiGetApiV1ImportlistByIdRequest) Execute() (*ImportListResource, *http.Response, error) { - return r.ApiService.GetApiV1ImportlistByIdExecute(r) +func (r ApiGetApiV1ImportListByIdRequest) Execute() (*ImportListResource, *http.Response, error) { + return r.ApiService.GetApiV1ImportListByIdExecute(r) } /* -GetApiV1ImportlistById Method for GetApiV1ImportlistById +GetApiV1ImportListById Method for GetApiV1ImportListById @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id - @return ApiGetApiV1ImportlistByIdRequest + @return ApiGetApiV1ImportListByIdRequest */ -func (a *ImportListApiService) GetApiV1ImportlistById(ctx context.Context, id int32) ApiGetApiV1ImportlistByIdRequest { - return ApiGetApiV1ImportlistByIdRequest{ +func (a *ImportListApiService) GetApiV1ImportListById(ctx context.Context, id int32) ApiGetApiV1ImportListByIdRequest { + return ApiGetApiV1ImportListByIdRequest{ ApiService: a, ctx: ctx, id: id, @@ -423,7 +423,7 @@ func (a *ImportListApiService) GetApiV1ImportlistById(ctx context.Context, id in // Execute executes the request // @return ImportListResource -func (a *ImportListApiService) GetApiV1ImportlistByIdExecute(r ApiGetApiV1ImportlistByIdRequest) (*ImportListResource, *http.Response, error) { +func (a *ImportListApiService) GetApiV1ImportListByIdExecute(r ApiGetApiV1ImportListByIdRequest) (*ImportListResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -431,7 +431,7 @@ func (a *ImportListApiService) GetApiV1ImportlistByIdExecute(r ApiGetApiV1Import localVarReturnValue *ImportListResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ImportListApiService.GetApiV1ImportlistById") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ImportListApiService.GetApiV1ImportListById") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -524,23 +524,23 @@ func (a *ImportListApiService) GetApiV1ImportlistByIdExecute(r ApiGetApiV1Import return localVarReturnValue, localVarHTTPResponse, nil } -type ApiListApiV1ImportlistRequest struct { +type ApiListApiV1ImportListRequest struct { ctx context.Context ApiService *ImportListApiService } -func (r ApiListApiV1ImportlistRequest) Execute() ([]*ImportListResource, *http.Response, error) { - return r.ApiService.ListApiV1ImportlistExecute(r) +func (r ApiListApiV1ImportListRequest) Execute() ([]*ImportListResource, *http.Response, error) { + return r.ApiService.ListApiV1ImportListExecute(r) } /* -ListApiV1Importlist Method for ListApiV1Importlist +ListApiV1ImportList Method for ListApiV1ImportList @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiListApiV1ImportlistRequest + @return ApiListApiV1ImportListRequest */ -func (a *ImportListApiService) ListApiV1Importlist(ctx context.Context) ApiListApiV1ImportlistRequest { - return ApiListApiV1ImportlistRequest{ +func (a *ImportListApiService) ListApiV1ImportList(ctx context.Context) ApiListApiV1ImportListRequest { + return ApiListApiV1ImportListRequest{ ApiService: a, ctx: ctx, } @@ -548,7 +548,7 @@ func (a *ImportListApiService) ListApiV1Importlist(ctx context.Context) ApiListA // Execute executes the request // @return []ImportListResource -func (a *ImportListApiService) ListApiV1ImportlistExecute(r ApiListApiV1ImportlistRequest) ([]*ImportListResource, *http.Response, error) { +func (a *ImportListApiService) ListApiV1ImportListExecute(r ApiListApiV1ImportListRequest) ([]*ImportListResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -556,7 +556,7 @@ func (a *ImportListApiService) ListApiV1ImportlistExecute(r ApiListApiV1Importli localVarReturnValue []*ImportListResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ImportListApiService.ListApiV1Importlist") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ImportListApiService.ListApiV1ImportList") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -648,23 +648,23 @@ func (a *ImportListApiService) ListApiV1ImportlistExecute(r ApiListApiV1Importli return localVarReturnValue, localVarHTTPResponse, nil } -type ApiListApiV1ImportlistSchemaRequest struct { +type ApiListApiV1ImportListSchemaRequest struct { ctx context.Context ApiService *ImportListApiService } -func (r ApiListApiV1ImportlistSchemaRequest) Execute() ([]*ImportListResource, *http.Response, error) { - return r.ApiService.ListApiV1ImportlistSchemaExecute(r) +func (r ApiListApiV1ImportListSchemaRequest) Execute() ([]*ImportListResource, *http.Response, error) { + return r.ApiService.ListApiV1ImportListSchemaExecute(r) } /* -ListApiV1ImportlistSchema Method for ListApiV1ImportlistSchema +ListApiV1ImportListSchema Method for ListApiV1ImportListSchema @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiListApiV1ImportlistSchemaRequest + @return ApiListApiV1ImportListSchemaRequest */ -func (a *ImportListApiService) ListApiV1ImportlistSchema(ctx context.Context) ApiListApiV1ImportlistSchemaRequest { - return ApiListApiV1ImportlistSchemaRequest{ +func (a *ImportListApiService) ListApiV1ImportListSchema(ctx context.Context) ApiListApiV1ImportListSchemaRequest { + return ApiListApiV1ImportListSchemaRequest{ ApiService: a, ctx: ctx, } @@ -672,7 +672,7 @@ func (a *ImportListApiService) ListApiV1ImportlistSchema(ctx context.Context) Ap // Execute executes the request // @return []ImportListResource -func (a *ImportListApiService) ListApiV1ImportlistSchemaExecute(r ApiListApiV1ImportlistSchemaRequest) ([]*ImportListResource, *http.Response, error) { +func (a *ImportListApiService) ListApiV1ImportListSchemaExecute(r ApiListApiV1ImportListSchemaRequest) ([]*ImportListResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -680,7 +680,7 @@ func (a *ImportListApiService) ListApiV1ImportlistSchemaExecute(r ApiListApiV1Im localVarReturnValue []*ImportListResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ImportListApiService.ListApiV1ImportlistSchema") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ImportListApiService.ListApiV1ImportListSchema") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -772,43 +772,43 @@ func (a *ImportListApiService) ListApiV1ImportlistSchemaExecute(r ApiListApiV1Im return localVarReturnValue, localVarHTTPResponse, nil } -type ApiTestApiV1ImportlistRequest struct { +type ApiTestApiV1ImportListRequest struct { ctx context.Context ApiService *ImportListApiService importListResource *ImportListResource } -func (r ApiTestApiV1ImportlistRequest) ImportListResource(importListResource ImportListResource) ApiTestApiV1ImportlistRequest { +func (r ApiTestApiV1ImportListRequest) ImportListResource(importListResource ImportListResource) ApiTestApiV1ImportListRequest { r.importListResource = &importListResource return r } -func (r ApiTestApiV1ImportlistRequest) Execute() (*http.Response, error) { - return r.ApiService.TestApiV1ImportlistExecute(r) +func (r ApiTestApiV1ImportListRequest) Execute() (*http.Response, error) { + return r.ApiService.TestApiV1ImportListExecute(r) } /* -TestApiV1Importlist Method for TestApiV1Importlist +TestApiV1ImportList Method for TestApiV1ImportList @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiTestApiV1ImportlistRequest + @return ApiTestApiV1ImportListRequest */ -func (a *ImportListApiService) TestApiV1Importlist(ctx context.Context) ApiTestApiV1ImportlistRequest { - return ApiTestApiV1ImportlistRequest{ +func (a *ImportListApiService) TestApiV1ImportList(ctx context.Context) ApiTestApiV1ImportListRequest { + return ApiTestApiV1ImportListRequest{ ApiService: a, ctx: ctx, } } // Execute executes the request -func (a *ImportListApiService) TestApiV1ImportlistExecute(r ApiTestApiV1ImportlistRequest) (*http.Response, error) { +func (a *ImportListApiService) TestApiV1ImportListExecute(r ApiTestApiV1ImportListRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ImportListApiService.TestApiV1Importlist") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ImportListApiService.TestApiV1ImportList") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -893,37 +893,37 @@ func (a *ImportListApiService) TestApiV1ImportlistExecute(r ApiTestApiV1Importli return localVarHTTPResponse, nil } -type ApiTestallApiV1ImportlistRequest struct { +type ApiTestallApiV1ImportListRequest struct { ctx context.Context ApiService *ImportListApiService } -func (r ApiTestallApiV1ImportlistRequest) Execute() (*http.Response, error) { - return r.ApiService.TestallApiV1ImportlistExecute(r) +func (r ApiTestallApiV1ImportListRequest) Execute() (*http.Response, error) { + return r.ApiService.TestallApiV1ImportListExecute(r) } /* -TestallApiV1Importlist Method for TestallApiV1Importlist +TestallApiV1ImportList Method for TestallApiV1ImportList @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiTestallApiV1ImportlistRequest + @return ApiTestallApiV1ImportListRequest */ -func (a *ImportListApiService) TestallApiV1Importlist(ctx context.Context) ApiTestallApiV1ImportlistRequest { - return ApiTestallApiV1ImportlistRequest{ +func (a *ImportListApiService) TestallApiV1ImportList(ctx context.Context) ApiTestallApiV1ImportListRequest { + return ApiTestallApiV1ImportListRequest{ ApiService: a, ctx: ctx, } } // Execute executes the request -func (a *ImportListApiService) TestallApiV1ImportlistExecute(r ApiTestallApiV1ImportlistRequest) (*http.Response, error) { +func (a *ImportListApiService) TestallApiV1ImportListExecute(r ApiTestallApiV1ImportListRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ImportListApiService.TestallApiV1Importlist") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ImportListApiService.TestallApiV1ImportList") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -1006,31 +1006,31 @@ func (a *ImportListApiService) TestallApiV1ImportlistExecute(r ApiTestallApiV1Im return localVarHTTPResponse, nil } -type ApiUpdateApiV1ImportlistRequest struct { +type ApiUpdateApiV1ImportListRequest struct { ctx context.Context ApiService *ImportListApiService id string importListResource *ImportListResource } -func (r ApiUpdateApiV1ImportlistRequest) ImportListResource(importListResource ImportListResource) ApiUpdateApiV1ImportlistRequest { +func (r ApiUpdateApiV1ImportListRequest) ImportListResource(importListResource ImportListResource) ApiUpdateApiV1ImportListRequest { r.importListResource = &importListResource return r } -func (r ApiUpdateApiV1ImportlistRequest) Execute() (*ImportListResource, *http.Response, error) { - return r.ApiService.UpdateApiV1ImportlistExecute(r) +func (r ApiUpdateApiV1ImportListRequest) Execute() (*ImportListResource, *http.Response, error) { + return r.ApiService.UpdateApiV1ImportListExecute(r) } /* -UpdateApiV1Importlist Method for UpdateApiV1Importlist +UpdateApiV1ImportList Method for UpdateApiV1ImportList @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id - @return ApiUpdateApiV1ImportlistRequest + @return ApiUpdateApiV1ImportListRequest */ -func (a *ImportListApiService) UpdateApiV1Importlist(ctx context.Context, id string) ApiUpdateApiV1ImportlistRequest { - return ApiUpdateApiV1ImportlistRequest{ +func (a *ImportListApiService) UpdateApiV1ImportList(ctx context.Context, id string) ApiUpdateApiV1ImportListRequest { + return ApiUpdateApiV1ImportListRequest{ ApiService: a, ctx: ctx, id: id, @@ -1039,7 +1039,7 @@ func (a *ImportListApiService) UpdateApiV1Importlist(ctx context.Context, id str // Execute executes the request // @return ImportListResource -func (a *ImportListApiService) UpdateApiV1ImportlistExecute(r ApiUpdateApiV1ImportlistRequest) (*ImportListResource, *http.Response, error) { +func (a *ImportListApiService) UpdateApiV1ImportListExecute(r ApiUpdateApiV1ImportListRequest) (*ImportListResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} @@ -1047,7 +1047,7 @@ func (a *ImportListApiService) UpdateApiV1ImportlistExecute(r ApiUpdateApiV1Impo localVarReturnValue *ImportListResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ImportListApiService.UpdateApiV1Importlist") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ImportListApiService.UpdateApiV1ImportList") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } diff --git a/lidarr/api_import_list_exclusion.go b/lidarr/api_import_list_exclusion.go index a8ad39a..505edc2 100644 --- a/lidarr/api_import_list_exclusion.go +++ b/lidarr/api_import_list_exclusion.go @@ -22,29 +22,29 @@ import ( // ImportListExclusionApiService ImportListExclusionApi service type ImportListExclusionApiService service -type ApiCreateApiV1ImportlistexclusionRequest struct { +type ApiCreateApiV1ImportListExclusionRequest struct { ctx context.Context ApiService *ImportListExclusionApiService importListExclusionResource *ImportListExclusionResource } -func (r ApiCreateApiV1ImportlistexclusionRequest) ImportListExclusionResource(importListExclusionResource ImportListExclusionResource) ApiCreateApiV1ImportlistexclusionRequest { +func (r ApiCreateApiV1ImportListExclusionRequest) ImportListExclusionResource(importListExclusionResource ImportListExclusionResource) ApiCreateApiV1ImportListExclusionRequest { r.importListExclusionResource = &importListExclusionResource return r } -func (r ApiCreateApiV1ImportlistexclusionRequest) Execute() (*ImportListExclusionResource, *http.Response, error) { - return r.ApiService.CreateApiV1ImportlistexclusionExecute(r) +func (r ApiCreateApiV1ImportListExclusionRequest) Execute() (*ImportListExclusionResource, *http.Response, error) { + return r.ApiService.CreateApiV1ImportListExclusionExecute(r) } /* -CreateApiV1Importlistexclusion Method for CreateApiV1Importlistexclusion +CreateApiV1ImportListExclusion Method for CreateApiV1ImportListExclusion @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiCreateApiV1ImportlistexclusionRequest + @return ApiCreateApiV1ImportListExclusionRequest */ -func (a *ImportListExclusionApiService) CreateApiV1Importlistexclusion(ctx context.Context) ApiCreateApiV1ImportlistexclusionRequest { - return ApiCreateApiV1ImportlistexclusionRequest{ +func (a *ImportListExclusionApiService) CreateApiV1ImportListExclusion(ctx context.Context) ApiCreateApiV1ImportListExclusionRequest { + return ApiCreateApiV1ImportListExclusionRequest{ ApiService: a, ctx: ctx, } @@ -52,7 +52,7 @@ func (a *ImportListExclusionApiService) CreateApiV1Importlistexclusion(ctx conte // Execute executes the request // @return ImportListExclusionResource -func (a *ImportListExclusionApiService) CreateApiV1ImportlistexclusionExecute(r ApiCreateApiV1ImportlistexclusionRequest) (*ImportListExclusionResource, *http.Response, error) { +func (a *ImportListExclusionApiService) CreateApiV1ImportListExclusionExecute(r ApiCreateApiV1ImportListExclusionRequest) (*ImportListExclusionResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -60,7 +60,7 @@ func (a *ImportListExclusionApiService) CreateApiV1ImportlistexclusionExecute(r localVarReturnValue *ImportListExclusionResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ImportListExclusionApiService.CreateApiV1Importlistexclusion") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ImportListExclusionApiService.CreateApiV1ImportListExclusion") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -154,25 +154,25 @@ func (a *ImportListExclusionApiService) CreateApiV1ImportlistexclusionExecute(r return localVarReturnValue, localVarHTTPResponse, nil } -type ApiDeleteApiV1ImportlistexclusionRequest struct { +type ApiDeleteApiV1ImportListExclusionRequest struct { ctx context.Context ApiService *ImportListExclusionApiService id int32 } -func (r ApiDeleteApiV1ImportlistexclusionRequest) Execute() (*http.Response, error) { - return r.ApiService.DeleteApiV1ImportlistexclusionExecute(r) +func (r ApiDeleteApiV1ImportListExclusionRequest) Execute() (*http.Response, error) { + return r.ApiService.DeleteApiV1ImportListExclusionExecute(r) } /* -DeleteApiV1Importlistexclusion Method for DeleteApiV1Importlistexclusion +DeleteApiV1ImportListExclusion Method for DeleteApiV1ImportListExclusion @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id - @return ApiDeleteApiV1ImportlistexclusionRequest + @return ApiDeleteApiV1ImportListExclusionRequest */ -func (a *ImportListExclusionApiService) DeleteApiV1Importlistexclusion(ctx context.Context, id int32) ApiDeleteApiV1ImportlistexclusionRequest { - return ApiDeleteApiV1ImportlistexclusionRequest{ +func (a *ImportListExclusionApiService) DeleteApiV1ImportListExclusion(ctx context.Context, id int32) ApiDeleteApiV1ImportListExclusionRequest { + return ApiDeleteApiV1ImportListExclusionRequest{ ApiService: a, ctx: ctx, id: id, @@ -180,14 +180,14 @@ func (a *ImportListExclusionApiService) DeleteApiV1Importlistexclusion(ctx conte } // Execute executes the request -func (a *ImportListExclusionApiService) DeleteApiV1ImportlistexclusionExecute(r ApiDeleteApiV1ImportlistexclusionRequest) (*http.Response, error) { +func (a *ImportListExclusionApiService) DeleteApiV1ImportListExclusionExecute(r ApiDeleteApiV1ImportListExclusionRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ImportListExclusionApiService.DeleteApiV1Importlistexclusion") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ImportListExclusionApiService.DeleteApiV1ImportListExclusion") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -271,25 +271,25 @@ func (a *ImportListExclusionApiService) DeleteApiV1ImportlistexclusionExecute(r return localVarHTTPResponse, nil } -type ApiGetApiV1ImportlistexclusionByIdRequest struct { +type ApiGetApiV1ImportListExclusionByIdRequest struct { ctx context.Context ApiService *ImportListExclusionApiService id int32 } -func (r ApiGetApiV1ImportlistexclusionByIdRequest) Execute() (*ImportListExclusionResource, *http.Response, error) { - return r.ApiService.GetApiV1ImportlistexclusionByIdExecute(r) +func (r ApiGetApiV1ImportListExclusionByIdRequest) Execute() (*ImportListExclusionResource, *http.Response, error) { + return r.ApiService.GetApiV1ImportListExclusionByIdExecute(r) } /* -GetApiV1ImportlistexclusionById Method for GetApiV1ImportlistexclusionById +GetApiV1ImportListExclusionById Method for GetApiV1ImportListExclusionById @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id - @return ApiGetApiV1ImportlistexclusionByIdRequest + @return ApiGetApiV1ImportListExclusionByIdRequest */ -func (a *ImportListExclusionApiService) GetApiV1ImportlistexclusionById(ctx context.Context, id int32) ApiGetApiV1ImportlistexclusionByIdRequest { - return ApiGetApiV1ImportlistexclusionByIdRequest{ +func (a *ImportListExclusionApiService) GetApiV1ImportListExclusionById(ctx context.Context, id int32) ApiGetApiV1ImportListExclusionByIdRequest { + return ApiGetApiV1ImportListExclusionByIdRequest{ ApiService: a, ctx: ctx, id: id, @@ -298,7 +298,7 @@ func (a *ImportListExclusionApiService) GetApiV1ImportlistexclusionById(ctx cont // Execute executes the request // @return ImportListExclusionResource -func (a *ImportListExclusionApiService) GetApiV1ImportlistexclusionByIdExecute(r ApiGetApiV1ImportlistexclusionByIdRequest) (*ImportListExclusionResource, *http.Response, error) { +func (a *ImportListExclusionApiService) GetApiV1ImportListExclusionByIdExecute(r ApiGetApiV1ImportListExclusionByIdRequest) (*ImportListExclusionResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -306,7 +306,7 @@ func (a *ImportListExclusionApiService) GetApiV1ImportlistexclusionByIdExecute(r localVarReturnValue *ImportListExclusionResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ImportListExclusionApiService.GetApiV1ImportlistexclusionById") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ImportListExclusionApiService.GetApiV1ImportListExclusionById") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -399,23 +399,23 @@ func (a *ImportListExclusionApiService) GetApiV1ImportlistexclusionByIdExecute(r return localVarReturnValue, localVarHTTPResponse, nil } -type ApiListApiV1ImportlistexclusionRequest struct { +type ApiListApiV1ImportListExclusionRequest struct { ctx context.Context ApiService *ImportListExclusionApiService } -func (r ApiListApiV1ImportlistexclusionRequest) Execute() ([]*ImportListExclusionResource, *http.Response, error) { - return r.ApiService.ListApiV1ImportlistexclusionExecute(r) +func (r ApiListApiV1ImportListExclusionRequest) Execute() ([]*ImportListExclusionResource, *http.Response, error) { + return r.ApiService.ListApiV1ImportListExclusionExecute(r) } /* -ListApiV1Importlistexclusion Method for ListApiV1Importlistexclusion +ListApiV1ImportListExclusion Method for ListApiV1ImportListExclusion @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiListApiV1ImportlistexclusionRequest + @return ApiListApiV1ImportListExclusionRequest */ -func (a *ImportListExclusionApiService) ListApiV1Importlistexclusion(ctx context.Context) ApiListApiV1ImportlistexclusionRequest { - return ApiListApiV1ImportlistexclusionRequest{ +func (a *ImportListExclusionApiService) ListApiV1ImportListExclusion(ctx context.Context) ApiListApiV1ImportListExclusionRequest { + return ApiListApiV1ImportListExclusionRequest{ ApiService: a, ctx: ctx, } @@ -423,7 +423,7 @@ func (a *ImportListExclusionApiService) ListApiV1Importlistexclusion(ctx context // Execute executes the request // @return []ImportListExclusionResource -func (a *ImportListExclusionApiService) ListApiV1ImportlistexclusionExecute(r ApiListApiV1ImportlistexclusionRequest) ([]*ImportListExclusionResource, *http.Response, error) { +func (a *ImportListExclusionApiService) ListApiV1ImportListExclusionExecute(r ApiListApiV1ImportListExclusionRequest) ([]*ImportListExclusionResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -431,7 +431,7 @@ func (a *ImportListExclusionApiService) ListApiV1ImportlistexclusionExecute(r Ap localVarReturnValue []*ImportListExclusionResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ImportListExclusionApiService.ListApiV1Importlistexclusion") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ImportListExclusionApiService.ListApiV1ImportListExclusion") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -523,31 +523,31 @@ func (a *ImportListExclusionApiService) ListApiV1ImportlistexclusionExecute(r Ap return localVarReturnValue, localVarHTTPResponse, nil } -type ApiUpdateApiV1ImportlistexclusionRequest struct { +type ApiUpdateApiV1ImportListExclusionRequest struct { ctx context.Context ApiService *ImportListExclusionApiService id string importListExclusionResource *ImportListExclusionResource } -func (r ApiUpdateApiV1ImportlistexclusionRequest) ImportListExclusionResource(importListExclusionResource ImportListExclusionResource) ApiUpdateApiV1ImportlistexclusionRequest { +func (r ApiUpdateApiV1ImportListExclusionRequest) ImportListExclusionResource(importListExclusionResource ImportListExclusionResource) ApiUpdateApiV1ImportListExclusionRequest { r.importListExclusionResource = &importListExclusionResource return r } -func (r ApiUpdateApiV1ImportlistexclusionRequest) Execute() (*ImportListExclusionResource, *http.Response, error) { - return r.ApiService.UpdateApiV1ImportlistexclusionExecute(r) +func (r ApiUpdateApiV1ImportListExclusionRequest) Execute() (*ImportListExclusionResource, *http.Response, error) { + return r.ApiService.UpdateApiV1ImportListExclusionExecute(r) } /* -UpdateApiV1Importlistexclusion Method for UpdateApiV1Importlistexclusion +UpdateApiV1ImportListExclusion Method for UpdateApiV1ImportListExclusion @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id - @return ApiUpdateApiV1ImportlistexclusionRequest + @return ApiUpdateApiV1ImportListExclusionRequest */ -func (a *ImportListExclusionApiService) UpdateApiV1Importlistexclusion(ctx context.Context, id string) ApiUpdateApiV1ImportlistexclusionRequest { - return ApiUpdateApiV1ImportlistexclusionRequest{ +func (a *ImportListExclusionApiService) UpdateApiV1ImportListExclusion(ctx context.Context, id string) ApiUpdateApiV1ImportListExclusionRequest { + return ApiUpdateApiV1ImportListExclusionRequest{ ApiService: a, ctx: ctx, id: id, @@ -556,7 +556,7 @@ func (a *ImportListExclusionApiService) UpdateApiV1Importlistexclusion(ctx conte // Execute executes the request // @return ImportListExclusionResource -func (a *ImportListExclusionApiService) UpdateApiV1ImportlistexclusionExecute(r ApiUpdateApiV1ImportlistexclusionRequest) (*ImportListExclusionResource, *http.Response, error) { +func (a *ImportListExclusionApiService) UpdateApiV1ImportListExclusionExecute(r ApiUpdateApiV1ImportListExclusionRequest) (*ImportListExclusionResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} @@ -564,7 +564,7 @@ func (a *ImportListExclusionApiService) UpdateApiV1ImportlistexclusionExecute(r localVarReturnValue *ImportListExclusionResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ImportListExclusionApiService.UpdateApiV1Importlistexclusion") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ImportListExclusionApiService.UpdateApiV1ImportListExclusion") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } diff --git a/lidarr/api_manual_import.go b/lidarr/api_manual_import.go index 299fc64..2443d3a 100644 --- a/lidarr/api_manual_import.go +++ b/lidarr/api_manual_import.go @@ -21,7 +21,7 @@ import ( // ManualImportApiService ManualImportApi service type ManualImportApiService service -type ApiListApiV1ManualimportRequest struct { +type ApiListApiV1ManualImportRequest struct { ctx context.Context ApiService *ManualImportApiService folder *string @@ -31,43 +31,43 @@ type ApiListApiV1ManualimportRequest struct { replaceExistingFiles *bool } -func (r ApiListApiV1ManualimportRequest) Folder(folder string) ApiListApiV1ManualimportRequest { +func (r ApiListApiV1ManualImportRequest) Folder(folder string) ApiListApiV1ManualImportRequest { r.folder = &folder return r } -func (r ApiListApiV1ManualimportRequest) DownloadId(downloadId string) ApiListApiV1ManualimportRequest { +func (r ApiListApiV1ManualImportRequest) DownloadId(downloadId string) ApiListApiV1ManualImportRequest { r.downloadId = &downloadId return r } -func (r ApiListApiV1ManualimportRequest) ArtistId(artistId int32) ApiListApiV1ManualimportRequest { +func (r ApiListApiV1ManualImportRequest) ArtistId(artistId int32) ApiListApiV1ManualImportRequest { r.artistId = &artistId return r } -func (r ApiListApiV1ManualimportRequest) FilterExistingFiles(filterExistingFiles bool) ApiListApiV1ManualimportRequest { +func (r ApiListApiV1ManualImportRequest) FilterExistingFiles(filterExistingFiles bool) ApiListApiV1ManualImportRequest { r.filterExistingFiles = &filterExistingFiles return r } -func (r ApiListApiV1ManualimportRequest) ReplaceExistingFiles(replaceExistingFiles bool) ApiListApiV1ManualimportRequest { +func (r ApiListApiV1ManualImportRequest) ReplaceExistingFiles(replaceExistingFiles bool) ApiListApiV1ManualImportRequest { r.replaceExistingFiles = &replaceExistingFiles return r } -func (r ApiListApiV1ManualimportRequest) Execute() ([]*ManualImportResource, *http.Response, error) { - return r.ApiService.ListApiV1ManualimportExecute(r) +func (r ApiListApiV1ManualImportRequest) Execute() ([]*ManualImportResource, *http.Response, error) { + return r.ApiService.ListApiV1ManualImportExecute(r) } /* -ListApiV1Manualimport Method for ListApiV1Manualimport +ListApiV1ManualImport Method for ListApiV1ManualImport @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiListApiV1ManualimportRequest + @return ApiListApiV1ManualImportRequest */ -func (a *ManualImportApiService) ListApiV1Manualimport(ctx context.Context) ApiListApiV1ManualimportRequest { - return ApiListApiV1ManualimportRequest{ +func (a *ManualImportApiService) ListApiV1ManualImport(ctx context.Context) ApiListApiV1ManualImportRequest { + return ApiListApiV1ManualImportRequest{ ApiService: a, ctx: ctx, } @@ -75,7 +75,7 @@ func (a *ManualImportApiService) ListApiV1Manualimport(ctx context.Context) ApiL // Execute executes the request // @return []ManualImportResource -func (a *ManualImportApiService) ListApiV1ManualimportExecute(r ApiListApiV1ManualimportRequest) ([]*ManualImportResource, *http.Response, error) { +func (a *ManualImportApiService) ListApiV1ManualImportExecute(r ApiListApiV1ManualImportRequest) ([]*ManualImportResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -83,7 +83,7 @@ func (a *ManualImportApiService) ListApiV1ManualimportExecute(r ApiListApiV1Manu localVarReturnValue []*ManualImportResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ManualImportApiService.ListApiV1Manualimport") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ManualImportApiService.ListApiV1ManualImport") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -190,43 +190,43 @@ func (a *ManualImportApiService) ListApiV1ManualimportExecute(r ApiListApiV1Manu return localVarReturnValue, localVarHTTPResponse, nil } -type ApiPutApiV1ManualimportRequest struct { +type ApiPutApiV1ManualImportRequest struct { ctx context.Context ApiService *ManualImportApiService manualImportResource *[]ManualImportResource } -func (r ApiPutApiV1ManualimportRequest) ManualImportResource(manualImportResource []ManualImportResource) ApiPutApiV1ManualimportRequest { +func (r ApiPutApiV1ManualImportRequest) ManualImportResource(manualImportResource []ManualImportResource) ApiPutApiV1ManualImportRequest { r.manualImportResource = &manualImportResource return r } -func (r ApiPutApiV1ManualimportRequest) Execute() (*http.Response, error) { - return r.ApiService.PutApiV1ManualimportExecute(r) +func (r ApiPutApiV1ManualImportRequest) Execute() (*http.Response, error) { + return r.ApiService.PutApiV1ManualImportExecute(r) } /* -PutApiV1Manualimport Method for PutApiV1Manualimport +PutApiV1ManualImport Method for PutApiV1ManualImport @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiPutApiV1ManualimportRequest + @return ApiPutApiV1ManualImportRequest */ -func (a *ManualImportApiService) PutApiV1Manualimport(ctx context.Context) ApiPutApiV1ManualimportRequest { - return ApiPutApiV1ManualimportRequest{ +func (a *ManualImportApiService) PutApiV1ManualImport(ctx context.Context) ApiPutApiV1ManualImportRequest { + return ApiPutApiV1ManualImportRequest{ ApiService: a, ctx: ctx, } } // Execute executes the request -func (a *ManualImportApiService) PutApiV1ManualimportExecute(r ApiPutApiV1ManualimportRequest) (*http.Response, error) { +func (a *ManualImportApiService) PutApiV1ManualImportExecute(r ApiPutApiV1ManualImportRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ManualImportApiService.PutApiV1Manualimport") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ManualImportApiService.PutApiV1ManualImport") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } diff --git a/lidarr/api_media_cover.go b/lidarr/api_media_cover.go index 46ce093..78a7460 100644 --- a/lidarr/api_media_cover.go +++ b/lidarr/api_media_cover.go @@ -22,27 +22,27 @@ import ( // MediaCoverApiService MediaCoverApi service type MediaCoverApiService service -type ApiGetApiV1MediacoverAlbumalbumidByFilenameRequest struct { +type ApiGetApiV1MediaCoverAlbumalbumIdByFilenameRequest struct { ctx context.Context ApiService *MediaCoverApiService albumId int32 filename string } -func (r ApiGetApiV1MediacoverAlbumalbumidByFilenameRequest) Execute() (*http.Response, error) { - return r.ApiService.GetApiV1MediacoverAlbumalbumidByFilenameExecute(r) +func (r ApiGetApiV1MediaCoverAlbumalbumIdByFilenameRequest) Execute() (*http.Response, error) { + return r.ApiService.GetApiV1MediaCoverAlbumalbumIdByFilenameExecute(r) } /* -GetApiV1MediacoverAlbumalbumidByFilename Method for GetApiV1MediacoverAlbumalbumidByFilename +GetApiV1MediaCoverAlbumalbumIdByFilename Method for GetApiV1MediaCoverAlbumalbumIdByFilename @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param albumId @param filename - @return ApiGetApiV1MediacoverAlbumalbumidByFilenameRequest + @return ApiGetApiV1MediaCoverAlbumalbumIdByFilenameRequest */ -func (a *MediaCoverApiService) GetApiV1MediacoverAlbumalbumidByFilename(ctx context.Context, albumId int32, filename string) ApiGetApiV1MediacoverAlbumalbumidByFilenameRequest { - return ApiGetApiV1MediacoverAlbumalbumidByFilenameRequest{ +func (a *MediaCoverApiService) GetApiV1MediaCoverAlbumalbumIdByFilename(ctx context.Context, albumId int32, filename string) ApiGetApiV1MediaCoverAlbumalbumIdByFilenameRequest { + return ApiGetApiV1MediaCoverAlbumalbumIdByFilenameRequest{ ApiService: a, ctx: ctx, albumId: albumId, @@ -51,14 +51,14 @@ func (a *MediaCoverApiService) GetApiV1MediacoverAlbumalbumidByFilename(ctx cont } // Execute executes the request -func (a *MediaCoverApiService) GetApiV1MediacoverAlbumalbumidByFilenameExecute(r ApiGetApiV1MediacoverAlbumalbumidByFilenameRequest) (*http.Response, error) { +func (a *MediaCoverApiService) GetApiV1MediaCoverAlbumalbumIdByFilenameExecute(r ApiGetApiV1MediaCoverAlbumalbumIdByFilenameRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MediaCoverApiService.GetApiV1MediacoverAlbumalbumidByFilename") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MediaCoverApiService.GetApiV1MediaCoverAlbumalbumIdByFilename") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -143,27 +143,27 @@ func (a *MediaCoverApiService) GetApiV1MediacoverAlbumalbumidByFilenameExecute(r return localVarHTTPResponse, nil } -type ApiGetApiV1MediacoverArtistartistidByFilenameRequest struct { +type ApiGetApiV1MediaCoverArtistartistIdByFilenameRequest struct { ctx context.Context ApiService *MediaCoverApiService artistId int32 filename string } -func (r ApiGetApiV1MediacoverArtistartistidByFilenameRequest) Execute() (*http.Response, error) { - return r.ApiService.GetApiV1MediacoverArtistartistidByFilenameExecute(r) +func (r ApiGetApiV1MediaCoverArtistartistIdByFilenameRequest) Execute() (*http.Response, error) { + return r.ApiService.GetApiV1MediaCoverArtistartistIdByFilenameExecute(r) } /* -GetApiV1MediacoverArtistartistidByFilename Method for GetApiV1MediacoverArtistartistidByFilename +GetApiV1MediaCoverArtistartistIdByFilename Method for GetApiV1MediaCoverArtistartistIdByFilename @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param artistId @param filename - @return ApiGetApiV1MediacoverArtistartistidByFilenameRequest + @return ApiGetApiV1MediaCoverArtistartistIdByFilenameRequest */ -func (a *MediaCoverApiService) GetApiV1MediacoverArtistartistidByFilename(ctx context.Context, artistId int32, filename string) ApiGetApiV1MediacoverArtistartistidByFilenameRequest { - return ApiGetApiV1MediacoverArtistartistidByFilenameRequest{ +func (a *MediaCoverApiService) GetApiV1MediaCoverArtistartistIdByFilename(ctx context.Context, artistId int32, filename string) ApiGetApiV1MediaCoverArtistartistIdByFilenameRequest { + return ApiGetApiV1MediaCoverArtistartistIdByFilenameRequest{ ApiService: a, ctx: ctx, artistId: artistId, @@ -172,14 +172,14 @@ func (a *MediaCoverApiService) GetApiV1MediacoverArtistartistidByFilename(ctx co } // Execute executes the request -func (a *MediaCoverApiService) GetApiV1MediacoverArtistartistidByFilenameExecute(r ApiGetApiV1MediacoverArtistartistidByFilenameRequest) (*http.Response, error) { +func (a *MediaCoverApiService) GetApiV1MediaCoverArtistartistIdByFilenameExecute(r ApiGetApiV1MediaCoverArtistartistIdByFilenameRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MediaCoverApiService.GetApiV1MediacoverArtistartistidByFilename") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MediaCoverApiService.GetApiV1MediaCoverArtistartistIdByFilename") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } diff --git a/lidarr/api_metadata_profile.go b/lidarr/api_metadata_profile.go index c1e1e84..4ea11c7 100644 --- a/lidarr/api_metadata_profile.go +++ b/lidarr/api_metadata_profile.go @@ -22,29 +22,29 @@ import ( // MetadataProfileApiService MetadataProfileApi service type MetadataProfileApiService service -type ApiCreateApiV1MetadataprofileRequest struct { +type ApiCreateApiV1MetadataProfileRequest struct { ctx context.Context ApiService *MetadataProfileApiService metadataProfileResource *MetadataProfileResource } -func (r ApiCreateApiV1MetadataprofileRequest) MetadataProfileResource(metadataProfileResource MetadataProfileResource) ApiCreateApiV1MetadataprofileRequest { +func (r ApiCreateApiV1MetadataProfileRequest) MetadataProfileResource(metadataProfileResource MetadataProfileResource) ApiCreateApiV1MetadataProfileRequest { r.metadataProfileResource = &metadataProfileResource return r } -func (r ApiCreateApiV1MetadataprofileRequest) Execute() (*MetadataProfileResource, *http.Response, error) { - return r.ApiService.CreateApiV1MetadataprofileExecute(r) +func (r ApiCreateApiV1MetadataProfileRequest) Execute() (*MetadataProfileResource, *http.Response, error) { + return r.ApiService.CreateApiV1MetadataProfileExecute(r) } /* -CreateApiV1Metadataprofile Method for CreateApiV1Metadataprofile +CreateApiV1MetadataProfile Method for CreateApiV1MetadataProfile @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiCreateApiV1MetadataprofileRequest + @return ApiCreateApiV1MetadataProfileRequest */ -func (a *MetadataProfileApiService) CreateApiV1Metadataprofile(ctx context.Context) ApiCreateApiV1MetadataprofileRequest { - return ApiCreateApiV1MetadataprofileRequest{ +func (a *MetadataProfileApiService) CreateApiV1MetadataProfile(ctx context.Context) ApiCreateApiV1MetadataProfileRequest { + return ApiCreateApiV1MetadataProfileRequest{ ApiService: a, ctx: ctx, } @@ -52,7 +52,7 @@ func (a *MetadataProfileApiService) CreateApiV1Metadataprofile(ctx context.Conte // Execute executes the request // @return MetadataProfileResource -func (a *MetadataProfileApiService) CreateApiV1MetadataprofileExecute(r ApiCreateApiV1MetadataprofileRequest) (*MetadataProfileResource, *http.Response, error) { +func (a *MetadataProfileApiService) CreateApiV1MetadataProfileExecute(r ApiCreateApiV1MetadataProfileRequest) (*MetadataProfileResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -60,7 +60,7 @@ func (a *MetadataProfileApiService) CreateApiV1MetadataprofileExecute(r ApiCreat localVarReturnValue *MetadataProfileResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MetadataProfileApiService.CreateApiV1Metadataprofile") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MetadataProfileApiService.CreateApiV1MetadataProfile") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -154,25 +154,25 @@ func (a *MetadataProfileApiService) CreateApiV1MetadataprofileExecute(r ApiCreat return localVarReturnValue, localVarHTTPResponse, nil } -type ApiDeleteApiV1MetadataprofileRequest struct { +type ApiDeleteApiV1MetadataProfileRequest struct { ctx context.Context ApiService *MetadataProfileApiService id int32 } -func (r ApiDeleteApiV1MetadataprofileRequest) Execute() (*http.Response, error) { - return r.ApiService.DeleteApiV1MetadataprofileExecute(r) +func (r ApiDeleteApiV1MetadataProfileRequest) Execute() (*http.Response, error) { + return r.ApiService.DeleteApiV1MetadataProfileExecute(r) } /* -DeleteApiV1Metadataprofile Method for DeleteApiV1Metadataprofile +DeleteApiV1MetadataProfile Method for DeleteApiV1MetadataProfile @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id - @return ApiDeleteApiV1MetadataprofileRequest + @return ApiDeleteApiV1MetadataProfileRequest */ -func (a *MetadataProfileApiService) DeleteApiV1Metadataprofile(ctx context.Context, id int32) ApiDeleteApiV1MetadataprofileRequest { - return ApiDeleteApiV1MetadataprofileRequest{ +func (a *MetadataProfileApiService) DeleteApiV1MetadataProfile(ctx context.Context, id int32) ApiDeleteApiV1MetadataProfileRequest { + return ApiDeleteApiV1MetadataProfileRequest{ ApiService: a, ctx: ctx, id: id, @@ -180,14 +180,14 @@ func (a *MetadataProfileApiService) DeleteApiV1Metadataprofile(ctx context.Conte } // Execute executes the request -func (a *MetadataProfileApiService) DeleteApiV1MetadataprofileExecute(r ApiDeleteApiV1MetadataprofileRequest) (*http.Response, error) { +func (a *MetadataProfileApiService) DeleteApiV1MetadataProfileExecute(r ApiDeleteApiV1MetadataProfileRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MetadataProfileApiService.DeleteApiV1Metadataprofile") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MetadataProfileApiService.DeleteApiV1MetadataProfile") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -271,25 +271,25 @@ func (a *MetadataProfileApiService) DeleteApiV1MetadataprofileExecute(r ApiDelet return localVarHTTPResponse, nil } -type ApiGetApiV1MetadataprofileByIdRequest struct { +type ApiGetApiV1MetadataProfileByIdRequest struct { ctx context.Context ApiService *MetadataProfileApiService id int32 } -func (r ApiGetApiV1MetadataprofileByIdRequest) Execute() (*MetadataProfileResource, *http.Response, error) { - return r.ApiService.GetApiV1MetadataprofileByIdExecute(r) +func (r ApiGetApiV1MetadataProfileByIdRequest) Execute() (*MetadataProfileResource, *http.Response, error) { + return r.ApiService.GetApiV1MetadataProfileByIdExecute(r) } /* -GetApiV1MetadataprofileById Method for GetApiV1MetadataprofileById +GetApiV1MetadataProfileById Method for GetApiV1MetadataProfileById @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id - @return ApiGetApiV1MetadataprofileByIdRequest + @return ApiGetApiV1MetadataProfileByIdRequest */ -func (a *MetadataProfileApiService) GetApiV1MetadataprofileById(ctx context.Context, id int32) ApiGetApiV1MetadataprofileByIdRequest { - return ApiGetApiV1MetadataprofileByIdRequest{ +func (a *MetadataProfileApiService) GetApiV1MetadataProfileById(ctx context.Context, id int32) ApiGetApiV1MetadataProfileByIdRequest { + return ApiGetApiV1MetadataProfileByIdRequest{ ApiService: a, ctx: ctx, id: id, @@ -298,7 +298,7 @@ func (a *MetadataProfileApiService) GetApiV1MetadataprofileById(ctx context.Cont // Execute executes the request // @return MetadataProfileResource -func (a *MetadataProfileApiService) GetApiV1MetadataprofileByIdExecute(r ApiGetApiV1MetadataprofileByIdRequest) (*MetadataProfileResource, *http.Response, error) { +func (a *MetadataProfileApiService) GetApiV1MetadataProfileByIdExecute(r ApiGetApiV1MetadataProfileByIdRequest) (*MetadataProfileResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -306,7 +306,7 @@ func (a *MetadataProfileApiService) GetApiV1MetadataprofileByIdExecute(r ApiGetA localVarReturnValue *MetadataProfileResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MetadataProfileApiService.GetApiV1MetadataprofileById") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MetadataProfileApiService.GetApiV1MetadataProfileById") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -399,23 +399,23 @@ func (a *MetadataProfileApiService) GetApiV1MetadataprofileByIdExecute(r ApiGetA return localVarReturnValue, localVarHTTPResponse, nil } -type ApiListApiV1MetadataprofileRequest struct { +type ApiListApiV1MetadataProfileRequest struct { ctx context.Context ApiService *MetadataProfileApiService } -func (r ApiListApiV1MetadataprofileRequest) Execute() ([]*MetadataProfileResource, *http.Response, error) { - return r.ApiService.ListApiV1MetadataprofileExecute(r) +func (r ApiListApiV1MetadataProfileRequest) Execute() ([]*MetadataProfileResource, *http.Response, error) { + return r.ApiService.ListApiV1MetadataProfileExecute(r) } /* -ListApiV1Metadataprofile Method for ListApiV1Metadataprofile +ListApiV1MetadataProfile Method for ListApiV1MetadataProfile @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiListApiV1MetadataprofileRequest + @return ApiListApiV1MetadataProfileRequest */ -func (a *MetadataProfileApiService) ListApiV1Metadataprofile(ctx context.Context) ApiListApiV1MetadataprofileRequest { - return ApiListApiV1MetadataprofileRequest{ +func (a *MetadataProfileApiService) ListApiV1MetadataProfile(ctx context.Context) ApiListApiV1MetadataProfileRequest { + return ApiListApiV1MetadataProfileRequest{ ApiService: a, ctx: ctx, } @@ -423,7 +423,7 @@ func (a *MetadataProfileApiService) ListApiV1Metadataprofile(ctx context.Context // Execute executes the request // @return []MetadataProfileResource -func (a *MetadataProfileApiService) ListApiV1MetadataprofileExecute(r ApiListApiV1MetadataprofileRequest) ([]*MetadataProfileResource, *http.Response, error) { +func (a *MetadataProfileApiService) ListApiV1MetadataProfileExecute(r ApiListApiV1MetadataProfileRequest) ([]*MetadataProfileResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -431,7 +431,7 @@ func (a *MetadataProfileApiService) ListApiV1MetadataprofileExecute(r ApiListApi localVarReturnValue []*MetadataProfileResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MetadataProfileApiService.ListApiV1Metadataprofile") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MetadataProfileApiService.ListApiV1MetadataProfile") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -523,31 +523,31 @@ func (a *MetadataProfileApiService) ListApiV1MetadataprofileExecute(r ApiListApi return localVarReturnValue, localVarHTTPResponse, nil } -type ApiUpdateApiV1MetadataprofileRequest struct { +type ApiUpdateApiV1MetadataProfileRequest struct { ctx context.Context ApiService *MetadataProfileApiService id string metadataProfileResource *MetadataProfileResource } -func (r ApiUpdateApiV1MetadataprofileRequest) MetadataProfileResource(metadataProfileResource MetadataProfileResource) ApiUpdateApiV1MetadataprofileRequest { +func (r ApiUpdateApiV1MetadataProfileRequest) MetadataProfileResource(metadataProfileResource MetadataProfileResource) ApiUpdateApiV1MetadataProfileRequest { r.metadataProfileResource = &metadataProfileResource return r } -func (r ApiUpdateApiV1MetadataprofileRequest) Execute() (*MetadataProfileResource, *http.Response, error) { - return r.ApiService.UpdateApiV1MetadataprofileExecute(r) +func (r ApiUpdateApiV1MetadataProfileRequest) Execute() (*MetadataProfileResource, *http.Response, error) { + return r.ApiService.UpdateApiV1MetadataProfileExecute(r) } /* -UpdateApiV1Metadataprofile Method for UpdateApiV1Metadataprofile +UpdateApiV1MetadataProfile Method for UpdateApiV1MetadataProfile @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id - @return ApiUpdateApiV1MetadataprofileRequest + @return ApiUpdateApiV1MetadataProfileRequest */ -func (a *MetadataProfileApiService) UpdateApiV1Metadataprofile(ctx context.Context, id string) ApiUpdateApiV1MetadataprofileRequest { - return ApiUpdateApiV1MetadataprofileRequest{ +func (a *MetadataProfileApiService) UpdateApiV1MetadataProfile(ctx context.Context, id string) ApiUpdateApiV1MetadataProfileRequest { + return ApiUpdateApiV1MetadataProfileRequest{ ApiService: a, ctx: ctx, id: id, @@ -556,7 +556,7 @@ func (a *MetadataProfileApiService) UpdateApiV1Metadataprofile(ctx context.Conte // Execute executes the request // @return MetadataProfileResource -func (a *MetadataProfileApiService) UpdateApiV1MetadataprofileExecute(r ApiUpdateApiV1MetadataprofileRequest) (*MetadataProfileResource, *http.Response, error) { +func (a *MetadataProfileApiService) UpdateApiV1MetadataProfileExecute(r ApiUpdateApiV1MetadataProfileRequest) (*MetadataProfileResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} @@ -564,7 +564,7 @@ func (a *MetadataProfileApiService) UpdateApiV1MetadataprofileExecute(r ApiUpdat localVarReturnValue *MetadataProfileResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MetadataProfileApiService.UpdateApiV1Metadataprofile") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MetadataProfileApiService.UpdateApiV1MetadataProfile") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } diff --git a/lidarr/api_quality_definition.go b/lidarr/api_quality_definition.go index f860690..64599d7 100644 --- a/lidarr/api_quality_definition.go +++ b/lidarr/api_quality_definition.go @@ -22,25 +22,25 @@ import ( // QualityDefinitionApiService QualityDefinitionApi service type QualityDefinitionApiService service -type ApiGetApiV1QualitydefinitionByIdRequest struct { +type ApiGetApiV1QualityDefinitionByIdRequest struct { ctx context.Context ApiService *QualityDefinitionApiService id int32 } -func (r ApiGetApiV1QualitydefinitionByIdRequest) Execute() (*QualityDefinitionResource, *http.Response, error) { - return r.ApiService.GetApiV1QualitydefinitionByIdExecute(r) +func (r ApiGetApiV1QualityDefinitionByIdRequest) Execute() (*QualityDefinitionResource, *http.Response, error) { + return r.ApiService.GetApiV1QualityDefinitionByIdExecute(r) } /* -GetApiV1QualitydefinitionById Method for GetApiV1QualitydefinitionById +GetApiV1QualityDefinitionById Method for GetApiV1QualityDefinitionById @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id - @return ApiGetApiV1QualitydefinitionByIdRequest + @return ApiGetApiV1QualityDefinitionByIdRequest */ -func (a *QualityDefinitionApiService) GetApiV1QualitydefinitionById(ctx context.Context, id int32) ApiGetApiV1QualitydefinitionByIdRequest { - return ApiGetApiV1QualitydefinitionByIdRequest{ +func (a *QualityDefinitionApiService) GetApiV1QualityDefinitionById(ctx context.Context, id int32) ApiGetApiV1QualityDefinitionByIdRequest { + return ApiGetApiV1QualityDefinitionByIdRequest{ ApiService: a, ctx: ctx, id: id, @@ -49,7 +49,7 @@ func (a *QualityDefinitionApiService) GetApiV1QualitydefinitionById(ctx context. // Execute executes the request // @return QualityDefinitionResource -func (a *QualityDefinitionApiService) GetApiV1QualitydefinitionByIdExecute(r ApiGetApiV1QualitydefinitionByIdRequest) (*QualityDefinitionResource, *http.Response, error) { +func (a *QualityDefinitionApiService) GetApiV1QualityDefinitionByIdExecute(r ApiGetApiV1QualityDefinitionByIdRequest) (*QualityDefinitionResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -57,7 +57,7 @@ func (a *QualityDefinitionApiService) GetApiV1QualitydefinitionByIdExecute(r Api localVarReturnValue *QualityDefinitionResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QualityDefinitionApiService.GetApiV1QualitydefinitionById") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QualityDefinitionApiService.GetApiV1QualityDefinitionById") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -150,23 +150,23 @@ func (a *QualityDefinitionApiService) GetApiV1QualitydefinitionByIdExecute(r Api return localVarReturnValue, localVarHTTPResponse, nil } -type ApiListApiV1QualitydefinitionRequest struct { +type ApiListApiV1QualityDefinitionRequest struct { ctx context.Context ApiService *QualityDefinitionApiService } -func (r ApiListApiV1QualitydefinitionRequest) Execute() ([]*QualityDefinitionResource, *http.Response, error) { - return r.ApiService.ListApiV1QualitydefinitionExecute(r) +func (r ApiListApiV1QualityDefinitionRequest) Execute() ([]*QualityDefinitionResource, *http.Response, error) { + return r.ApiService.ListApiV1QualityDefinitionExecute(r) } /* -ListApiV1Qualitydefinition Method for ListApiV1Qualitydefinition +ListApiV1QualityDefinition Method for ListApiV1QualityDefinition @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiListApiV1QualitydefinitionRequest + @return ApiListApiV1QualityDefinitionRequest */ -func (a *QualityDefinitionApiService) ListApiV1Qualitydefinition(ctx context.Context) ApiListApiV1QualitydefinitionRequest { - return ApiListApiV1QualitydefinitionRequest{ +func (a *QualityDefinitionApiService) ListApiV1QualityDefinition(ctx context.Context) ApiListApiV1QualityDefinitionRequest { + return ApiListApiV1QualityDefinitionRequest{ ApiService: a, ctx: ctx, } @@ -174,7 +174,7 @@ func (a *QualityDefinitionApiService) ListApiV1Qualitydefinition(ctx context.Con // Execute executes the request // @return []QualityDefinitionResource -func (a *QualityDefinitionApiService) ListApiV1QualitydefinitionExecute(r ApiListApiV1QualitydefinitionRequest) ([]*QualityDefinitionResource, *http.Response, error) { +func (a *QualityDefinitionApiService) ListApiV1QualityDefinitionExecute(r ApiListApiV1QualityDefinitionRequest) ([]*QualityDefinitionResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -182,7 +182,7 @@ func (a *QualityDefinitionApiService) ListApiV1QualitydefinitionExecute(r ApiLis localVarReturnValue []*QualityDefinitionResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QualityDefinitionApiService.ListApiV1Qualitydefinition") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QualityDefinitionApiService.ListApiV1QualityDefinition") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -274,43 +274,43 @@ func (a *QualityDefinitionApiService) ListApiV1QualitydefinitionExecute(r ApiLis return localVarReturnValue, localVarHTTPResponse, nil } -type ApiPutApiV1QualitydefinitionUpdateRequest struct { +type ApiPutApiV1QualityDefinitionUpdateRequest struct { ctx context.Context ApiService *QualityDefinitionApiService qualityDefinitionResource *[]QualityDefinitionResource } -func (r ApiPutApiV1QualitydefinitionUpdateRequest) QualityDefinitionResource(qualityDefinitionResource []QualityDefinitionResource) ApiPutApiV1QualitydefinitionUpdateRequest { +func (r ApiPutApiV1QualityDefinitionUpdateRequest) QualityDefinitionResource(qualityDefinitionResource []QualityDefinitionResource) ApiPutApiV1QualityDefinitionUpdateRequest { r.qualityDefinitionResource = &qualityDefinitionResource return r } -func (r ApiPutApiV1QualitydefinitionUpdateRequest) Execute() (*http.Response, error) { - return r.ApiService.PutApiV1QualitydefinitionUpdateExecute(r) +func (r ApiPutApiV1QualityDefinitionUpdateRequest) Execute() (*http.Response, error) { + return r.ApiService.PutApiV1QualityDefinitionUpdateExecute(r) } /* -PutApiV1QualitydefinitionUpdate Method for PutApiV1QualitydefinitionUpdate +PutApiV1QualityDefinitionUpdate Method for PutApiV1QualityDefinitionUpdate @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiPutApiV1QualitydefinitionUpdateRequest + @return ApiPutApiV1QualityDefinitionUpdateRequest */ -func (a *QualityDefinitionApiService) PutApiV1QualitydefinitionUpdate(ctx context.Context) ApiPutApiV1QualitydefinitionUpdateRequest { - return ApiPutApiV1QualitydefinitionUpdateRequest{ +func (a *QualityDefinitionApiService) PutApiV1QualityDefinitionUpdate(ctx context.Context) ApiPutApiV1QualityDefinitionUpdateRequest { + return ApiPutApiV1QualityDefinitionUpdateRequest{ ApiService: a, ctx: ctx, } } // Execute executes the request -func (a *QualityDefinitionApiService) PutApiV1QualitydefinitionUpdateExecute(r ApiPutApiV1QualitydefinitionUpdateRequest) (*http.Response, error) { +func (a *QualityDefinitionApiService) PutApiV1QualityDefinitionUpdateExecute(r ApiPutApiV1QualityDefinitionUpdateRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QualityDefinitionApiService.PutApiV1QualitydefinitionUpdate") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QualityDefinitionApiService.PutApiV1QualityDefinitionUpdate") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -395,31 +395,31 @@ func (a *QualityDefinitionApiService) PutApiV1QualitydefinitionUpdateExecute(r A return localVarHTTPResponse, nil } -type ApiUpdateApiV1QualitydefinitionRequest struct { +type ApiUpdateApiV1QualityDefinitionRequest struct { ctx context.Context ApiService *QualityDefinitionApiService id string qualityDefinitionResource *QualityDefinitionResource } -func (r ApiUpdateApiV1QualitydefinitionRequest) QualityDefinitionResource(qualityDefinitionResource QualityDefinitionResource) ApiUpdateApiV1QualitydefinitionRequest { +func (r ApiUpdateApiV1QualityDefinitionRequest) QualityDefinitionResource(qualityDefinitionResource QualityDefinitionResource) ApiUpdateApiV1QualityDefinitionRequest { r.qualityDefinitionResource = &qualityDefinitionResource return r } -func (r ApiUpdateApiV1QualitydefinitionRequest) Execute() (*QualityDefinitionResource, *http.Response, error) { - return r.ApiService.UpdateApiV1QualitydefinitionExecute(r) +func (r ApiUpdateApiV1QualityDefinitionRequest) Execute() (*QualityDefinitionResource, *http.Response, error) { + return r.ApiService.UpdateApiV1QualityDefinitionExecute(r) } /* -UpdateApiV1Qualitydefinition Method for UpdateApiV1Qualitydefinition +UpdateApiV1QualityDefinition Method for UpdateApiV1QualityDefinition @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id - @return ApiUpdateApiV1QualitydefinitionRequest + @return ApiUpdateApiV1QualityDefinitionRequest */ -func (a *QualityDefinitionApiService) UpdateApiV1Qualitydefinition(ctx context.Context, id string) ApiUpdateApiV1QualitydefinitionRequest { - return ApiUpdateApiV1QualitydefinitionRequest{ +func (a *QualityDefinitionApiService) UpdateApiV1QualityDefinition(ctx context.Context, id string) ApiUpdateApiV1QualityDefinitionRequest { + return ApiUpdateApiV1QualityDefinitionRequest{ ApiService: a, ctx: ctx, id: id, @@ -428,7 +428,7 @@ func (a *QualityDefinitionApiService) UpdateApiV1Qualitydefinition(ctx context.C // Execute executes the request // @return QualityDefinitionResource -func (a *QualityDefinitionApiService) UpdateApiV1QualitydefinitionExecute(r ApiUpdateApiV1QualitydefinitionRequest) (*QualityDefinitionResource, *http.Response, error) { +func (a *QualityDefinitionApiService) UpdateApiV1QualityDefinitionExecute(r ApiUpdateApiV1QualityDefinitionRequest) (*QualityDefinitionResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} @@ -436,7 +436,7 @@ func (a *QualityDefinitionApiService) UpdateApiV1QualitydefinitionExecute(r ApiU localVarReturnValue *QualityDefinitionResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QualityDefinitionApiService.UpdateApiV1Qualitydefinition") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QualityDefinitionApiService.UpdateApiV1QualityDefinition") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } diff --git a/lidarr/api_quality_profile.go b/lidarr/api_quality_profile.go index 76dfa13..a1c3cfd 100644 --- a/lidarr/api_quality_profile.go +++ b/lidarr/api_quality_profile.go @@ -22,29 +22,29 @@ import ( // QualityProfileApiService QualityProfileApi service type QualityProfileApiService service -type ApiCreateApiV1QualityprofileRequest struct { +type ApiCreateApiV1QualityProfileRequest struct { ctx context.Context ApiService *QualityProfileApiService qualityProfileResource *QualityProfileResource } -func (r ApiCreateApiV1QualityprofileRequest) QualityProfileResource(qualityProfileResource QualityProfileResource) ApiCreateApiV1QualityprofileRequest { +func (r ApiCreateApiV1QualityProfileRequest) QualityProfileResource(qualityProfileResource QualityProfileResource) ApiCreateApiV1QualityProfileRequest { r.qualityProfileResource = &qualityProfileResource return r } -func (r ApiCreateApiV1QualityprofileRequest) Execute() (*QualityProfileResource, *http.Response, error) { - return r.ApiService.CreateApiV1QualityprofileExecute(r) +func (r ApiCreateApiV1QualityProfileRequest) Execute() (*QualityProfileResource, *http.Response, error) { + return r.ApiService.CreateApiV1QualityProfileExecute(r) } /* -CreateApiV1Qualityprofile Method for CreateApiV1Qualityprofile +CreateApiV1QualityProfile Method for CreateApiV1QualityProfile @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiCreateApiV1QualityprofileRequest + @return ApiCreateApiV1QualityProfileRequest */ -func (a *QualityProfileApiService) CreateApiV1Qualityprofile(ctx context.Context) ApiCreateApiV1QualityprofileRequest { - return ApiCreateApiV1QualityprofileRequest{ +func (a *QualityProfileApiService) CreateApiV1QualityProfile(ctx context.Context) ApiCreateApiV1QualityProfileRequest { + return ApiCreateApiV1QualityProfileRequest{ ApiService: a, ctx: ctx, } @@ -52,7 +52,7 @@ func (a *QualityProfileApiService) CreateApiV1Qualityprofile(ctx context.Context // Execute executes the request // @return QualityProfileResource -func (a *QualityProfileApiService) CreateApiV1QualityprofileExecute(r ApiCreateApiV1QualityprofileRequest) (*QualityProfileResource, *http.Response, error) { +func (a *QualityProfileApiService) CreateApiV1QualityProfileExecute(r ApiCreateApiV1QualityProfileRequest) (*QualityProfileResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -60,7 +60,7 @@ func (a *QualityProfileApiService) CreateApiV1QualityprofileExecute(r ApiCreateA localVarReturnValue *QualityProfileResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QualityProfileApiService.CreateApiV1Qualityprofile") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QualityProfileApiService.CreateApiV1QualityProfile") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -154,25 +154,25 @@ func (a *QualityProfileApiService) CreateApiV1QualityprofileExecute(r ApiCreateA return localVarReturnValue, localVarHTTPResponse, nil } -type ApiDeleteApiV1QualityprofileRequest struct { +type ApiDeleteApiV1QualityProfileRequest struct { ctx context.Context ApiService *QualityProfileApiService id int32 } -func (r ApiDeleteApiV1QualityprofileRequest) Execute() (*http.Response, error) { - return r.ApiService.DeleteApiV1QualityprofileExecute(r) +func (r ApiDeleteApiV1QualityProfileRequest) Execute() (*http.Response, error) { + return r.ApiService.DeleteApiV1QualityProfileExecute(r) } /* -DeleteApiV1Qualityprofile Method for DeleteApiV1Qualityprofile +DeleteApiV1QualityProfile Method for DeleteApiV1QualityProfile @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id - @return ApiDeleteApiV1QualityprofileRequest + @return ApiDeleteApiV1QualityProfileRequest */ -func (a *QualityProfileApiService) DeleteApiV1Qualityprofile(ctx context.Context, id int32) ApiDeleteApiV1QualityprofileRequest { - return ApiDeleteApiV1QualityprofileRequest{ +func (a *QualityProfileApiService) DeleteApiV1QualityProfile(ctx context.Context, id int32) ApiDeleteApiV1QualityProfileRequest { + return ApiDeleteApiV1QualityProfileRequest{ ApiService: a, ctx: ctx, id: id, @@ -180,14 +180,14 @@ func (a *QualityProfileApiService) DeleteApiV1Qualityprofile(ctx context.Context } // Execute executes the request -func (a *QualityProfileApiService) DeleteApiV1QualityprofileExecute(r ApiDeleteApiV1QualityprofileRequest) (*http.Response, error) { +func (a *QualityProfileApiService) DeleteApiV1QualityProfileExecute(r ApiDeleteApiV1QualityProfileRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QualityProfileApiService.DeleteApiV1Qualityprofile") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QualityProfileApiService.DeleteApiV1QualityProfile") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -271,25 +271,25 @@ func (a *QualityProfileApiService) DeleteApiV1QualityprofileExecute(r ApiDeleteA return localVarHTTPResponse, nil } -type ApiGetApiV1QualityprofileByIdRequest struct { +type ApiGetApiV1QualityProfileByIdRequest struct { ctx context.Context ApiService *QualityProfileApiService id int32 } -func (r ApiGetApiV1QualityprofileByIdRequest) Execute() (*QualityProfileResource, *http.Response, error) { - return r.ApiService.GetApiV1QualityprofileByIdExecute(r) +func (r ApiGetApiV1QualityProfileByIdRequest) Execute() (*QualityProfileResource, *http.Response, error) { + return r.ApiService.GetApiV1QualityProfileByIdExecute(r) } /* -GetApiV1QualityprofileById Method for GetApiV1QualityprofileById +GetApiV1QualityProfileById Method for GetApiV1QualityProfileById @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id - @return ApiGetApiV1QualityprofileByIdRequest + @return ApiGetApiV1QualityProfileByIdRequest */ -func (a *QualityProfileApiService) GetApiV1QualityprofileById(ctx context.Context, id int32) ApiGetApiV1QualityprofileByIdRequest { - return ApiGetApiV1QualityprofileByIdRequest{ +func (a *QualityProfileApiService) GetApiV1QualityProfileById(ctx context.Context, id int32) ApiGetApiV1QualityProfileByIdRequest { + return ApiGetApiV1QualityProfileByIdRequest{ ApiService: a, ctx: ctx, id: id, @@ -298,7 +298,7 @@ func (a *QualityProfileApiService) GetApiV1QualityprofileById(ctx context.Contex // Execute executes the request // @return QualityProfileResource -func (a *QualityProfileApiService) GetApiV1QualityprofileByIdExecute(r ApiGetApiV1QualityprofileByIdRequest) (*QualityProfileResource, *http.Response, error) { +func (a *QualityProfileApiService) GetApiV1QualityProfileByIdExecute(r ApiGetApiV1QualityProfileByIdRequest) (*QualityProfileResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -306,7 +306,7 @@ func (a *QualityProfileApiService) GetApiV1QualityprofileByIdExecute(r ApiGetApi localVarReturnValue *QualityProfileResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QualityProfileApiService.GetApiV1QualityprofileById") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QualityProfileApiService.GetApiV1QualityProfileById") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -399,23 +399,23 @@ func (a *QualityProfileApiService) GetApiV1QualityprofileByIdExecute(r ApiGetApi return localVarReturnValue, localVarHTTPResponse, nil } -type ApiListApiV1QualityprofileRequest struct { +type ApiListApiV1QualityProfileRequest struct { ctx context.Context ApiService *QualityProfileApiService } -func (r ApiListApiV1QualityprofileRequest) Execute() ([]*QualityProfileResource, *http.Response, error) { - return r.ApiService.ListApiV1QualityprofileExecute(r) +func (r ApiListApiV1QualityProfileRequest) Execute() ([]*QualityProfileResource, *http.Response, error) { + return r.ApiService.ListApiV1QualityProfileExecute(r) } /* -ListApiV1Qualityprofile Method for ListApiV1Qualityprofile +ListApiV1QualityProfile Method for ListApiV1QualityProfile @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiListApiV1QualityprofileRequest + @return ApiListApiV1QualityProfileRequest */ -func (a *QualityProfileApiService) ListApiV1Qualityprofile(ctx context.Context) ApiListApiV1QualityprofileRequest { - return ApiListApiV1QualityprofileRequest{ +func (a *QualityProfileApiService) ListApiV1QualityProfile(ctx context.Context) ApiListApiV1QualityProfileRequest { + return ApiListApiV1QualityProfileRequest{ ApiService: a, ctx: ctx, } @@ -423,7 +423,7 @@ func (a *QualityProfileApiService) ListApiV1Qualityprofile(ctx context.Context) // Execute executes the request // @return []QualityProfileResource -func (a *QualityProfileApiService) ListApiV1QualityprofileExecute(r ApiListApiV1QualityprofileRequest) ([]*QualityProfileResource, *http.Response, error) { +func (a *QualityProfileApiService) ListApiV1QualityProfileExecute(r ApiListApiV1QualityProfileRequest) ([]*QualityProfileResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -431,7 +431,7 @@ func (a *QualityProfileApiService) ListApiV1QualityprofileExecute(r ApiListApiV1 localVarReturnValue []*QualityProfileResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QualityProfileApiService.ListApiV1Qualityprofile") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QualityProfileApiService.ListApiV1QualityProfile") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -523,31 +523,31 @@ func (a *QualityProfileApiService) ListApiV1QualityprofileExecute(r ApiListApiV1 return localVarReturnValue, localVarHTTPResponse, nil } -type ApiUpdateApiV1QualityprofileRequest struct { +type ApiUpdateApiV1QualityProfileRequest struct { ctx context.Context ApiService *QualityProfileApiService id string qualityProfileResource *QualityProfileResource } -func (r ApiUpdateApiV1QualityprofileRequest) QualityProfileResource(qualityProfileResource QualityProfileResource) ApiUpdateApiV1QualityprofileRequest { +func (r ApiUpdateApiV1QualityProfileRequest) QualityProfileResource(qualityProfileResource QualityProfileResource) ApiUpdateApiV1QualityProfileRequest { r.qualityProfileResource = &qualityProfileResource return r } -func (r ApiUpdateApiV1QualityprofileRequest) Execute() (*QualityProfileResource, *http.Response, error) { - return r.ApiService.UpdateApiV1QualityprofileExecute(r) +func (r ApiUpdateApiV1QualityProfileRequest) Execute() (*QualityProfileResource, *http.Response, error) { + return r.ApiService.UpdateApiV1QualityProfileExecute(r) } /* -UpdateApiV1Qualityprofile Method for UpdateApiV1Qualityprofile +UpdateApiV1QualityProfile Method for UpdateApiV1QualityProfile @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id - @return ApiUpdateApiV1QualityprofileRequest + @return ApiUpdateApiV1QualityProfileRequest */ -func (a *QualityProfileApiService) UpdateApiV1Qualityprofile(ctx context.Context, id string) ApiUpdateApiV1QualityprofileRequest { - return ApiUpdateApiV1QualityprofileRequest{ +func (a *QualityProfileApiService) UpdateApiV1QualityProfile(ctx context.Context, id string) ApiUpdateApiV1QualityProfileRequest { + return ApiUpdateApiV1QualityProfileRequest{ ApiService: a, ctx: ctx, id: id, @@ -556,7 +556,7 @@ func (a *QualityProfileApiService) UpdateApiV1Qualityprofile(ctx context.Context // Execute executes the request // @return QualityProfileResource -func (a *QualityProfileApiService) UpdateApiV1QualityprofileExecute(r ApiUpdateApiV1QualityprofileRequest) (*QualityProfileResource, *http.Response, error) { +func (a *QualityProfileApiService) UpdateApiV1QualityProfileExecute(r ApiUpdateApiV1QualityProfileRequest) (*QualityProfileResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} @@ -564,7 +564,7 @@ func (a *QualityProfileApiService) UpdateApiV1QualityprofileExecute(r ApiUpdateA localVarReturnValue *QualityProfileResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QualityProfileApiService.UpdateApiV1Qualityprofile") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QualityProfileApiService.UpdateApiV1QualityProfile") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } diff --git a/lidarr/api_release_profile.go b/lidarr/api_release_profile.go index bddb420..a46758b 100644 --- a/lidarr/api_release_profile.go +++ b/lidarr/api_release_profile.go @@ -22,29 +22,29 @@ import ( // ReleaseProfileApiService ReleaseProfileApi service type ReleaseProfileApiService service -type ApiCreateApiV1ReleaseprofileRequest struct { +type ApiCreateApiV1ReleaseProfileRequest struct { ctx context.Context ApiService *ReleaseProfileApiService releaseProfileResource *ReleaseProfileResource } -func (r ApiCreateApiV1ReleaseprofileRequest) ReleaseProfileResource(releaseProfileResource ReleaseProfileResource) ApiCreateApiV1ReleaseprofileRequest { +func (r ApiCreateApiV1ReleaseProfileRequest) ReleaseProfileResource(releaseProfileResource ReleaseProfileResource) ApiCreateApiV1ReleaseProfileRequest { r.releaseProfileResource = &releaseProfileResource return r } -func (r ApiCreateApiV1ReleaseprofileRequest) Execute() (*ReleaseProfileResource, *http.Response, error) { - return r.ApiService.CreateApiV1ReleaseprofileExecute(r) +func (r ApiCreateApiV1ReleaseProfileRequest) Execute() (*ReleaseProfileResource, *http.Response, error) { + return r.ApiService.CreateApiV1ReleaseProfileExecute(r) } /* -CreateApiV1Releaseprofile Method for CreateApiV1Releaseprofile +CreateApiV1ReleaseProfile Method for CreateApiV1ReleaseProfile @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiCreateApiV1ReleaseprofileRequest + @return ApiCreateApiV1ReleaseProfileRequest */ -func (a *ReleaseProfileApiService) CreateApiV1Releaseprofile(ctx context.Context) ApiCreateApiV1ReleaseprofileRequest { - return ApiCreateApiV1ReleaseprofileRequest{ +func (a *ReleaseProfileApiService) CreateApiV1ReleaseProfile(ctx context.Context) ApiCreateApiV1ReleaseProfileRequest { + return ApiCreateApiV1ReleaseProfileRequest{ ApiService: a, ctx: ctx, } @@ -52,7 +52,7 @@ func (a *ReleaseProfileApiService) CreateApiV1Releaseprofile(ctx context.Context // Execute executes the request // @return ReleaseProfileResource -func (a *ReleaseProfileApiService) CreateApiV1ReleaseprofileExecute(r ApiCreateApiV1ReleaseprofileRequest) (*ReleaseProfileResource, *http.Response, error) { +func (a *ReleaseProfileApiService) CreateApiV1ReleaseProfileExecute(r ApiCreateApiV1ReleaseProfileRequest) (*ReleaseProfileResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -60,7 +60,7 @@ func (a *ReleaseProfileApiService) CreateApiV1ReleaseprofileExecute(r ApiCreateA localVarReturnValue *ReleaseProfileResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ReleaseProfileApiService.CreateApiV1Releaseprofile") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ReleaseProfileApiService.CreateApiV1ReleaseProfile") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -154,25 +154,25 @@ func (a *ReleaseProfileApiService) CreateApiV1ReleaseprofileExecute(r ApiCreateA return localVarReturnValue, localVarHTTPResponse, nil } -type ApiDeleteApiV1ReleaseprofileRequest struct { +type ApiDeleteApiV1ReleaseProfileRequest struct { ctx context.Context ApiService *ReleaseProfileApiService id int32 } -func (r ApiDeleteApiV1ReleaseprofileRequest) Execute() (*http.Response, error) { - return r.ApiService.DeleteApiV1ReleaseprofileExecute(r) +func (r ApiDeleteApiV1ReleaseProfileRequest) Execute() (*http.Response, error) { + return r.ApiService.DeleteApiV1ReleaseProfileExecute(r) } /* -DeleteApiV1Releaseprofile Method for DeleteApiV1Releaseprofile +DeleteApiV1ReleaseProfile Method for DeleteApiV1ReleaseProfile @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id - @return ApiDeleteApiV1ReleaseprofileRequest + @return ApiDeleteApiV1ReleaseProfileRequest */ -func (a *ReleaseProfileApiService) DeleteApiV1Releaseprofile(ctx context.Context, id int32) ApiDeleteApiV1ReleaseprofileRequest { - return ApiDeleteApiV1ReleaseprofileRequest{ +func (a *ReleaseProfileApiService) DeleteApiV1ReleaseProfile(ctx context.Context, id int32) ApiDeleteApiV1ReleaseProfileRequest { + return ApiDeleteApiV1ReleaseProfileRequest{ ApiService: a, ctx: ctx, id: id, @@ -180,14 +180,14 @@ func (a *ReleaseProfileApiService) DeleteApiV1Releaseprofile(ctx context.Context } // Execute executes the request -func (a *ReleaseProfileApiService) DeleteApiV1ReleaseprofileExecute(r ApiDeleteApiV1ReleaseprofileRequest) (*http.Response, error) { +func (a *ReleaseProfileApiService) DeleteApiV1ReleaseProfileExecute(r ApiDeleteApiV1ReleaseProfileRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ReleaseProfileApiService.DeleteApiV1Releaseprofile") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ReleaseProfileApiService.DeleteApiV1ReleaseProfile") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -271,25 +271,25 @@ func (a *ReleaseProfileApiService) DeleteApiV1ReleaseprofileExecute(r ApiDeleteA return localVarHTTPResponse, nil } -type ApiGetApiV1ReleaseprofileByIdRequest struct { +type ApiGetApiV1ReleaseProfileByIdRequest struct { ctx context.Context ApiService *ReleaseProfileApiService id int32 } -func (r ApiGetApiV1ReleaseprofileByIdRequest) Execute() (*ReleaseProfileResource, *http.Response, error) { - return r.ApiService.GetApiV1ReleaseprofileByIdExecute(r) +func (r ApiGetApiV1ReleaseProfileByIdRequest) Execute() (*ReleaseProfileResource, *http.Response, error) { + return r.ApiService.GetApiV1ReleaseProfileByIdExecute(r) } /* -GetApiV1ReleaseprofileById Method for GetApiV1ReleaseprofileById +GetApiV1ReleaseProfileById Method for GetApiV1ReleaseProfileById @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id - @return ApiGetApiV1ReleaseprofileByIdRequest + @return ApiGetApiV1ReleaseProfileByIdRequest */ -func (a *ReleaseProfileApiService) GetApiV1ReleaseprofileById(ctx context.Context, id int32) ApiGetApiV1ReleaseprofileByIdRequest { - return ApiGetApiV1ReleaseprofileByIdRequest{ +func (a *ReleaseProfileApiService) GetApiV1ReleaseProfileById(ctx context.Context, id int32) ApiGetApiV1ReleaseProfileByIdRequest { + return ApiGetApiV1ReleaseProfileByIdRequest{ ApiService: a, ctx: ctx, id: id, @@ -298,7 +298,7 @@ func (a *ReleaseProfileApiService) GetApiV1ReleaseprofileById(ctx context.Contex // Execute executes the request // @return ReleaseProfileResource -func (a *ReleaseProfileApiService) GetApiV1ReleaseprofileByIdExecute(r ApiGetApiV1ReleaseprofileByIdRequest) (*ReleaseProfileResource, *http.Response, error) { +func (a *ReleaseProfileApiService) GetApiV1ReleaseProfileByIdExecute(r ApiGetApiV1ReleaseProfileByIdRequest) (*ReleaseProfileResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -306,7 +306,7 @@ func (a *ReleaseProfileApiService) GetApiV1ReleaseprofileByIdExecute(r ApiGetApi localVarReturnValue *ReleaseProfileResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ReleaseProfileApiService.GetApiV1ReleaseprofileById") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ReleaseProfileApiService.GetApiV1ReleaseProfileById") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -399,23 +399,23 @@ func (a *ReleaseProfileApiService) GetApiV1ReleaseprofileByIdExecute(r ApiGetApi return localVarReturnValue, localVarHTTPResponse, nil } -type ApiListApiV1ReleaseprofileRequest struct { +type ApiListApiV1ReleaseProfileRequest struct { ctx context.Context ApiService *ReleaseProfileApiService } -func (r ApiListApiV1ReleaseprofileRequest) Execute() ([]*ReleaseProfileResource, *http.Response, error) { - return r.ApiService.ListApiV1ReleaseprofileExecute(r) +func (r ApiListApiV1ReleaseProfileRequest) Execute() ([]*ReleaseProfileResource, *http.Response, error) { + return r.ApiService.ListApiV1ReleaseProfileExecute(r) } /* -ListApiV1Releaseprofile Method for ListApiV1Releaseprofile +ListApiV1ReleaseProfile Method for ListApiV1ReleaseProfile @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiListApiV1ReleaseprofileRequest + @return ApiListApiV1ReleaseProfileRequest */ -func (a *ReleaseProfileApiService) ListApiV1Releaseprofile(ctx context.Context) ApiListApiV1ReleaseprofileRequest { - return ApiListApiV1ReleaseprofileRequest{ +func (a *ReleaseProfileApiService) ListApiV1ReleaseProfile(ctx context.Context) ApiListApiV1ReleaseProfileRequest { + return ApiListApiV1ReleaseProfileRequest{ ApiService: a, ctx: ctx, } @@ -423,7 +423,7 @@ func (a *ReleaseProfileApiService) ListApiV1Releaseprofile(ctx context.Context) // Execute executes the request // @return []ReleaseProfileResource -func (a *ReleaseProfileApiService) ListApiV1ReleaseprofileExecute(r ApiListApiV1ReleaseprofileRequest) ([]*ReleaseProfileResource, *http.Response, error) { +func (a *ReleaseProfileApiService) ListApiV1ReleaseProfileExecute(r ApiListApiV1ReleaseProfileRequest) ([]*ReleaseProfileResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -431,7 +431,7 @@ func (a *ReleaseProfileApiService) ListApiV1ReleaseprofileExecute(r ApiListApiV1 localVarReturnValue []*ReleaseProfileResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ReleaseProfileApiService.ListApiV1Releaseprofile") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ReleaseProfileApiService.ListApiV1ReleaseProfile") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -523,31 +523,31 @@ func (a *ReleaseProfileApiService) ListApiV1ReleaseprofileExecute(r ApiListApiV1 return localVarReturnValue, localVarHTTPResponse, nil } -type ApiUpdateApiV1ReleaseprofileRequest struct { +type ApiUpdateApiV1ReleaseProfileRequest struct { ctx context.Context ApiService *ReleaseProfileApiService id string releaseProfileResource *ReleaseProfileResource } -func (r ApiUpdateApiV1ReleaseprofileRequest) ReleaseProfileResource(releaseProfileResource ReleaseProfileResource) ApiUpdateApiV1ReleaseprofileRequest { +func (r ApiUpdateApiV1ReleaseProfileRequest) ReleaseProfileResource(releaseProfileResource ReleaseProfileResource) ApiUpdateApiV1ReleaseProfileRequest { r.releaseProfileResource = &releaseProfileResource return r } -func (r ApiUpdateApiV1ReleaseprofileRequest) Execute() (*ReleaseProfileResource, *http.Response, error) { - return r.ApiService.UpdateApiV1ReleaseprofileExecute(r) +func (r ApiUpdateApiV1ReleaseProfileRequest) Execute() (*ReleaseProfileResource, *http.Response, error) { + return r.ApiService.UpdateApiV1ReleaseProfileExecute(r) } /* -UpdateApiV1Releaseprofile Method for UpdateApiV1Releaseprofile +UpdateApiV1ReleaseProfile Method for UpdateApiV1ReleaseProfile @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id - @return ApiUpdateApiV1ReleaseprofileRequest + @return ApiUpdateApiV1ReleaseProfileRequest */ -func (a *ReleaseProfileApiService) UpdateApiV1Releaseprofile(ctx context.Context, id string) ApiUpdateApiV1ReleaseprofileRequest { - return ApiUpdateApiV1ReleaseprofileRequest{ +func (a *ReleaseProfileApiService) UpdateApiV1ReleaseProfile(ctx context.Context, id string) ApiUpdateApiV1ReleaseProfileRequest { + return ApiUpdateApiV1ReleaseProfileRequest{ ApiService: a, ctx: ctx, id: id, @@ -556,7 +556,7 @@ func (a *ReleaseProfileApiService) UpdateApiV1Releaseprofile(ctx context.Context // Execute executes the request // @return ReleaseProfileResource -func (a *ReleaseProfileApiService) UpdateApiV1ReleaseprofileExecute(r ApiUpdateApiV1ReleaseprofileRequest) (*ReleaseProfileResource, *http.Response, error) { +func (a *ReleaseProfileApiService) UpdateApiV1ReleaseProfileExecute(r ApiUpdateApiV1ReleaseProfileRequest) (*ReleaseProfileResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} @@ -564,7 +564,7 @@ func (a *ReleaseProfileApiService) UpdateApiV1ReleaseprofileExecute(r ApiUpdateA localVarReturnValue *ReleaseProfileResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ReleaseProfileApiService.UpdateApiV1Releaseprofile") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ReleaseProfileApiService.UpdateApiV1ReleaseProfile") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } diff --git a/lidarr/api_remote_path_mapping.go b/lidarr/api_remote_path_mapping.go index 4dbf95a..1bae999 100644 --- a/lidarr/api_remote_path_mapping.go +++ b/lidarr/api_remote_path_mapping.go @@ -22,29 +22,29 @@ import ( // RemotePathMappingApiService RemotePathMappingApi service type RemotePathMappingApiService service -type ApiCreateApiV1RemotepathmappingRequest struct { +type ApiCreateApiV1RemotePathMappingRequest struct { ctx context.Context ApiService *RemotePathMappingApiService remotePathMappingResource *RemotePathMappingResource } -func (r ApiCreateApiV1RemotepathmappingRequest) RemotePathMappingResource(remotePathMappingResource RemotePathMappingResource) ApiCreateApiV1RemotepathmappingRequest { +func (r ApiCreateApiV1RemotePathMappingRequest) RemotePathMappingResource(remotePathMappingResource RemotePathMappingResource) ApiCreateApiV1RemotePathMappingRequest { r.remotePathMappingResource = &remotePathMappingResource return r } -func (r ApiCreateApiV1RemotepathmappingRequest) Execute() (*RemotePathMappingResource, *http.Response, error) { - return r.ApiService.CreateApiV1RemotepathmappingExecute(r) +func (r ApiCreateApiV1RemotePathMappingRequest) Execute() (*RemotePathMappingResource, *http.Response, error) { + return r.ApiService.CreateApiV1RemotePathMappingExecute(r) } /* -CreateApiV1Remotepathmapping Method for CreateApiV1Remotepathmapping +CreateApiV1RemotePathMapping Method for CreateApiV1RemotePathMapping @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiCreateApiV1RemotepathmappingRequest + @return ApiCreateApiV1RemotePathMappingRequest */ -func (a *RemotePathMappingApiService) CreateApiV1Remotepathmapping(ctx context.Context) ApiCreateApiV1RemotepathmappingRequest { - return ApiCreateApiV1RemotepathmappingRequest{ +func (a *RemotePathMappingApiService) CreateApiV1RemotePathMapping(ctx context.Context) ApiCreateApiV1RemotePathMappingRequest { + return ApiCreateApiV1RemotePathMappingRequest{ ApiService: a, ctx: ctx, } @@ -52,7 +52,7 @@ func (a *RemotePathMappingApiService) CreateApiV1Remotepathmapping(ctx context.C // Execute executes the request // @return RemotePathMappingResource -func (a *RemotePathMappingApiService) CreateApiV1RemotepathmappingExecute(r ApiCreateApiV1RemotepathmappingRequest) (*RemotePathMappingResource, *http.Response, error) { +func (a *RemotePathMappingApiService) CreateApiV1RemotePathMappingExecute(r ApiCreateApiV1RemotePathMappingRequest) (*RemotePathMappingResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -60,7 +60,7 @@ func (a *RemotePathMappingApiService) CreateApiV1RemotepathmappingExecute(r ApiC localVarReturnValue *RemotePathMappingResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RemotePathMappingApiService.CreateApiV1Remotepathmapping") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RemotePathMappingApiService.CreateApiV1RemotePathMapping") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -154,25 +154,25 @@ func (a *RemotePathMappingApiService) CreateApiV1RemotepathmappingExecute(r ApiC return localVarReturnValue, localVarHTTPResponse, nil } -type ApiDeleteApiV1RemotepathmappingRequest struct { +type ApiDeleteApiV1RemotePathMappingRequest struct { ctx context.Context ApiService *RemotePathMappingApiService id int32 } -func (r ApiDeleteApiV1RemotepathmappingRequest) Execute() (*http.Response, error) { - return r.ApiService.DeleteApiV1RemotepathmappingExecute(r) +func (r ApiDeleteApiV1RemotePathMappingRequest) Execute() (*http.Response, error) { + return r.ApiService.DeleteApiV1RemotePathMappingExecute(r) } /* -DeleteApiV1Remotepathmapping Method for DeleteApiV1Remotepathmapping +DeleteApiV1RemotePathMapping Method for DeleteApiV1RemotePathMapping @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id - @return ApiDeleteApiV1RemotepathmappingRequest + @return ApiDeleteApiV1RemotePathMappingRequest */ -func (a *RemotePathMappingApiService) DeleteApiV1Remotepathmapping(ctx context.Context, id int32) ApiDeleteApiV1RemotepathmappingRequest { - return ApiDeleteApiV1RemotepathmappingRequest{ +func (a *RemotePathMappingApiService) DeleteApiV1RemotePathMapping(ctx context.Context, id int32) ApiDeleteApiV1RemotePathMappingRequest { + return ApiDeleteApiV1RemotePathMappingRequest{ ApiService: a, ctx: ctx, id: id, @@ -180,14 +180,14 @@ func (a *RemotePathMappingApiService) DeleteApiV1Remotepathmapping(ctx context.C } // Execute executes the request -func (a *RemotePathMappingApiService) DeleteApiV1RemotepathmappingExecute(r ApiDeleteApiV1RemotepathmappingRequest) (*http.Response, error) { +func (a *RemotePathMappingApiService) DeleteApiV1RemotePathMappingExecute(r ApiDeleteApiV1RemotePathMappingRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RemotePathMappingApiService.DeleteApiV1Remotepathmapping") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RemotePathMappingApiService.DeleteApiV1RemotePathMapping") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -271,25 +271,25 @@ func (a *RemotePathMappingApiService) DeleteApiV1RemotepathmappingExecute(r ApiD return localVarHTTPResponse, nil } -type ApiGetApiV1RemotepathmappingByIdRequest struct { +type ApiGetApiV1RemotePathMappingByIdRequest struct { ctx context.Context ApiService *RemotePathMappingApiService id int32 } -func (r ApiGetApiV1RemotepathmappingByIdRequest) Execute() (*RemotePathMappingResource, *http.Response, error) { - return r.ApiService.GetApiV1RemotepathmappingByIdExecute(r) +func (r ApiGetApiV1RemotePathMappingByIdRequest) Execute() (*RemotePathMappingResource, *http.Response, error) { + return r.ApiService.GetApiV1RemotePathMappingByIdExecute(r) } /* -GetApiV1RemotepathmappingById Method for GetApiV1RemotepathmappingById +GetApiV1RemotePathMappingById Method for GetApiV1RemotePathMappingById @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id - @return ApiGetApiV1RemotepathmappingByIdRequest + @return ApiGetApiV1RemotePathMappingByIdRequest */ -func (a *RemotePathMappingApiService) GetApiV1RemotepathmappingById(ctx context.Context, id int32) ApiGetApiV1RemotepathmappingByIdRequest { - return ApiGetApiV1RemotepathmappingByIdRequest{ +func (a *RemotePathMappingApiService) GetApiV1RemotePathMappingById(ctx context.Context, id int32) ApiGetApiV1RemotePathMappingByIdRequest { + return ApiGetApiV1RemotePathMappingByIdRequest{ ApiService: a, ctx: ctx, id: id, @@ -298,7 +298,7 @@ func (a *RemotePathMappingApiService) GetApiV1RemotepathmappingById(ctx context. // Execute executes the request // @return RemotePathMappingResource -func (a *RemotePathMappingApiService) GetApiV1RemotepathmappingByIdExecute(r ApiGetApiV1RemotepathmappingByIdRequest) (*RemotePathMappingResource, *http.Response, error) { +func (a *RemotePathMappingApiService) GetApiV1RemotePathMappingByIdExecute(r ApiGetApiV1RemotePathMappingByIdRequest) (*RemotePathMappingResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -306,7 +306,7 @@ func (a *RemotePathMappingApiService) GetApiV1RemotepathmappingByIdExecute(r Api localVarReturnValue *RemotePathMappingResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RemotePathMappingApiService.GetApiV1RemotepathmappingById") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RemotePathMappingApiService.GetApiV1RemotePathMappingById") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -399,23 +399,23 @@ func (a *RemotePathMappingApiService) GetApiV1RemotepathmappingByIdExecute(r Api return localVarReturnValue, localVarHTTPResponse, nil } -type ApiListApiV1RemotepathmappingRequest struct { +type ApiListApiV1RemotePathMappingRequest struct { ctx context.Context ApiService *RemotePathMappingApiService } -func (r ApiListApiV1RemotepathmappingRequest) Execute() ([]*RemotePathMappingResource, *http.Response, error) { - return r.ApiService.ListApiV1RemotepathmappingExecute(r) +func (r ApiListApiV1RemotePathMappingRequest) Execute() ([]*RemotePathMappingResource, *http.Response, error) { + return r.ApiService.ListApiV1RemotePathMappingExecute(r) } /* -ListApiV1Remotepathmapping Method for ListApiV1Remotepathmapping +ListApiV1RemotePathMapping Method for ListApiV1RemotePathMapping @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiListApiV1RemotepathmappingRequest + @return ApiListApiV1RemotePathMappingRequest */ -func (a *RemotePathMappingApiService) ListApiV1Remotepathmapping(ctx context.Context) ApiListApiV1RemotepathmappingRequest { - return ApiListApiV1RemotepathmappingRequest{ +func (a *RemotePathMappingApiService) ListApiV1RemotePathMapping(ctx context.Context) ApiListApiV1RemotePathMappingRequest { + return ApiListApiV1RemotePathMappingRequest{ ApiService: a, ctx: ctx, } @@ -423,7 +423,7 @@ func (a *RemotePathMappingApiService) ListApiV1Remotepathmapping(ctx context.Con // Execute executes the request // @return []RemotePathMappingResource -func (a *RemotePathMappingApiService) ListApiV1RemotepathmappingExecute(r ApiListApiV1RemotepathmappingRequest) ([]*RemotePathMappingResource, *http.Response, error) { +func (a *RemotePathMappingApiService) ListApiV1RemotePathMappingExecute(r ApiListApiV1RemotePathMappingRequest) ([]*RemotePathMappingResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -431,7 +431,7 @@ func (a *RemotePathMappingApiService) ListApiV1RemotepathmappingExecute(r ApiLis localVarReturnValue []*RemotePathMappingResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RemotePathMappingApiService.ListApiV1Remotepathmapping") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RemotePathMappingApiService.ListApiV1RemotePathMapping") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -523,31 +523,31 @@ func (a *RemotePathMappingApiService) ListApiV1RemotepathmappingExecute(r ApiLis return localVarReturnValue, localVarHTTPResponse, nil } -type ApiUpdateApiV1RemotepathmappingRequest struct { +type ApiUpdateApiV1RemotePathMappingRequest struct { ctx context.Context ApiService *RemotePathMappingApiService id string remotePathMappingResource *RemotePathMappingResource } -func (r ApiUpdateApiV1RemotepathmappingRequest) RemotePathMappingResource(remotePathMappingResource RemotePathMappingResource) ApiUpdateApiV1RemotepathmappingRequest { +func (r ApiUpdateApiV1RemotePathMappingRequest) RemotePathMappingResource(remotePathMappingResource RemotePathMappingResource) ApiUpdateApiV1RemotePathMappingRequest { r.remotePathMappingResource = &remotePathMappingResource return r } -func (r ApiUpdateApiV1RemotepathmappingRequest) Execute() (*RemotePathMappingResource, *http.Response, error) { - return r.ApiService.UpdateApiV1RemotepathmappingExecute(r) +func (r ApiUpdateApiV1RemotePathMappingRequest) Execute() (*RemotePathMappingResource, *http.Response, error) { + return r.ApiService.UpdateApiV1RemotePathMappingExecute(r) } /* -UpdateApiV1Remotepathmapping Method for UpdateApiV1Remotepathmapping +UpdateApiV1RemotePathMapping Method for UpdateApiV1RemotePathMapping @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id - @return ApiUpdateApiV1RemotepathmappingRequest + @return ApiUpdateApiV1RemotePathMappingRequest */ -func (a *RemotePathMappingApiService) UpdateApiV1Remotepathmapping(ctx context.Context, id string) ApiUpdateApiV1RemotepathmappingRequest { - return ApiUpdateApiV1RemotepathmappingRequest{ +func (a *RemotePathMappingApiService) UpdateApiV1RemotePathMapping(ctx context.Context, id string) ApiUpdateApiV1RemotePathMappingRequest { + return ApiUpdateApiV1RemotePathMappingRequest{ ApiService: a, ctx: ctx, id: id, @@ -556,7 +556,7 @@ func (a *RemotePathMappingApiService) UpdateApiV1Remotepathmapping(ctx context.C // Execute executes the request // @return RemotePathMappingResource -func (a *RemotePathMappingApiService) UpdateApiV1RemotepathmappingExecute(r ApiUpdateApiV1RemotepathmappingRequest) (*RemotePathMappingResource, *http.Response, error) { +func (a *RemotePathMappingApiService) UpdateApiV1RemotePathMappingExecute(r ApiUpdateApiV1RemotePathMappingRequest) (*RemotePathMappingResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} @@ -564,7 +564,7 @@ func (a *RemotePathMappingApiService) UpdateApiV1RemotepathmappingExecute(r ApiU localVarReturnValue *RemotePathMappingResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RemotePathMappingApiService.UpdateApiV1Remotepathmapping") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RemotePathMappingApiService.UpdateApiV1RemotePathMapping") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } diff --git a/lidarr/api_root_folder.go b/lidarr/api_root_folder.go index 6989573..70ace9a 100644 --- a/lidarr/api_root_folder.go +++ b/lidarr/api_root_folder.go @@ -22,29 +22,29 @@ import ( // RootFolderApiService RootFolderApi service type RootFolderApiService service -type ApiCreateApiV1RootfolderRequest struct { +type ApiCreateApiV1RootFolderRequest struct { ctx context.Context ApiService *RootFolderApiService rootFolderResource *RootFolderResource } -func (r ApiCreateApiV1RootfolderRequest) RootFolderResource(rootFolderResource RootFolderResource) ApiCreateApiV1RootfolderRequest { +func (r ApiCreateApiV1RootFolderRequest) RootFolderResource(rootFolderResource RootFolderResource) ApiCreateApiV1RootFolderRequest { r.rootFolderResource = &rootFolderResource return r } -func (r ApiCreateApiV1RootfolderRequest) Execute() (*RootFolderResource, *http.Response, error) { - return r.ApiService.CreateApiV1RootfolderExecute(r) +func (r ApiCreateApiV1RootFolderRequest) Execute() (*RootFolderResource, *http.Response, error) { + return r.ApiService.CreateApiV1RootFolderExecute(r) } /* -CreateApiV1Rootfolder Method for CreateApiV1Rootfolder +CreateApiV1RootFolder Method for CreateApiV1RootFolder @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiCreateApiV1RootfolderRequest + @return ApiCreateApiV1RootFolderRequest */ -func (a *RootFolderApiService) CreateApiV1Rootfolder(ctx context.Context) ApiCreateApiV1RootfolderRequest { - return ApiCreateApiV1RootfolderRequest{ +func (a *RootFolderApiService) CreateApiV1RootFolder(ctx context.Context) ApiCreateApiV1RootFolderRequest { + return ApiCreateApiV1RootFolderRequest{ ApiService: a, ctx: ctx, } @@ -52,7 +52,7 @@ func (a *RootFolderApiService) CreateApiV1Rootfolder(ctx context.Context) ApiCre // Execute executes the request // @return RootFolderResource -func (a *RootFolderApiService) CreateApiV1RootfolderExecute(r ApiCreateApiV1RootfolderRequest) (*RootFolderResource, *http.Response, error) { +func (a *RootFolderApiService) CreateApiV1RootFolderExecute(r ApiCreateApiV1RootFolderRequest) (*RootFolderResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -60,7 +60,7 @@ func (a *RootFolderApiService) CreateApiV1RootfolderExecute(r ApiCreateApiV1Root localVarReturnValue *RootFolderResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RootFolderApiService.CreateApiV1Rootfolder") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RootFolderApiService.CreateApiV1RootFolder") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -154,25 +154,25 @@ func (a *RootFolderApiService) CreateApiV1RootfolderExecute(r ApiCreateApiV1Root return localVarReturnValue, localVarHTTPResponse, nil } -type ApiDeleteApiV1RootfolderRequest struct { +type ApiDeleteApiV1RootFolderRequest struct { ctx context.Context ApiService *RootFolderApiService id int32 } -func (r ApiDeleteApiV1RootfolderRequest) Execute() (*http.Response, error) { - return r.ApiService.DeleteApiV1RootfolderExecute(r) +func (r ApiDeleteApiV1RootFolderRequest) Execute() (*http.Response, error) { + return r.ApiService.DeleteApiV1RootFolderExecute(r) } /* -DeleteApiV1Rootfolder Method for DeleteApiV1Rootfolder +DeleteApiV1RootFolder Method for DeleteApiV1RootFolder @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id - @return ApiDeleteApiV1RootfolderRequest + @return ApiDeleteApiV1RootFolderRequest */ -func (a *RootFolderApiService) DeleteApiV1Rootfolder(ctx context.Context, id int32) ApiDeleteApiV1RootfolderRequest { - return ApiDeleteApiV1RootfolderRequest{ +func (a *RootFolderApiService) DeleteApiV1RootFolder(ctx context.Context, id int32) ApiDeleteApiV1RootFolderRequest { + return ApiDeleteApiV1RootFolderRequest{ ApiService: a, ctx: ctx, id: id, @@ -180,14 +180,14 @@ func (a *RootFolderApiService) DeleteApiV1Rootfolder(ctx context.Context, id int } // Execute executes the request -func (a *RootFolderApiService) DeleteApiV1RootfolderExecute(r ApiDeleteApiV1RootfolderRequest) (*http.Response, error) { +func (a *RootFolderApiService) DeleteApiV1RootFolderExecute(r ApiDeleteApiV1RootFolderRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RootFolderApiService.DeleteApiV1Rootfolder") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RootFolderApiService.DeleteApiV1RootFolder") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -271,25 +271,25 @@ func (a *RootFolderApiService) DeleteApiV1RootfolderExecute(r ApiDeleteApiV1Root return localVarHTTPResponse, nil } -type ApiGetApiV1RootfolderByIdRequest struct { +type ApiGetApiV1RootFolderByIdRequest struct { ctx context.Context ApiService *RootFolderApiService id int32 } -func (r ApiGetApiV1RootfolderByIdRequest) Execute() (*RootFolderResource, *http.Response, error) { - return r.ApiService.GetApiV1RootfolderByIdExecute(r) +func (r ApiGetApiV1RootFolderByIdRequest) Execute() (*RootFolderResource, *http.Response, error) { + return r.ApiService.GetApiV1RootFolderByIdExecute(r) } /* -GetApiV1RootfolderById Method for GetApiV1RootfolderById +GetApiV1RootFolderById Method for GetApiV1RootFolderById @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id - @return ApiGetApiV1RootfolderByIdRequest + @return ApiGetApiV1RootFolderByIdRequest */ -func (a *RootFolderApiService) GetApiV1RootfolderById(ctx context.Context, id int32) ApiGetApiV1RootfolderByIdRequest { - return ApiGetApiV1RootfolderByIdRequest{ +func (a *RootFolderApiService) GetApiV1RootFolderById(ctx context.Context, id int32) ApiGetApiV1RootFolderByIdRequest { + return ApiGetApiV1RootFolderByIdRequest{ ApiService: a, ctx: ctx, id: id, @@ -298,7 +298,7 @@ func (a *RootFolderApiService) GetApiV1RootfolderById(ctx context.Context, id in // Execute executes the request // @return RootFolderResource -func (a *RootFolderApiService) GetApiV1RootfolderByIdExecute(r ApiGetApiV1RootfolderByIdRequest) (*RootFolderResource, *http.Response, error) { +func (a *RootFolderApiService) GetApiV1RootFolderByIdExecute(r ApiGetApiV1RootFolderByIdRequest) (*RootFolderResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -306,7 +306,7 @@ func (a *RootFolderApiService) GetApiV1RootfolderByIdExecute(r ApiGetApiV1Rootfo localVarReturnValue *RootFolderResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RootFolderApiService.GetApiV1RootfolderById") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RootFolderApiService.GetApiV1RootFolderById") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -399,23 +399,23 @@ func (a *RootFolderApiService) GetApiV1RootfolderByIdExecute(r ApiGetApiV1Rootfo return localVarReturnValue, localVarHTTPResponse, nil } -type ApiListApiV1RootfolderRequest struct { +type ApiListApiV1RootFolderRequest struct { ctx context.Context ApiService *RootFolderApiService } -func (r ApiListApiV1RootfolderRequest) Execute() ([]*RootFolderResource, *http.Response, error) { - return r.ApiService.ListApiV1RootfolderExecute(r) +func (r ApiListApiV1RootFolderRequest) Execute() ([]*RootFolderResource, *http.Response, error) { + return r.ApiService.ListApiV1RootFolderExecute(r) } /* -ListApiV1Rootfolder Method for ListApiV1Rootfolder +ListApiV1RootFolder Method for ListApiV1RootFolder @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiListApiV1RootfolderRequest + @return ApiListApiV1RootFolderRequest */ -func (a *RootFolderApiService) ListApiV1Rootfolder(ctx context.Context) ApiListApiV1RootfolderRequest { - return ApiListApiV1RootfolderRequest{ +func (a *RootFolderApiService) ListApiV1RootFolder(ctx context.Context) ApiListApiV1RootFolderRequest { + return ApiListApiV1RootFolderRequest{ ApiService: a, ctx: ctx, } @@ -423,7 +423,7 @@ func (a *RootFolderApiService) ListApiV1Rootfolder(ctx context.Context) ApiListA // Execute executes the request // @return []RootFolderResource -func (a *RootFolderApiService) ListApiV1RootfolderExecute(r ApiListApiV1RootfolderRequest) ([]*RootFolderResource, *http.Response, error) { +func (a *RootFolderApiService) ListApiV1RootFolderExecute(r ApiListApiV1RootFolderRequest) ([]*RootFolderResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -431,7 +431,7 @@ func (a *RootFolderApiService) ListApiV1RootfolderExecute(r ApiListApiV1Rootfold localVarReturnValue []*RootFolderResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RootFolderApiService.ListApiV1Rootfolder") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RootFolderApiService.ListApiV1RootFolder") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -523,31 +523,31 @@ func (a *RootFolderApiService) ListApiV1RootfolderExecute(r ApiListApiV1Rootfold return localVarReturnValue, localVarHTTPResponse, nil } -type ApiUpdateApiV1RootfolderRequest struct { +type ApiUpdateApiV1RootFolderRequest struct { ctx context.Context ApiService *RootFolderApiService id string rootFolderResource *RootFolderResource } -func (r ApiUpdateApiV1RootfolderRequest) RootFolderResource(rootFolderResource RootFolderResource) ApiUpdateApiV1RootfolderRequest { +func (r ApiUpdateApiV1RootFolderRequest) RootFolderResource(rootFolderResource RootFolderResource) ApiUpdateApiV1RootFolderRequest { r.rootFolderResource = &rootFolderResource return r } -func (r ApiUpdateApiV1RootfolderRequest) Execute() (*RootFolderResource, *http.Response, error) { - return r.ApiService.UpdateApiV1RootfolderExecute(r) +func (r ApiUpdateApiV1RootFolderRequest) Execute() (*RootFolderResource, *http.Response, error) { + return r.ApiService.UpdateApiV1RootFolderExecute(r) } /* -UpdateApiV1Rootfolder Method for UpdateApiV1Rootfolder +UpdateApiV1RootFolder Method for UpdateApiV1RootFolder @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id - @return ApiUpdateApiV1RootfolderRequest + @return ApiUpdateApiV1RootFolderRequest */ -func (a *RootFolderApiService) UpdateApiV1Rootfolder(ctx context.Context, id string) ApiUpdateApiV1RootfolderRequest { - return ApiUpdateApiV1RootfolderRequest{ +func (a *RootFolderApiService) UpdateApiV1RootFolder(ctx context.Context, id string) ApiUpdateApiV1RootFolderRequest { + return ApiUpdateApiV1RootFolderRequest{ ApiService: a, ctx: ctx, id: id, @@ -556,7 +556,7 @@ func (a *RootFolderApiService) UpdateApiV1Rootfolder(ctx context.Context, id str // Execute executes the request // @return RootFolderResource -func (a *RootFolderApiService) UpdateApiV1RootfolderExecute(r ApiUpdateApiV1RootfolderRequest) (*RootFolderResource, *http.Response, error) { +func (a *RootFolderApiService) UpdateApiV1RootFolderExecute(r ApiUpdateApiV1RootFolderRequest) (*RootFolderResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} @@ -564,7 +564,7 @@ func (a *RootFolderApiService) UpdateApiV1RootfolderExecute(r ApiUpdateApiV1Root localVarReturnValue *RootFolderResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RootFolderApiService.UpdateApiV1Rootfolder") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RootFolderApiService.UpdateApiV1RootFolder") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } diff --git a/lidarr/api_track_file.go b/lidarr/api_track_file.go index 150a548..5192137 100644 --- a/lidarr/api_track_file.go +++ b/lidarr/api_track_file.go @@ -23,25 +23,25 @@ import ( // TrackFileApiService TrackFileApi service type TrackFileApiService service -type ApiDeleteApiV1TrackfileRequest struct { +type ApiDeleteApiV1TrackFileRequest struct { ctx context.Context ApiService *TrackFileApiService id int32 } -func (r ApiDeleteApiV1TrackfileRequest) Execute() (*http.Response, error) { - return r.ApiService.DeleteApiV1TrackfileExecute(r) +func (r ApiDeleteApiV1TrackFileRequest) Execute() (*http.Response, error) { + return r.ApiService.DeleteApiV1TrackFileExecute(r) } /* -DeleteApiV1Trackfile Method for DeleteApiV1Trackfile +DeleteApiV1TrackFile Method for DeleteApiV1TrackFile @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id - @return ApiDeleteApiV1TrackfileRequest + @return ApiDeleteApiV1TrackFileRequest */ -func (a *TrackFileApiService) DeleteApiV1Trackfile(ctx context.Context, id int32) ApiDeleteApiV1TrackfileRequest { - return ApiDeleteApiV1TrackfileRequest{ +func (a *TrackFileApiService) DeleteApiV1TrackFile(ctx context.Context, id int32) ApiDeleteApiV1TrackFileRequest { + return ApiDeleteApiV1TrackFileRequest{ ApiService: a, ctx: ctx, id: id, @@ -49,14 +49,14 @@ func (a *TrackFileApiService) DeleteApiV1Trackfile(ctx context.Context, id int32 } // Execute executes the request -func (a *TrackFileApiService) DeleteApiV1TrackfileExecute(r ApiDeleteApiV1TrackfileRequest) (*http.Response, error) { +func (a *TrackFileApiService) DeleteApiV1TrackFileExecute(r ApiDeleteApiV1TrackFileRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TrackFileApiService.DeleteApiV1Trackfile") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TrackFileApiService.DeleteApiV1TrackFile") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -140,43 +140,43 @@ func (a *TrackFileApiService) DeleteApiV1TrackfileExecute(r ApiDeleteApiV1Trackf return localVarHTTPResponse, nil } -type ApiDeleteApiV1TrackfileBulkRequest struct { +type ApiDeleteApiV1TrackFileBulkRequest struct { ctx context.Context ApiService *TrackFileApiService trackFileListResource *TrackFileListResource } -func (r ApiDeleteApiV1TrackfileBulkRequest) TrackFileListResource(trackFileListResource TrackFileListResource) ApiDeleteApiV1TrackfileBulkRequest { +func (r ApiDeleteApiV1TrackFileBulkRequest) TrackFileListResource(trackFileListResource TrackFileListResource) ApiDeleteApiV1TrackFileBulkRequest { r.trackFileListResource = &trackFileListResource return r } -func (r ApiDeleteApiV1TrackfileBulkRequest) Execute() (*http.Response, error) { - return r.ApiService.DeleteApiV1TrackfileBulkExecute(r) +func (r ApiDeleteApiV1TrackFileBulkRequest) Execute() (*http.Response, error) { + return r.ApiService.DeleteApiV1TrackFileBulkExecute(r) } /* -DeleteApiV1TrackfileBulk Method for DeleteApiV1TrackfileBulk +DeleteApiV1TrackFileBulk Method for DeleteApiV1TrackFileBulk @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiDeleteApiV1TrackfileBulkRequest + @return ApiDeleteApiV1TrackFileBulkRequest */ -func (a *TrackFileApiService) DeleteApiV1TrackfileBulk(ctx context.Context) ApiDeleteApiV1TrackfileBulkRequest { - return ApiDeleteApiV1TrackfileBulkRequest{ +func (a *TrackFileApiService) DeleteApiV1TrackFileBulk(ctx context.Context) ApiDeleteApiV1TrackFileBulkRequest { + return ApiDeleteApiV1TrackFileBulkRequest{ ApiService: a, ctx: ctx, } } // Execute executes the request -func (a *TrackFileApiService) DeleteApiV1TrackfileBulkExecute(r ApiDeleteApiV1TrackfileBulkRequest) (*http.Response, error) { +func (a *TrackFileApiService) DeleteApiV1TrackFileBulkExecute(r ApiDeleteApiV1TrackFileBulkRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TrackFileApiService.DeleteApiV1TrackfileBulk") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TrackFileApiService.DeleteApiV1TrackFileBulk") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -261,25 +261,25 @@ func (a *TrackFileApiService) DeleteApiV1TrackfileBulkExecute(r ApiDeleteApiV1Tr return localVarHTTPResponse, nil } -type ApiGetApiV1TrackfileByIdRequest struct { +type ApiGetApiV1TrackFileByIdRequest struct { ctx context.Context ApiService *TrackFileApiService id int32 } -func (r ApiGetApiV1TrackfileByIdRequest) Execute() (*TrackFileResource, *http.Response, error) { - return r.ApiService.GetApiV1TrackfileByIdExecute(r) +func (r ApiGetApiV1TrackFileByIdRequest) Execute() (*TrackFileResource, *http.Response, error) { + return r.ApiService.GetApiV1TrackFileByIdExecute(r) } /* -GetApiV1TrackfileById Method for GetApiV1TrackfileById +GetApiV1TrackFileById Method for GetApiV1TrackFileById @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id - @return ApiGetApiV1TrackfileByIdRequest + @return ApiGetApiV1TrackFileByIdRequest */ -func (a *TrackFileApiService) GetApiV1TrackfileById(ctx context.Context, id int32) ApiGetApiV1TrackfileByIdRequest { - return ApiGetApiV1TrackfileByIdRequest{ +func (a *TrackFileApiService) GetApiV1TrackFileById(ctx context.Context, id int32) ApiGetApiV1TrackFileByIdRequest { + return ApiGetApiV1TrackFileByIdRequest{ ApiService: a, ctx: ctx, id: id, @@ -288,7 +288,7 @@ func (a *TrackFileApiService) GetApiV1TrackfileById(ctx context.Context, id int3 // Execute executes the request // @return TrackFileResource -func (a *TrackFileApiService) GetApiV1TrackfileByIdExecute(r ApiGetApiV1TrackfileByIdRequest) (*TrackFileResource, *http.Response, error) { +func (a *TrackFileApiService) GetApiV1TrackFileByIdExecute(r ApiGetApiV1TrackFileByIdRequest) (*TrackFileResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -296,7 +296,7 @@ func (a *TrackFileApiService) GetApiV1TrackfileByIdExecute(r ApiGetApiV1Trackfil localVarReturnValue *TrackFileResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TrackFileApiService.GetApiV1TrackfileById") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TrackFileApiService.GetApiV1TrackFileById") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -389,7 +389,7 @@ func (a *TrackFileApiService) GetApiV1TrackfileByIdExecute(r ApiGetApiV1Trackfil return localVarReturnValue, localVarHTTPResponse, nil } -type ApiListApiV1TrackfileRequest struct { +type ApiListApiV1TrackFileRequest struct { ctx context.Context ApiService *TrackFileApiService artistId *int32 @@ -398,38 +398,38 @@ type ApiListApiV1TrackfileRequest struct { unmapped *bool } -func (r ApiListApiV1TrackfileRequest) ArtistId(artistId int32) ApiListApiV1TrackfileRequest { +func (r ApiListApiV1TrackFileRequest) ArtistId(artistId int32) ApiListApiV1TrackFileRequest { r.artistId = &artistId return r } -func (r ApiListApiV1TrackfileRequest) TrackFileIds(trackFileIds []int32) ApiListApiV1TrackfileRequest { +func (r ApiListApiV1TrackFileRequest) TrackFileIds(trackFileIds []int32) ApiListApiV1TrackFileRequest { r.trackFileIds = &trackFileIds return r } -func (r ApiListApiV1TrackfileRequest) AlbumId(albumId []int32) ApiListApiV1TrackfileRequest { +func (r ApiListApiV1TrackFileRequest) AlbumId(albumId []int32) ApiListApiV1TrackFileRequest { r.albumId = &albumId return r } -func (r ApiListApiV1TrackfileRequest) Unmapped(unmapped bool) ApiListApiV1TrackfileRequest { +func (r ApiListApiV1TrackFileRequest) Unmapped(unmapped bool) ApiListApiV1TrackFileRequest { r.unmapped = &unmapped return r } -func (r ApiListApiV1TrackfileRequest) Execute() ([]*TrackFileResource, *http.Response, error) { - return r.ApiService.ListApiV1TrackfileExecute(r) +func (r ApiListApiV1TrackFileRequest) Execute() ([]*TrackFileResource, *http.Response, error) { + return r.ApiService.ListApiV1TrackFileExecute(r) } /* -ListApiV1Trackfile Method for ListApiV1Trackfile +ListApiV1TrackFile Method for ListApiV1TrackFile @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiListApiV1TrackfileRequest + @return ApiListApiV1TrackFileRequest */ -func (a *TrackFileApiService) ListApiV1Trackfile(ctx context.Context) ApiListApiV1TrackfileRequest { - return ApiListApiV1TrackfileRequest{ +func (a *TrackFileApiService) ListApiV1TrackFile(ctx context.Context) ApiListApiV1TrackFileRequest { + return ApiListApiV1TrackFileRequest{ ApiService: a, ctx: ctx, } @@ -437,7 +437,7 @@ func (a *TrackFileApiService) ListApiV1Trackfile(ctx context.Context) ApiListApi // Execute executes the request // @return []TrackFileResource -func (a *TrackFileApiService) ListApiV1TrackfileExecute(r ApiListApiV1TrackfileRequest) ([]*TrackFileResource, *http.Response, error) { +func (a *TrackFileApiService) ListApiV1TrackFileExecute(r ApiListApiV1TrackFileRequest) ([]*TrackFileResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -445,7 +445,7 @@ func (a *TrackFileApiService) ListApiV1TrackfileExecute(r ApiListApiV1TrackfileR localVarReturnValue []*TrackFileResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TrackFileApiService.ListApiV1Trackfile") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TrackFileApiService.ListApiV1TrackFile") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -565,43 +565,43 @@ func (a *TrackFileApiService) ListApiV1TrackfileExecute(r ApiListApiV1TrackfileR return localVarReturnValue, localVarHTTPResponse, nil } -type ApiPutApiV1TrackfileEditorRequest struct { +type ApiPutApiV1TrackFileEditorRequest struct { ctx context.Context ApiService *TrackFileApiService trackFileListResource *TrackFileListResource } -func (r ApiPutApiV1TrackfileEditorRequest) TrackFileListResource(trackFileListResource TrackFileListResource) ApiPutApiV1TrackfileEditorRequest { +func (r ApiPutApiV1TrackFileEditorRequest) TrackFileListResource(trackFileListResource TrackFileListResource) ApiPutApiV1TrackFileEditorRequest { r.trackFileListResource = &trackFileListResource return r } -func (r ApiPutApiV1TrackfileEditorRequest) Execute() (*http.Response, error) { - return r.ApiService.PutApiV1TrackfileEditorExecute(r) +func (r ApiPutApiV1TrackFileEditorRequest) Execute() (*http.Response, error) { + return r.ApiService.PutApiV1TrackFileEditorExecute(r) } /* -PutApiV1TrackfileEditor Method for PutApiV1TrackfileEditor +PutApiV1TrackFileEditor Method for PutApiV1TrackFileEditor @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiPutApiV1TrackfileEditorRequest + @return ApiPutApiV1TrackFileEditorRequest */ -func (a *TrackFileApiService) PutApiV1TrackfileEditor(ctx context.Context) ApiPutApiV1TrackfileEditorRequest { - return ApiPutApiV1TrackfileEditorRequest{ +func (a *TrackFileApiService) PutApiV1TrackFileEditor(ctx context.Context) ApiPutApiV1TrackFileEditorRequest { + return ApiPutApiV1TrackFileEditorRequest{ ApiService: a, ctx: ctx, } } // Execute executes the request -func (a *TrackFileApiService) PutApiV1TrackfileEditorExecute(r ApiPutApiV1TrackfileEditorRequest) (*http.Response, error) { +func (a *TrackFileApiService) PutApiV1TrackFileEditorExecute(r ApiPutApiV1TrackFileEditorRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TrackFileApiService.PutApiV1TrackfileEditor") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TrackFileApiService.PutApiV1TrackFileEditor") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -686,31 +686,31 @@ func (a *TrackFileApiService) PutApiV1TrackfileEditorExecute(r ApiPutApiV1Trackf return localVarHTTPResponse, nil } -type ApiUpdateApiV1TrackfileRequest struct { +type ApiUpdateApiV1TrackFileRequest struct { ctx context.Context ApiService *TrackFileApiService id string trackFileResource *TrackFileResource } -func (r ApiUpdateApiV1TrackfileRequest) TrackFileResource(trackFileResource TrackFileResource) ApiUpdateApiV1TrackfileRequest { +func (r ApiUpdateApiV1TrackFileRequest) TrackFileResource(trackFileResource TrackFileResource) ApiUpdateApiV1TrackFileRequest { r.trackFileResource = &trackFileResource return r } -func (r ApiUpdateApiV1TrackfileRequest) Execute() (*TrackFileResource, *http.Response, error) { - return r.ApiService.UpdateApiV1TrackfileExecute(r) +func (r ApiUpdateApiV1TrackFileRequest) Execute() (*TrackFileResource, *http.Response, error) { + return r.ApiService.UpdateApiV1TrackFileExecute(r) } /* -UpdateApiV1Trackfile Method for UpdateApiV1Trackfile +UpdateApiV1TrackFile Method for UpdateApiV1TrackFile @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id - @return ApiUpdateApiV1TrackfileRequest + @return ApiUpdateApiV1TrackFileRequest */ -func (a *TrackFileApiService) UpdateApiV1Trackfile(ctx context.Context, id string) ApiUpdateApiV1TrackfileRequest { - return ApiUpdateApiV1TrackfileRequest{ +func (a *TrackFileApiService) UpdateApiV1TrackFile(ctx context.Context, id string) ApiUpdateApiV1TrackFileRequest { + return ApiUpdateApiV1TrackFileRequest{ ApiService: a, ctx: ctx, id: id, @@ -719,7 +719,7 @@ func (a *TrackFileApiService) UpdateApiV1Trackfile(ctx context.Context, id strin // Execute executes the request // @return TrackFileResource -func (a *TrackFileApiService) UpdateApiV1TrackfileExecute(r ApiUpdateApiV1TrackfileRequest) (*TrackFileResource, *http.Response, error) { +func (a *TrackFileApiService) UpdateApiV1TrackFileExecute(r ApiUpdateApiV1TrackFileRequest) (*TrackFileResource, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} @@ -727,7 +727,7 @@ func (a *TrackFileApiService) UpdateApiV1TrackfileExecute(r ApiUpdateApiV1Trackf localVarReturnValue *TrackFileResource ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TrackFileApiService.UpdateApiV1Trackfile") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TrackFileApiService.UpdateApiV1TrackFile") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } diff --git a/lidarr/docs/AlbumStudioApi.md b/lidarr/docs/AlbumStudioApi.md index b66acf1..62b838c 100644 --- a/lidarr/docs/AlbumStudioApi.md +++ b/lidarr/docs/AlbumStudioApi.md @@ -4,13 +4,13 @@ All URIs are relative to *http://localhost:8686* Method | HTTP request | Description ------------- | ------------- | ------------- -[**CreateApiV1Albumstudio**](AlbumStudioApi.md#CreateApiV1Albumstudio) | **Post** /api/v1/albumstudio | +[**CreateApiV1AlbumStudio**](AlbumStudioApi.md#CreateApiV1AlbumStudio) | **Post** /api/v1/albumstudio | -## CreateApiV1Albumstudio +## CreateApiV1AlbumStudio -> CreateApiV1Albumstudio(ctx).AlbumStudioResource(albumStudioResource).Execute() +> CreateApiV1AlbumStudio(ctx).AlbumStudioResource(albumStudioResource).Execute() @@ -31,9 +31,9 @@ func main() { configuration := lidarrClient.NewConfiguration() apiClient := lidarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.AlbumStudioApi.CreateApiV1Albumstudio(context.Background()).AlbumStudioResource(albumStudioResource).Execute() + resp, r, err := apiClient.AlbumStudioApi.CreateApiV1AlbumStudio(context.Background()).AlbumStudioResource(albumStudioResource).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `AlbumStudioApi.CreateApiV1Albumstudio``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `AlbumStudioApi.CreateApiV1AlbumStudio``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -45,7 +45,7 @@ func main() { ### Other Parameters -Other parameters are passed through a pointer to a apiCreateApiV1AlbumstudioRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiCreateApiV1AlbumStudioRequest struct via the builder pattern Name | Type | Description | Notes diff --git a/lidarr/docs/CustomFilterApi.md b/lidarr/docs/CustomFilterApi.md index a6bbf58..eed6e1d 100644 --- a/lidarr/docs/CustomFilterApi.md +++ b/lidarr/docs/CustomFilterApi.md @@ -4,17 +4,17 @@ All URIs are relative to *http://localhost:8686* Method | HTTP request | Description ------------- | ------------- | ------------- -[**CreateApiV1Customfilter**](CustomFilterApi.md#CreateApiV1Customfilter) | **Post** /api/v1/customfilter | -[**DeleteApiV1Customfilter**](CustomFilterApi.md#DeleteApiV1Customfilter) | **Delete** /api/v1/customfilter/{id} | -[**GetApiV1CustomfilterById**](CustomFilterApi.md#GetApiV1CustomfilterById) | **Get** /api/v1/customfilter/{id} | -[**ListApiV1Customfilter**](CustomFilterApi.md#ListApiV1Customfilter) | **Get** /api/v1/customfilter | -[**UpdateApiV1Customfilter**](CustomFilterApi.md#UpdateApiV1Customfilter) | **Put** /api/v1/customfilter/{id} | +[**CreateApiV1CustomFilter**](CustomFilterApi.md#CreateApiV1CustomFilter) | **Post** /api/v1/customfilter | +[**DeleteApiV1CustomFilter**](CustomFilterApi.md#DeleteApiV1CustomFilter) | **Delete** /api/v1/customfilter/{id} | +[**GetApiV1CustomFilterById**](CustomFilterApi.md#GetApiV1CustomFilterById) | **Get** /api/v1/customfilter/{id} | +[**ListApiV1CustomFilter**](CustomFilterApi.md#ListApiV1CustomFilter) | **Get** /api/v1/customfilter | +[**UpdateApiV1CustomFilter**](CustomFilterApi.md#UpdateApiV1CustomFilter) | **Put** /api/v1/customfilter/{id} | -## CreateApiV1Customfilter +## CreateApiV1CustomFilter -> CustomFilterResource CreateApiV1Customfilter(ctx).CustomFilterResource(customFilterResource).Execute() +> CustomFilterResource CreateApiV1CustomFilter(ctx).CustomFilterResource(customFilterResource).Execute() @@ -35,13 +35,13 @@ func main() { configuration := lidarrClient.NewConfiguration() apiClient := lidarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.CustomFilterApi.CreateApiV1Customfilter(context.Background()).CustomFilterResource(customFilterResource).Execute() + resp, r, err := apiClient.CustomFilterApi.CreateApiV1CustomFilter(context.Background()).CustomFilterResource(customFilterResource).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `CustomFilterApi.CreateApiV1Customfilter``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `CustomFilterApi.CreateApiV1CustomFilter``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `CreateApiV1Customfilter`: CustomFilterResource - fmt.Fprintf(os.Stdout, "Response from `CustomFilterApi.CreateApiV1Customfilter`: %v\n", resp) + // response from `CreateApiV1CustomFilter`: CustomFilterResource + fmt.Fprintf(os.Stdout, "Response from `CustomFilterApi.CreateApiV1CustomFilter`: %v\n", resp) } ``` @@ -51,7 +51,7 @@ func main() { ### Other Parameters -Other parameters are passed through a pointer to a apiCreateApiV1CustomfilterRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiCreateApiV1CustomFilterRequest struct via the builder pattern Name | Type | Description | Notes @@ -76,9 +76,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## DeleteApiV1Customfilter +## DeleteApiV1CustomFilter -> DeleteApiV1Customfilter(ctx, id).Execute() +> DeleteApiV1CustomFilter(ctx, id).Execute() @@ -99,9 +99,9 @@ func main() { configuration := lidarrClient.NewConfiguration() apiClient := lidarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.CustomFilterApi.DeleteApiV1Customfilter(context.Background(), id).Execute() + resp, r, err := apiClient.CustomFilterApi.DeleteApiV1CustomFilter(context.Background(), id).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `CustomFilterApi.DeleteApiV1Customfilter``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `CustomFilterApi.DeleteApiV1CustomFilter``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -117,7 +117,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiDeleteApiV1CustomfilterRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiDeleteApiV1CustomFilterRequest struct via the builder pattern Name | Type | Description | Notes @@ -142,9 +142,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## GetApiV1CustomfilterById +## GetApiV1CustomFilterById -> CustomFilterResource GetApiV1CustomfilterById(ctx, id).Execute() +> CustomFilterResource GetApiV1CustomFilterById(ctx, id).Execute() @@ -165,13 +165,13 @@ func main() { configuration := lidarrClient.NewConfiguration() apiClient := lidarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.CustomFilterApi.GetApiV1CustomfilterById(context.Background(), id).Execute() + resp, r, err := apiClient.CustomFilterApi.GetApiV1CustomFilterById(context.Background(), id).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `CustomFilterApi.GetApiV1CustomfilterById``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `CustomFilterApi.GetApiV1CustomFilterById``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetApiV1CustomfilterById`: CustomFilterResource - fmt.Fprintf(os.Stdout, "Response from `CustomFilterApi.GetApiV1CustomfilterById`: %v\n", resp) + // response from `GetApiV1CustomFilterById`: CustomFilterResource + fmt.Fprintf(os.Stdout, "Response from `CustomFilterApi.GetApiV1CustomFilterById`: %v\n", resp) } ``` @@ -185,7 +185,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiGetApiV1CustomfilterByIdRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiGetApiV1CustomFilterByIdRequest struct via the builder pattern Name | Type | Description | Notes @@ -210,9 +210,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## ListApiV1Customfilter +## ListApiV1CustomFilter -> []CustomFilterResource ListApiV1Customfilter(ctx).Execute() +> []CustomFilterResource ListApiV1CustomFilter(ctx).Execute() @@ -232,13 +232,13 @@ func main() { configuration := lidarrClient.NewConfiguration() apiClient := lidarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.CustomFilterApi.ListApiV1Customfilter(context.Background()).Execute() + resp, r, err := apiClient.CustomFilterApi.ListApiV1CustomFilter(context.Background()).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `CustomFilterApi.ListApiV1Customfilter``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `CustomFilterApi.ListApiV1CustomFilter``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `ListApiV1Customfilter`: []CustomFilterResource - fmt.Fprintf(os.Stdout, "Response from `CustomFilterApi.ListApiV1Customfilter`: %v\n", resp) + // response from `ListApiV1CustomFilter`: []CustomFilterResource + fmt.Fprintf(os.Stdout, "Response from `CustomFilterApi.ListApiV1CustomFilter`: %v\n", resp) } ``` @@ -248,7 +248,7 @@ This endpoint does not need any parameter. ### Other Parameters -Other parameters are passed through a pointer to a apiListApiV1CustomfilterRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiListApiV1CustomFilterRequest struct via the builder pattern ### Return type @@ -269,9 +269,9 @@ Other parameters are passed through a pointer to a apiListApiV1CustomfilterReque [[Back to README]](../README.md) -## UpdateApiV1Customfilter +## UpdateApiV1CustomFilter -> CustomFilterResource UpdateApiV1Customfilter(ctx, id).CustomFilterResource(customFilterResource).Execute() +> CustomFilterResource UpdateApiV1CustomFilter(ctx, id).CustomFilterResource(customFilterResource).Execute() @@ -293,13 +293,13 @@ func main() { configuration := lidarrClient.NewConfiguration() apiClient := lidarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.CustomFilterApi.UpdateApiV1Customfilter(context.Background(), id).CustomFilterResource(customFilterResource).Execute() + resp, r, err := apiClient.CustomFilterApi.UpdateApiV1CustomFilter(context.Background(), id).CustomFilterResource(customFilterResource).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `CustomFilterApi.UpdateApiV1Customfilter``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `CustomFilterApi.UpdateApiV1CustomFilter``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `UpdateApiV1Customfilter`: CustomFilterResource - fmt.Fprintf(os.Stdout, "Response from `CustomFilterApi.UpdateApiV1Customfilter`: %v\n", resp) + // response from `UpdateApiV1CustomFilter`: CustomFilterResource + fmt.Fprintf(os.Stdout, "Response from `CustomFilterApi.UpdateApiV1CustomFilter`: %v\n", resp) } ``` @@ -313,7 +313,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiUpdateApiV1CustomfilterRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiUpdateApiV1CustomFilterRequest struct via the builder pattern Name | Type | Description | Notes diff --git a/lidarr/docs/DelayProfileApi.md b/lidarr/docs/DelayProfileApi.md index ed2f7c1..19c61e7 100644 --- a/lidarr/docs/DelayProfileApi.md +++ b/lidarr/docs/DelayProfileApi.md @@ -4,18 +4,18 @@ All URIs are relative to *http://localhost:8686* Method | HTTP request | Description ------------- | ------------- | ------------- -[**CreateApiV1Delayprofile**](DelayProfileApi.md#CreateApiV1Delayprofile) | **Post** /api/v1/delayprofile | -[**DeleteApiV1Delayprofile**](DelayProfileApi.md#DeleteApiV1Delayprofile) | **Delete** /api/v1/delayprofile/{id} | -[**GetApiV1DelayprofileById**](DelayProfileApi.md#GetApiV1DelayprofileById) | **Get** /api/v1/delayprofile/{id} | -[**ListApiV1Delayprofile**](DelayProfileApi.md#ListApiV1Delayprofile) | **Get** /api/v1/delayprofile | -[**UpdateApiV1Delayprofile**](DelayProfileApi.md#UpdateApiV1Delayprofile) | **Put** /api/v1/delayprofile/{id} | -[**UpdateApiV1DelayprofileReorder**](DelayProfileApi.md#UpdateApiV1DelayprofileReorder) | **Put** /api/v1/delayprofile/reorder/{id} | +[**CreateApiV1DelayProfile**](DelayProfileApi.md#CreateApiV1DelayProfile) | **Post** /api/v1/delayprofile | +[**DeleteApiV1DelayProfile**](DelayProfileApi.md#DeleteApiV1DelayProfile) | **Delete** /api/v1/delayprofile/{id} | +[**GetApiV1DelayProfileById**](DelayProfileApi.md#GetApiV1DelayProfileById) | **Get** /api/v1/delayprofile/{id} | +[**ListApiV1DelayProfile**](DelayProfileApi.md#ListApiV1DelayProfile) | **Get** /api/v1/delayprofile | +[**UpdateApiV1DelayProfile**](DelayProfileApi.md#UpdateApiV1DelayProfile) | **Put** /api/v1/delayprofile/{id} | +[**UpdateApiV1DelayProfileReorder**](DelayProfileApi.md#UpdateApiV1DelayProfileReorder) | **Put** /api/v1/delayprofile/reorder/{id} | -## CreateApiV1Delayprofile +## CreateApiV1DelayProfile -> DelayProfileResource CreateApiV1Delayprofile(ctx).DelayProfileResource(delayProfileResource).Execute() +> DelayProfileResource CreateApiV1DelayProfile(ctx).DelayProfileResource(delayProfileResource).Execute() @@ -36,13 +36,13 @@ func main() { configuration := lidarrClient.NewConfiguration() apiClient := lidarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.DelayProfileApi.CreateApiV1Delayprofile(context.Background()).DelayProfileResource(delayProfileResource).Execute() + resp, r, err := apiClient.DelayProfileApi.CreateApiV1DelayProfile(context.Background()).DelayProfileResource(delayProfileResource).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `DelayProfileApi.CreateApiV1Delayprofile``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `DelayProfileApi.CreateApiV1DelayProfile``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `CreateApiV1Delayprofile`: DelayProfileResource - fmt.Fprintf(os.Stdout, "Response from `DelayProfileApi.CreateApiV1Delayprofile`: %v\n", resp) + // response from `CreateApiV1DelayProfile`: DelayProfileResource + fmt.Fprintf(os.Stdout, "Response from `DelayProfileApi.CreateApiV1DelayProfile`: %v\n", resp) } ``` @@ -52,7 +52,7 @@ func main() { ### Other Parameters -Other parameters are passed through a pointer to a apiCreateApiV1DelayprofileRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiCreateApiV1DelayProfileRequest struct via the builder pattern Name | Type | Description | Notes @@ -77,9 +77,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## DeleteApiV1Delayprofile +## DeleteApiV1DelayProfile -> DeleteApiV1Delayprofile(ctx, id).Execute() +> DeleteApiV1DelayProfile(ctx, id).Execute() @@ -100,9 +100,9 @@ func main() { configuration := lidarrClient.NewConfiguration() apiClient := lidarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.DelayProfileApi.DeleteApiV1Delayprofile(context.Background(), id).Execute() + resp, r, err := apiClient.DelayProfileApi.DeleteApiV1DelayProfile(context.Background(), id).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `DelayProfileApi.DeleteApiV1Delayprofile``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `DelayProfileApi.DeleteApiV1DelayProfile``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -118,7 +118,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiDeleteApiV1DelayprofileRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiDeleteApiV1DelayProfileRequest struct via the builder pattern Name | Type | Description | Notes @@ -143,9 +143,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## GetApiV1DelayprofileById +## GetApiV1DelayProfileById -> DelayProfileResource GetApiV1DelayprofileById(ctx, id).Execute() +> DelayProfileResource GetApiV1DelayProfileById(ctx, id).Execute() @@ -166,13 +166,13 @@ func main() { configuration := lidarrClient.NewConfiguration() apiClient := lidarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.DelayProfileApi.GetApiV1DelayprofileById(context.Background(), id).Execute() + resp, r, err := apiClient.DelayProfileApi.GetApiV1DelayProfileById(context.Background(), id).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `DelayProfileApi.GetApiV1DelayprofileById``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `DelayProfileApi.GetApiV1DelayProfileById``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetApiV1DelayprofileById`: DelayProfileResource - fmt.Fprintf(os.Stdout, "Response from `DelayProfileApi.GetApiV1DelayprofileById`: %v\n", resp) + // response from `GetApiV1DelayProfileById`: DelayProfileResource + fmt.Fprintf(os.Stdout, "Response from `DelayProfileApi.GetApiV1DelayProfileById`: %v\n", resp) } ``` @@ -186,7 +186,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiGetApiV1DelayprofileByIdRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiGetApiV1DelayProfileByIdRequest struct via the builder pattern Name | Type | Description | Notes @@ -211,9 +211,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## ListApiV1Delayprofile +## ListApiV1DelayProfile -> []DelayProfileResource ListApiV1Delayprofile(ctx).Execute() +> []DelayProfileResource ListApiV1DelayProfile(ctx).Execute() @@ -233,13 +233,13 @@ func main() { configuration := lidarrClient.NewConfiguration() apiClient := lidarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.DelayProfileApi.ListApiV1Delayprofile(context.Background()).Execute() + resp, r, err := apiClient.DelayProfileApi.ListApiV1DelayProfile(context.Background()).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `DelayProfileApi.ListApiV1Delayprofile``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `DelayProfileApi.ListApiV1DelayProfile``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `ListApiV1Delayprofile`: []DelayProfileResource - fmt.Fprintf(os.Stdout, "Response from `DelayProfileApi.ListApiV1Delayprofile`: %v\n", resp) + // response from `ListApiV1DelayProfile`: []DelayProfileResource + fmt.Fprintf(os.Stdout, "Response from `DelayProfileApi.ListApiV1DelayProfile`: %v\n", resp) } ``` @@ -249,7 +249,7 @@ This endpoint does not need any parameter. ### Other Parameters -Other parameters are passed through a pointer to a apiListApiV1DelayprofileRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiListApiV1DelayProfileRequest struct via the builder pattern ### Return type @@ -270,9 +270,9 @@ Other parameters are passed through a pointer to a apiListApiV1DelayprofileReque [[Back to README]](../README.md) -## UpdateApiV1Delayprofile +## UpdateApiV1DelayProfile -> DelayProfileResource UpdateApiV1Delayprofile(ctx, id).DelayProfileResource(delayProfileResource).Execute() +> DelayProfileResource UpdateApiV1DelayProfile(ctx, id).DelayProfileResource(delayProfileResource).Execute() @@ -294,13 +294,13 @@ func main() { configuration := lidarrClient.NewConfiguration() apiClient := lidarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.DelayProfileApi.UpdateApiV1Delayprofile(context.Background(), id).DelayProfileResource(delayProfileResource).Execute() + resp, r, err := apiClient.DelayProfileApi.UpdateApiV1DelayProfile(context.Background(), id).DelayProfileResource(delayProfileResource).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `DelayProfileApi.UpdateApiV1Delayprofile``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `DelayProfileApi.UpdateApiV1DelayProfile``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `UpdateApiV1Delayprofile`: DelayProfileResource - fmt.Fprintf(os.Stdout, "Response from `DelayProfileApi.UpdateApiV1Delayprofile`: %v\n", resp) + // response from `UpdateApiV1DelayProfile`: DelayProfileResource + fmt.Fprintf(os.Stdout, "Response from `DelayProfileApi.UpdateApiV1DelayProfile`: %v\n", resp) } ``` @@ -314,7 +314,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiUpdateApiV1DelayprofileRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiUpdateApiV1DelayProfileRequest struct via the builder pattern Name | Type | Description | Notes @@ -340,9 +340,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## UpdateApiV1DelayprofileReorder +## UpdateApiV1DelayProfileReorder -> UpdateApiV1DelayprofileReorder(ctx, id).AfterId(afterId).Execute() +> UpdateApiV1DelayProfileReorder(ctx, id).AfterId(afterId).Execute() @@ -364,9 +364,9 @@ func main() { configuration := lidarrClient.NewConfiguration() apiClient := lidarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.DelayProfileApi.UpdateApiV1DelayprofileReorder(context.Background(), id).AfterId(afterId).Execute() + resp, r, err := apiClient.DelayProfileApi.UpdateApiV1DelayProfileReorder(context.Background(), id).AfterId(afterId).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `DelayProfileApi.UpdateApiV1DelayprofileReorder``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `DelayProfileApi.UpdateApiV1DelayProfileReorder``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -382,7 +382,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiUpdateApiV1DelayprofileReorderRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiUpdateApiV1DelayProfileReorderRequest struct via the builder pattern Name | Type | Description | Notes diff --git a/lidarr/docs/DiskSpaceApi.md b/lidarr/docs/DiskSpaceApi.md index b25bbdc..986e6e4 100644 --- a/lidarr/docs/DiskSpaceApi.md +++ b/lidarr/docs/DiskSpaceApi.md @@ -4,13 +4,13 @@ All URIs are relative to *http://localhost:8686* Method | HTTP request | Description ------------- | ------------- | ------------- -[**ListApiV1Diskspace**](DiskSpaceApi.md#ListApiV1Diskspace) | **Get** /api/v1/diskspace | +[**ListApiV1DiskSpace**](DiskSpaceApi.md#ListApiV1DiskSpace) | **Get** /api/v1/diskspace | -## ListApiV1Diskspace +## ListApiV1DiskSpace -> []DiskSpaceResource ListApiV1Diskspace(ctx).Execute() +> []DiskSpaceResource ListApiV1DiskSpace(ctx).Execute() @@ -30,13 +30,13 @@ func main() { configuration := lidarrClient.NewConfiguration() apiClient := lidarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.DiskSpaceApi.ListApiV1Diskspace(context.Background()).Execute() + resp, r, err := apiClient.DiskSpaceApi.ListApiV1DiskSpace(context.Background()).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `DiskSpaceApi.ListApiV1Diskspace``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `DiskSpaceApi.ListApiV1DiskSpace``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `ListApiV1Diskspace`: []DiskSpaceResource - fmt.Fprintf(os.Stdout, "Response from `DiskSpaceApi.ListApiV1Diskspace`: %v\n", resp) + // response from `ListApiV1DiskSpace`: []DiskSpaceResource + fmt.Fprintf(os.Stdout, "Response from `DiskSpaceApi.ListApiV1DiskSpace`: %v\n", resp) } ``` @@ -46,7 +46,7 @@ This endpoint does not need any parameter. ### Other Parameters -Other parameters are passed through a pointer to a apiListApiV1DiskspaceRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiListApiV1DiskSpaceRequest struct via the builder pattern ### Return type diff --git a/lidarr/docs/DownloadClientApi.md b/lidarr/docs/DownloadClientApi.md index ad39141..8825cf9 100644 --- a/lidarr/docs/DownloadClientApi.md +++ b/lidarr/docs/DownloadClientApi.md @@ -4,21 +4,21 @@ All URIs are relative to *http://localhost:8686* Method | HTTP request | Description ------------- | ------------- | ------------- -[**CreateApiV1Downloadclient**](DownloadClientApi.md#CreateApiV1Downloadclient) | **Post** /api/v1/downloadclient | -[**CreateApiV1DownloadclientActionByName**](DownloadClientApi.md#CreateApiV1DownloadclientActionByName) | **Post** /api/v1/downloadclient/action/{name} | -[**DeleteApiV1Downloadclient**](DownloadClientApi.md#DeleteApiV1Downloadclient) | **Delete** /api/v1/downloadclient/{id} | -[**GetApiV1DownloadclientById**](DownloadClientApi.md#GetApiV1DownloadclientById) | **Get** /api/v1/downloadclient/{id} | -[**ListApiV1Downloadclient**](DownloadClientApi.md#ListApiV1Downloadclient) | **Get** /api/v1/downloadclient | -[**ListApiV1DownloadclientSchema**](DownloadClientApi.md#ListApiV1DownloadclientSchema) | **Get** /api/v1/downloadclient/schema | -[**TestApiV1Downloadclient**](DownloadClientApi.md#TestApiV1Downloadclient) | **Post** /api/v1/downloadclient/test | -[**TestallApiV1Downloadclient**](DownloadClientApi.md#TestallApiV1Downloadclient) | **Post** /api/v1/downloadclient/testall | -[**UpdateApiV1Downloadclient**](DownloadClientApi.md#UpdateApiV1Downloadclient) | **Put** /api/v1/downloadclient/{id} | +[**CreateApiV1DownloadClient**](DownloadClientApi.md#CreateApiV1DownloadClient) | **Post** /api/v1/downloadclient | +[**CreateApiV1DownloadClientActionByName**](DownloadClientApi.md#CreateApiV1DownloadClientActionByName) | **Post** /api/v1/downloadclient/action/{name} | +[**DeleteApiV1DownloadClient**](DownloadClientApi.md#DeleteApiV1DownloadClient) | **Delete** /api/v1/downloadclient/{id} | +[**GetApiV1DownloadClientById**](DownloadClientApi.md#GetApiV1DownloadClientById) | **Get** /api/v1/downloadclient/{id} | +[**ListApiV1DownloadClient**](DownloadClientApi.md#ListApiV1DownloadClient) | **Get** /api/v1/downloadclient | +[**ListApiV1DownloadClientSchema**](DownloadClientApi.md#ListApiV1DownloadClientSchema) | **Get** /api/v1/downloadclient/schema | +[**TestApiV1DownloadClient**](DownloadClientApi.md#TestApiV1DownloadClient) | **Post** /api/v1/downloadclient/test | +[**TestallApiV1DownloadClient**](DownloadClientApi.md#TestallApiV1DownloadClient) | **Post** /api/v1/downloadclient/testall | +[**UpdateApiV1DownloadClient**](DownloadClientApi.md#UpdateApiV1DownloadClient) | **Put** /api/v1/downloadclient/{id} | -## CreateApiV1Downloadclient +## CreateApiV1DownloadClient -> DownloadClientResource CreateApiV1Downloadclient(ctx).DownloadClientResource(downloadClientResource).Execute() +> DownloadClientResource CreateApiV1DownloadClient(ctx).DownloadClientResource(downloadClientResource).Execute() @@ -39,13 +39,13 @@ func main() { configuration := lidarrClient.NewConfiguration() apiClient := lidarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.DownloadClientApi.CreateApiV1Downloadclient(context.Background()).DownloadClientResource(downloadClientResource).Execute() + resp, r, err := apiClient.DownloadClientApi.CreateApiV1DownloadClient(context.Background()).DownloadClientResource(downloadClientResource).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `DownloadClientApi.CreateApiV1Downloadclient``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `DownloadClientApi.CreateApiV1DownloadClient``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `CreateApiV1Downloadclient`: DownloadClientResource - fmt.Fprintf(os.Stdout, "Response from `DownloadClientApi.CreateApiV1Downloadclient`: %v\n", resp) + // response from `CreateApiV1DownloadClient`: DownloadClientResource + fmt.Fprintf(os.Stdout, "Response from `DownloadClientApi.CreateApiV1DownloadClient`: %v\n", resp) } ``` @@ -55,7 +55,7 @@ func main() { ### Other Parameters -Other parameters are passed through a pointer to a apiCreateApiV1DownloadclientRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiCreateApiV1DownloadClientRequest struct via the builder pattern Name | Type | Description | Notes @@ -80,9 +80,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## CreateApiV1DownloadclientActionByName +## CreateApiV1DownloadClientActionByName -> CreateApiV1DownloadclientActionByName(ctx, name).DownloadClientResource(downloadClientResource).Execute() +> CreateApiV1DownloadClientActionByName(ctx, name).DownloadClientResource(downloadClientResource).Execute() @@ -104,9 +104,9 @@ func main() { configuration := lidarrClient.NewConfiguration() apiClient := lidarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.DownloadClientApi.CreateApiV1DownloadclientActionByName(context.Background(), name).DownloadClientResource(downloadClientResource).Execute() + resp, r, err := apiClient.DownloadClientApi.CreateApiV1DownloadClientActionByName(context.Background(), name).DownloadClientResource(downloadClientResource).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `DownloadClientApi.CreateApiV1DownloadclientActionByName``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `DownloadClientApi.CreateApiV1DownloadClientActionByName``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -122,7 +122,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiCreateApiV1DownloadclientActionByNameRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiCreateApiV1DownloadClientActionByNameRequest struct via the builder pattern Name | Type | Description | Notes @@ -148,9 +148,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## DeleteApiV1Downloadclient +## DeleteApiV1DownloadClient -> DeleteApiV1Downloadclient(ctx, id).Execute() +> DeleteApiV1DownloadClient(ctx, id).Execute() @@ -171,9 +171,9 @@ func main() { configuration := lidarrClient.NewConfiguration() apiClient := lidarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.DownloadClientApi.DeleteApiV1Downloadclient(context.Background(), id).Execute() + resp, r, err := apiClient.DownloadClientApi.DeleteApiV1DownloadClient(context.Background(), id).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `DownloadClientApi.DeleteApiV1Downloadclient``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `DownloadClientApi.DeleteApiV1DownloadClient``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -189,7 +189,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiDeleteApiV1DownloadclientRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiDeleteApiV1DownloadClientRequest struct via the builder pattern Name | Type | Description | Notes @@ -214,9 +214,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## GetApiV1DownloadclientById +## GetApiV1DownloadClientById -> DownloadClientResource GetApiV1DownloadclientById(ctx, id).Execute() +> DownloadClientResource GetApiV1DownloadClientById(ctx, id).Execute() @@ -237,13 +237,13 @@ func main() { configuration := lidarrClient.NewConfiguration() apiClient := lidarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.DownloadClientApi.GetApiV1DownloadclientById(context.Background(), id).Execute() + resp, r, err := apiClient.DownloadClientApi.GetApiV1DownloadClientById(context.Background(), id).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `DownloadClientApi.GetApiV1DownloadclientById``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `DownloadClientApi.GetApiV1DownloadClientById``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetApiV1DownloadclientById`: DownloadClientResource - fmt.Fprintf(os.Stdout, "Response from `DownloadClientApi.GetApiV1DownloadclientById`: %v\n", resp) + // response from `GetApiV1DownloadClientById`: DownloadClientResource + fmt.Fprintf(os.Stdout, "Response from `DownloadClientApi.GetApiV1DownloadClientById`: %v\n", resp) } ``` @@ -257,7 +257,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiGetApiV1DownloadclientByIdRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiGetApiV1DownloadClientByIdRequest struct via the builder pattern Name | Type | Description | Notes @@ -282,9 +282,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## ListApiV1Downloadclient +## ListApiV1DownloadClient -> []DownloadClientResource ListApiV1Downloadclient(ctx).Execute() +> []DownloadClientResource ListApiV1DownloadClient(ctx).Execute() @@ -304,13 +304,13 @@ func main() { configuration := lidarrClient.NewConfiguration() apiClient := lidarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.DownloadClientApi.ListApiV1Downloadclient(context.Background()).Execute() + resp, r, err := apiClient.DownloadClientApi.ListApiV1DownloadClient(context.Background()).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `DownloadClientApi.ListApiV1Downloadclient``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `DownloadClientApi.ListApiV1DownloadClient``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `ListApiV1Downloadclient`: []DownloadClientResource - fmt.Fprintf(os.Stdout, "Response from `DownloadClientApi.ListApiV1Downloadclient`: %v\n", resp) + // response from `ListApiV1DownloadClient`: []DownloadClientResource + fmt.Fprintf(os.Stdout, "Response from `DownloadClientApi.ListApiV1DownloadClient`: %v\n", resp) } ``` @@ -320,7 +320,7 @@ This endpoint does not need any parameter. ### Other Parameters -Other parameters are passed through a pointer to a apiListApiV1DownloadclientRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiListApiV1DownloadClientRequest struct via the builder pattern ### Return type @@ -341,9 +341,9 @@ Other parameters are passed through a pointer to a apiListApiV1DownloadclientReq [[Back to README]](../README.md) -## ListApiV1DownloadclientSchema +## ListApiV1DownloadClientSchema -> []DownloadClientResource ListApiV1DownloadclientSchema(ctx).Execute() +> []DownloadClientResource ListApiV1DownloadClientSchema(ctx).Execute() @@ -363,13 +363,13 @@ func main() { configuration := lidarrClient.NewConfiguration() apiClient := lidarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.DownloadClientApi.ListApiV1DownloadclientSchema(context.Background()).Execute() + resp, r, err := apiClient.DownloadClientApi.ListApiV1DownloadClientSchema(context.Background()).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `DownloadClientApi.ListApiV1DownloadclientSchema``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `DownloadClientApi.ListApiV1DownloadClientSchema``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `ListApiV1DownloadclientSchema`: []DownloadClientResource - fmt.Fprintf(os.Stdout, "Response from `DownloadClientApi.ListApiV1DownloadclientSchema`: %v\n", resp) + // response from `ListApiV1DownloadClientSchema`: []DownloadClientResource + fmt.Fprintf(os.Stdout, "Response from `DownloadClientApi.ListApiV1DownloadClientSchema`: %v\n", resp) } ``` @@ -379,7 +379,7 @@ This endpoint does not need any parameter. ### Other Parameters -Other parameters are passed through a pointer to a apiListApiV1DownloadclientSchemaRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiListApiV1DownloadClientSchemaRequest struct via the builder pattern ### Return type @@ -400,9 +400,9 @@ Other parameters are passed through a pointer to a apiListApiV1DownloadclientSch [[Back to README]](../README.md) -## TestApiV1Downloadclient +## TestApiV1DownloadClient -> TestApiV1Downloadclient(ctx).DownloadClientResource(downloadClientResource).Execute() +> TestApiV1DownloadClient(ctx).DownloadClientResource(downloadClientResource).Execute() @@ -423,9 +423,9 @@ func main() { configuration := lidarrClient.NewConfiguration() apiClient := lidarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.DownloadClientApi.TestApiV1Downloadclient(context.Background()).DownloadClientResource(downloadClientResource).Execute() + resp, r, err := apiClient.DownloadClientApi.TestApiV1DownloadClient(context.Background()).DownloadClientResource(downloadClientResource).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `DownloadClientApi.TestApiV1Downloadclient``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `DownloadClientApi.TestApiV1DownloadClient``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -437,7 +437,7 @@ func main() { ### Other Parameters -Other parameters are passed through a pointer to a apiTestApiV1DownloadclientRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiTestApiV1DownloadClientRequest struct via the builder pattern Name | Type | Description | Notes @@ -462,9 +462,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## TestallApiV1Downloadclient +## TestallApiV1DownloadClient -> TestallApiV1Downloadclient(ctx).Execute() +> TestallApiV1DownloadClient(ctx).Execute() @@ -484,9 +484,9 @@ func main() { configuration := lidarrClient.NewConfiguration() apiClient := lidarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.DownloadClientApi.TestallApiV1Downloadclient(context.Background()).Execute() + resp, r, err := apiClient.DownloadClientApi.TestallApiV1DownloadClient(context.Background()).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `DownloadClientApi.TestallApiV1Downloadclient``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `DownloadClientApi.TestallApiV1DownloadClient``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -498,7 +498,7 @@ This endpoint does not need any parameter. ### Other Parameters -Other parameters are passed through a pointer to a apiTestallApiV1DownloadclientRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiTestallApiV1DownloadClientRequest struct via the builder pattern ### Return type @@ -519,9 +519,9 @@ Other parameters are passed through a pointer to a apiTestallApiV1Downloadclient [[Back to README]](../README.md) -## UpdateApiV1Downloadclient +## UpdateApiV1DownloadClient -> DownloadClientResource UpdateApiV1Downloadclient(ctx, id).DownloadClientResource(downloadClientResource).Execute() +> DownloadClientResource UpdateApiV1DownloadClient(ctx, id).DownloadClientResource(downloadClientResource).Execute() @@ -543,13 +543,13 @@ func main() { configuration := lidarrClient.NewConfiguration() apiClient := lidarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.DownloadClientApi.UpdateApiV1Downloadclient(context.Background(), id).DownloadClientResource(downloadClientResource).Execute() + resp, r, err := apiClient.DownloadClientApi.UpdateApiV1DownloadClient(context.Background(), id).DownloadClientResource(downloadClientResource).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `DownloadClientApi.UpdateApiV1Downloadclient``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `DownloadClientApi.UpdateApiV1DownloadClient``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `UpdateApiV1Downloadclient`: DownloadClientResource - fmt.Fprintf(os.Stdout, "Response from `DownloadClientApi.UpdateApiV1Downloadclient`: %v\n", resp) + // response from `UpdateApiV1DownloadClient`: DownloadClientResource + fmt.Fprintf(os.Stdout, "Response from `DownloadClientApi.UpdateApiV1DownloadClient`: %v\n", resp) } ``` @@ -563,7 +563,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiUpdateApiV1DownloadclientRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiUpdateApiV1DownloadClientRequest struct via the builder pattern Name | Type | Description | Notes diff --git a/lidarr/docs/FileSystemApi.md b/lidarr/docs/FileSystemApi.md index d057611..3e10c7f 100644 --- a/lidarr/docs/FileSystemApi.md +++ b/lidarr/docs/FileSystemApi.md @@ -4,15 +4,15 @@ All URIs are relative to *http://localhost:8686* Method | HTTP request | Description ------------- | ------------- | ------------- -[**GetApiV1Filesystem**](FileSystemApi.md#GetApiV1Filesystem) | **Get** /api/v1/filesystem | -[**GetApiV1FilesystemMediafiles**](FileSystemApi.md#GetApiV1FilesystemMediafiles) | **Get** /api/v1/filesystem/mediafiles | -[**GetApiV1FilesystemType**](FileSystemApi.md#GetApiV1FilesystemType) | **Get** /api/v1/filesystem/type | +[**GetApiV1FileSystem**](FileSystemApi.md#GetApiV1FileSystem) | **Get** /api/v1/filesystem | +[**GetApiV1FileSystemMediafiles**](FileSystemApi.md#GetApiV1FileSystemMediafiles) | **Get** /api/v1/filesystem/mediafiles | +[**GetApiV1FileSystemType**](FileSystemApi.md#GetApiV1FileSystemType) | **Get** /api/v1/filesystem/type | -## GetApiV1Filesystem +## GetApiV1FileSystem -> GetApiV1Filesystem(ctx).Path(path).IncludeFiles(includeFiles).AllowFoldersWithoutTrailingSlashes(allowFoldersWithoutTrailingSlashes).Execute() +> GetApiV1FileSystem(ctx).Path(path).IncludeFiles(includeFiles).AllowFoldersWithoutTrailingSlashes(allowFoldersWithoutTrailingSlashes).Execute() @@ -35,9 +35,9 @@ func main() { configuration := lidarrClient.NewConfiguration() apiClient := lidarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.FileSystemApi.GetApiV1Filesystem(context.Background()).Path(path).IncludeFiles(includeFiles).AllowFoldersWithoutTrailingSlashes(allowFoldersWithoutTrailingSlashes).Execute() + resp, r, err := apiClient.FileSystemApi.GetApiV1FileSystem(context.Background()).Path(path).IncludeFiles(includeFiles).AllowFoldersWithoutTrailingSlashes(allowFoldersWithoutTrailingSlashes).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `FileSystemApi.GetApiV1Filesystem``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `FileSystemApi.GetApiV1FileSystem``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -49,7 +49,7 @@ func main() { ### Other Parameters -Other parameters are passed through a pointer to a apiGetApiV1FilesystemRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiGetApiV1FileSystemRequest struct via the builder pattern Name | Type | Description | Notes @@ -76,9 +76,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## GetApiV1FilesystemMediafiles +## GetApiV1FileSystemMediafiles -> GetApiV1FilesystemMediafiles(ctx).Path(path).Execute() +> GetApiV1FileSystemMediafiles(ctx).Path(path).Execute() @@ -99,9 +99,9 @@ func main() { configuration := lidarrClient.NewConfiguration() apiClient := lidarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.FileSystemApi.GetApiV1FilesystemMediafiles(context.Background()).Path(path).Execute() + resp, r, err := apiClient.FileSystemApi.GetApiV1FileSystemMediafiles(context.Background()).Path(path).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `FileSystemApi.GetApiV1FilesystemMediafiles``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `FileSystemApi.GetApiV1FileSystemMediafiles``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -113,7 +113,7 @@ func main() { ### Other Parameters -Other parameters are passed through a pointer to a apiGetApiV1FilesystemMediafilesRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiGetApiV1FileSystemMediafilesRequest struct via the builder pattern Name | Type | Description | Notes @@ -138,9 +138,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## GetApiV1FilesystemType +## GetApiV1FileSystemType -> GetApiV1FilesystemType(ctx).Path(path).Execute() +> GetApiV1FileSystemType(ctx).Path(path).Execute() @@ -161,9 +161,9 @@ func main() { configuration := lidarrClient.NewConfiguration() apiClient := lidarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.FileSystemApi.GetApiV1FilesystemType(context.Background()).Path(path).Execute() + resp, r, err := apiClient.FileSystemApi.GetApiV1FileSystemType(context.Background()).Path(path).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `FileSystemApi.GetApiV1FilesystemType``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `FileSystemApi.GetApiV1FileSystemType``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -175,7 +175,7 @@ func main() { ### Other Parameters -Other parameters are passed through a pointer to a apiGetApiV1FilesystemTypeRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiGetApiV1FileSystemTypeRequest struct via the builder pattern Name | Type | Description | Notes diff --git a/lidarr/docs/ImportListApi.md b/lidarr/docs/ImportListApi.md index 28286e9..0871f31 100644 --- a/lidarr/docs/ImportListApi.md +++ b/lidarr/docs/ImportListApi.md @@ -4,21 +4,21 @@ All URIs are relative to *http://localhost:8686* Method | HTTP request | Description ------------- | ------------- | ------------- -[**CreateApiV1Importlist**](ImportListApi.md#CreateApiV1Importlist) | **Post** /api/v1/importlist | -[**CreateApiV1ImportlistActionByName**](ImportListApi.md#CreateApiV1ImportlistActionByName) | **Post** /api/v1/importlist/action/{name} | -[**DeleteApiV1Importlist**](ImportListApi.md#DeleteApiV1Importlist) | **Delete** /api/v1/importlist/{id} | -[**GetApiV1ImportlistById**](ImportListApi.md#GetApiV1ImportlistById) | **Get** /api/v1/importlist/{id} | -[**ListApiV1Importlist**](ImportListApi.md#ListApiV1Importlist) | **Get** /api/v1/importlist | -[**ListApiV1ImportlistSchema**](ImportListApi.md#ListApiV1ImportlistSchema) | **Get** /api/v1/importlist/schema | -[**TestApiV1Importlist**](ImportListApi.md#TestApiV1Importlist) | **Post** /api/v1/importlist/test | -[**TestallApiV1Importlist**](ImportListApi.md#TestallApiV1Importlist) | **Post** /api/v1/importlist/testall | -[**UpdateApiV1Importlist**](ImportListApi.md#UpdateApiV1Importlist) | **Put** /api/v1/importlist/{id} | +[**CreateApiV1ImportList**](ImportListApi.md#CreateApiV1ImportList) | **Post** /api/v1/importlist | +[**CreateApiV1ImportListActionByName**](ImportListApi.md#CreateApiV1ImportListActionByName) | **Post** /api/v1/importlist/action/{name} | +[**DeleteApiV1ImportList**](ImportListApi.md#DeleteApiV1ImportList) | **Delete** /api/v1/importlist/{id} | +[**GetApiV1ImportListById**](ImportListApi.md#GetApiV1ImportListById) | **Get** /api/v1/importlist/{id} | +[**ListApiV1ImportList**](ImportListApi.md#ListApiV1ImportList) | **Get** /api/v1/importlist | +[**ListApiV1ImportListSchema**](ImportListApi.md#ListApiV1ImportListSchema) | **Get** /api/v1/importlist/schema | +[**TestApiV1ImportList**](ImportListApi.md#TestApiV1ImportList) | **Post** /api/v1/importlist/test | +[**TestallApiV1ImportList**](ImportListApi.md#TestallApiV1ImportList) | **Post** /api/v1/importlist/testall | +[**UpdateApiV1ImportList**](ImportListApi.md#UpdateApiV1ImportList) | **Put** /api/v1/importlist/{id} | -## CreateApiV1Importlist +## CreateApiV1ImportList -> ImportListResource CreateApiV1Importlist(ctx).ImportListResource(importListResource).Execute() +> ImportListResource CreateApiV1ImportList(ctx).ImportListResource(importListResource).Execute() @@ -39,13 +39,13 @@ func main() { configuration := lidarrClient.NewConfiguration() apiClient := lidarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.ImportListApi.CreateApiV1Importlist(context.Background()).ImportListResource(importListResource).Execute() + resp, r, err := apiClient.ImportListApi.CreateApiV1ImportList(context.Background()).ImportListResource(importListResource).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `ImportListApi.CreateApiV1Importlist``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `ImportListApi.CreateApiV1ImportList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `CreateApiV1Importlist`: ImportListResource - fmt.Fprintf(os.Stdout, "Response from `ImportListApi.CreateApiV1Importlist`: %v\n", resp) + // response from `CreateApiV1ImportList`: ImportListResource + fmt.Fprintf(os.Stdout, "Response from `ImportListApi.CreateApiV1ImportList`: %v\n", resp) } ``` @@ -55,7 +55,7 @@ func main() { ### Other Parameters -Other parameters are passed through a pointer to a apiCreateApiV1ImportlistRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiCreateApiV1ImportListRequest struct via the builder pattern Name | Type | Description | Notes @@ -80,9 +80,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## CreateApiV1ImportlistActionByName +## CreateApiV1ImportListActionByName -> CreateApiV1ImportlistActionByName(ctx, name).ImportListResource(importListResource).Execute() +> CreateApiV1ImportListActionByName(ctx, name).ImportListResource(importListResource).Execute() @@ -104,9 +104,9 @@ func main() { configuration := lidarrClient.NewConfiguration() apiClient := lidarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.ImportListApi.CreateApiV1ImportlistActionByName(context.Background(), name).ImportListResource(importListResource).Execute() + resp, r, err := apiClient.ImportListApi.CreateApiV1ImportListActionByName(context.Background(), name).ImportListResource(importListResource).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `ImportListApi.CreateApiV1ImportlistActionByName``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `ImportListApi.CreateApiV1ImportListActionByName``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -122,7 +122,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiCreateApiV1ImportlistActionByNameRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiCreateApiV1ImportListActionByNameRequest struct via the builder pattern Name | Type | Description | Notes @@ -148,9 +148,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## DeleteApiV1Importlist +## DeleteApiV1ImportList -> DeleteApiV1Importlist(ctx, id).Execute() +> DeleteApiV1ImportList(ctx, id).Execute() @@ -171,9 +171,9 @@ func main() { configuration := lidarrClient.NewConfiguration() apiClient := lidarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.ImportListApi.DeleteApiV1Importlist(context.Background(), id).Execute() + resp, r, err := apiClient.ImportListApi.DeleteApiV1ImportList(context.Background(), id).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `ImportListApi.DeleteApiV1Importlist``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `ImportListApi.DeleteApiV1ImportList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -189,7 +189,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiDeleteApiV1ImportlistRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiDeleteApiV1ImportListRequest struct via the builder pattern Name | Type | Description | Notes @@ -214,9 +214,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## GetApiV1ImportlistById +## GetApiV1ImportListById -> ImportListResource GetApiV1ImportlistById(ctx, id).Execute() +> ImportListResource GetApiV1ImportListById(ctx, id).Execute() @@ -237,13 +237,13 @@ func main() { configuration := lidarrClient.NewConfiguration() apiClient := lidarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.ImportListApi.GetApiV1ImportlistById(context.Background(), id).Execute() + resp, r, err := apiClient.ImportListApi.GetApiV1ImportListById(context.Background(), id).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `ImportListApi.GetApiV1ImportlistById``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `ImportListApi.GetApiV1ImportListById``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetApiV1ImportlistById`: ImportListResource - fmt.Fprintf(os.Stdout, "Response from `ImportListApi.GetApiV1ImportlistById`: %v\n", resp) + // response from `GetApiV1ImportListById`: ImportListResource + fmt.Fprintf(os.Stdout, "Response from `ImportListApi.GetApiV1ImportListById`: %v\n", resp) } ``` @@ -257,7 +257,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiGetApiV1ImportlistByIdRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiGetApiV1ImportListByIdRequest struct via the builder pattern Name | Type | Description | Notes @@ -282,9 +282,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## ListApiV1Importlist +## ListApiV1ImportList -> []ImportListResource ListApiV1Importlist(ctx).Execute() +> []ImportListResource ListApiV1ImportList(ctx).Execute() @@ -304,13 +304,13 @@ func main() { configuration := lidarrClient.NewConfiguration() apiClient := lidarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.ImportListApi.ListApiV1Importlist(context.Background()).Execute() + resp, r, err := apiClient.ImportListApi.ListApiV1ImportList(context.Background()).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `ImportListApi.ListApiV1Importlist``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `ImportListApi.ListApiV1ImportList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `ListApiV1Importlist`: []ImportListResource - fmt.Fprintf(os.Stdout, "Response from `ImportListApi.ListApiV1Importlist`: %v\n", resp) + // response from `ListApiV1ImportList`: []ImportListResource + fmt.Fprintf(os.Stdout, "Response from `ImportListApi.ListApiV1ImportList`: %v\n", resp) } ``` @@ -320,7 +320,7 @@ This endpoint does not need any parameter. ### Other Parameters -Other parameters are passed through a pointer to a apiListApiV1ImportlistRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiListApiV1ImportListRequest struct via the builder pattern ### Return type @@ -341,9 +341,9 @@ Other parameters are passed through a pointer to a apiListApiV1ImportlistRequest [[Back to README]](../README.md) -## ListApiV1ImportlistSchema +## ListApiV1ImportListSchema -> []ImportListResource ListApiV1ImportlistSchema(ctx).Execute() +> []ImportListResource ListApiV1ImportListSchema(ctx).Execute() @@ -363,13 +363,13 @@ func main() { configuration := lidarrClient.NewConfiguration() apiClient := lidarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.ImportListApi.ListApiV1ImportlistSchema(context.Background()).Execute() + resp, r, err := apiClient.ImportListApi.ListApiV1ImportListSchema(context.Background()).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `ImportListApi.ListApiV1ImportlistSchema``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `ImportListApi.ListApiV1ImportListSchema``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `ListApiV1ImportlistSchema`: []ImportListResource - fmt.Fprintf(os.Stdout, "Response from `ImportListApi.ListApiV1ImportlistSchema`: %v\n", resp) + // response from `ListApiV1ImportListSchema`: []ImportListResource + fmt.Fprintf(os.Stdout, "Response from `ImportListApi.ListApiV1ImportListSchema`: %v\n", resp) } ``` @@ -379,7 +379,7 @@ This endpoint does not need any parameter. ### Other Parameters -Other parameters are passed through a pointer to a apiListApiV1ImportlistSchemaRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiListApiV1ImportListSchemaRequest struct via the builder pattern ### Return type @@ -400,9 +400,9 @@ Other parameters are passed through a pointer to a apiListApiV1ImportlistSchemaR [[Back to README]](../README.md) -## TestApiV1Importlist +## TestApiV1ImportList -> TestApiV1Importlist(ctx).ImportListResource(importListResource).Execute() +> TestApiV1ImportList(ctx).ImportListResource(importListResource).Execute() @@ -423,9 +423,9 @@ func main() { configuration := lidarrClient.NewConfiguration() apiClient := lidarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.ImportListApi.TestApiV1Importlist(context.Background()).ImportListResource(importListResource).Execute() + resp, r, err := apiClient.ImportListApi.TestApiV1ImportList(context.Background()).ImportListResource(importListResource).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `ImportListApi.TestApiV1Importlist``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `ImportListApi.TestApiV1ImportList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -437,7 +437,7 @@ func main() { ### Other Parameters -Other parameters are passed through a pointer to a apiTestApiV1ImportlistRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiTestApiV1ImportListRequest struct via the builder pattern Name | Type | Description | Notes @@ -462,9 +462,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## TestallApiV1Importlist +## TestallApiV1ImportList -> TestallApiV1Importlist(ctx).Execute() +> TestallApiV1ImportList(ctx).Execute() @@ -484,9 +484,9 @@ func main() { configuration := lidarrClient.NewConfiguration() apiClient := lidarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.ImportListApi.TestallApiV1Importlist(context.Background()).Execute() + resp, r, err := apiClient.ImportListApi.TestallApiV1ImportList(context.Background()).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `ImportListApi.TestallApiV1Importlist``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `ImportListApi.TestallApiV1ImportList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -498,7 +498,7 @@ This endpoint does not need any parameter. ### Other Parameters -Other parameters are passed through a pointer to a apiTestallApiV1ImportlistRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiTestallApiV1ImportListRequest struct via the builder pattern ### Return type @@ -519,9 +519,9 @@ Other parameters are passed through a pointer to a apiTestallApiV1ImportlistRequ [[Back to README]](../README.md) -## UpdateApiV1Importlist +## UpdateApiV1ImportList -> ImportListResource UpdateApiV1Importlist(ctx, id).ImportListResource(importListResource).Execute() +> ImportListResource UpdateApiV1ImportList(ctx, id).ImportListResource(importListResource).Execute() @@ -543,13 +543,13 @@ func main() { configuration := lidarrClient.NewConfiguration() apiClient := lidarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.ImportListApi.UpdateApiV1Importlist(context.Background(), id).ImportListResource(importListResource).Execute() + resp, r, err := apiClient.ImportListApi.UpdateApiV1ImportList(context.Background(), id).ImportListResource(importListResource).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `ImportListApi.UpdateApiV1Importlist``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `ImportListApi.UpdateApiV1ImportList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `UpdateApiV1Importlist`: ImportListResource - fmt.Fprintf(os.Stdout, "Response from `ImportListApi.UpdateApiV1Importlist`: %v\n", resp) + // response from `UpdateApiV1ImportList`: ImportListResource + fmt.Fprintf(os.Stdout, "Response from `ImportListApi.UpdateApiV1ImportList`: %v\n", resp) } ``` @@ -563,7 +563,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiUpdateApiV1ImportlistRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiUpdateApiV1ImportListRequest struct via the builder pattern Name | Type | Description | Notes diff --git a/lidarr/docs/ImportListExclusionApi.md b/lidarr/docs/ImportListExclusionApi.md index c303e37..aeb9601 100644 --- a/lidarr/docs/ImportListExclusionApi.md +++ b/lidarr/docs/ImportListExclusionApi.md @@ -4,17 +4,17 @@ All URIs are relative to *http://localhost:8686* Method | HTTP request | Description ------------- | ------------- | ------------- -[**CreateApiV1Importlistexclusion**](ImportListExclusionApi.md#CreateApiV1Importlistexclusion) | **Post** /api/v1/importlistexclusion | -[**DeleteApiV1Importlistexclusion**](ImportListExclusionApi.md#DeleteApiV1Importlistexclusion) | **Delete** /api/v1/importlistexclusion/{id} | -[**GetApiV1ImportlistexclusionById**](ImportListExclusionApi.md#GetApiV1ImportlistexclusionById) | **Get** /api/v1/importlistexclusion/{id} | -[**ListApiV1Importlistexclusion**](ImportListExclusionApi.md#ListApiV1Importlistexclusion) | **Get** /api/v1/importlistexclusion | -[**UpdateApiV1Importlistexclusion**](ImportListExclusionApi.md#UpdateApiV1Importlistexclusion) | **Put** /api/v1/importlistexclusion/{id} | +[**CreateApiV1ImportListExclusion**](ImportListExclusionApi.md#CreateApiV1ImportListExclusion) | **Post** /api/v1/importlistexclusion | +[**DeleteApiV1ImportListExclusion**](ImportListExclusionApi.md#DeleteApiV1ImportListExclusion) | **Delete** /api/v1/importlistexclusion/{id} | +[**GetApiV1ImportListExclusionById**](ImportListExclusionApi.md#GetApiV1ImportListExclusionById) | **Get** /api/v1/importlistexclusion/{id} | +[**ListApiV1ImportListExclusion**](ImportListExclusionApi.md#ListApiV1ImportListExclusion) | **Get** /api/v1/importlistexclusion | +[**UpdateApiV1ImportListExclusion**](ImportListExclusionApi.md#UpdateApiV1ImportListExclusion) | **Put** /api/v1/importlistexclusion/{id} | -## CreateApiV1Importlistexclusion +## CreateApiV1ImportListExclusion -> ImportListExclusionResource CreateApiV1Importlistexclusion(ctx).ImportListExclusionResource(importListExclusionResource).Execute() +> ImportListExclusionResource CreateApiV1ImportListExclusion(ctx).ImportListExclusionResource(importListExclusionResource).Execute() @@ -35,13 +35,13 @@ func main() { configuration := lidarrClient.NewConfiguration() apiClient := lidarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.ImportListExclusionApi.CreateApiV1Importlistexclusion(context.Background()).ImportListExclusionResource(importListExclusionResource).Execute() + resp, r, err := apiClient.ImportListExclusionApi.CreateApiV1ImportListExclusion(context.Background()).ImportListExclusionResource(importListExclusionResource).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `ImportListExclusionApi.CreateApiV1Importlistexclusion``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `ImportListExclusionApi.CreateApiV1ImportListExclusion``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `CreateApiV1Importlistexclusion`: ImportListExclusionResource - fmt.Fprintf(os.Stdout, "Response from `ImportListExclusionApi.CreateApiV1Importlistexclusion`: %v\n", resp) + // response from `CreateApiV1ImportListExclusion`: ImportListExclusionResource + fmt.Fprintf(os.Stdout, "Response from `ImportListExclusionApi.CreateApiV1ImportListExclusion`: %v\n", resp) } ``` @@ -51,7 +51,7 @@ func main() { ### Other Parameters -Other parameters are passed through a pointer to a apiCreateApiV1ImportlistexclusionRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiCreateApiV1ImportListExclusionRequest struct via the builder pattern Name | Type | Description | Notes @@ -76,9 +76,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## DeleteApiV1Importlistexclusion +## DeleteApiV1ImportListExclusion -> DeleteApiV1Importlistexclusion(ctx, id).Execute() +> DeleteApiV1ImportListExclusion(ctx, id).Execute() @@ -99,9 +99,9 @@ func main() { configuration := lidarrClient.NewConfiguration() apiClient := lidarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.ImportListExclusionApi.DeleteApiV1Importlistexclusion(context.Background(), id).Execute() + resp, r, err := apiClient.ImportListExclusionApi.DeleteApiV1ImportListExclusion(context.Background(), id).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `ImportListExclusionApi.DeleteApiV1Importlistexclusion``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `ImportListExclusionApi.DeleteApiV1ImportListExclusion``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -117,7 +117,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiDeleteApiV1ImportlistexclusionRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiDeleteApiV1ImportListExclusionRequest struct via the builder pattern Name | Type | Description | Notes @@ -142,9 +142,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## GetApiV1ImportlistexclusionById +## GetApiV1ImportListExclusionById -> ImportListExclusionResource GetApiV1ImportlistexclusionById(ctx, id).Execute() +> ImportListExclusionResource GetApiV1ImportListExclusionById(ctx, id).Execute() @@ -165,13 +165,13 @@ func main() { configuration := lidarrClient.NewConfiguration() apiClient := lidarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.ImportListExclusionApi.GetApiV1ImportlistexclusionById(context.Background(), id).Execute() + resp, r, err := apiClient.ImportListExclusionApi.GetApiV1ImportListExclusionById(context.Background(), id).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `ImportListExclusionApi.GetApiV1ImportlistexclusionById``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `ImportListExclusionApi.GetApiV1ImportListExclusionById``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetApiV1ImportlistexclusionById`: ImportListExclusionResource - fmt.Fprintf(os.Stdout, "Response from `ImportListExclusionApi.GetApiV1ImportlistexclusionById`: %v\n", resp) + // response from `GetApiV1ImportListExclusionById`: ImportListExclusionResource + fmt.Fprintf(os.Stdout, "Response from `ImportListExclusionApi.GetApiV1ImportListExclusionById`: %v\n", resp) } ``` @@ -185,7 +185,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiGetApiV1ImportlistexclusionByIdRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiGetApiV1ImportListExclusionByIdRequest struct via the builder pattern Name | Type | Description | Notes @@ -210,9 +210,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## ListApiV1Importlistexclusion +## ListApiV1ImportListExclusion -> []ImportListExclusionResource ListApiV1Importlistexclusion(ctx).Execute() +> []ImportListExclusionResource ListApiV1ImportListExclusion(ctx).Execute() @@ -232,13 +232,13 @@ func main() { configuration := lidarrClient.NewConfiguration() apiClient := lidarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.ImportListExclusionApi.ListApiV1Importlistexclusion(context.Background()).Execute() + resp, r, err := apiClient.ImportListExclusionApi.ListApiV1ImportListExclusion(context.Background()).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `ImportListExclusionApi.ListApiV1Importlistexclusion``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `ImportListExclusionApi.ListApiV1ImportListExclusion``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `ListApiV1Importlistexclusion`: []ImportListExclusionResource - fmt.Fprintf(os.Stdout, "Response from `ImportListExclusionApi.ListApiV1Importlistexclusion`: %v\n", resp) + // response from `ListApiV1ImportListExclusion`: []ImportListExclusionResource + fmt.Fprintf(os.Stdout, "Response from `ImportListExclusionApi.ListApiV1ImportListExclusion`: %v\n", resp) } ``` @@ -248,7 +248,7 @@ This endpoint does not need any parameter. ### Other Parameters -Other parameters are passed through a pointer to a apiListApiV1ImportlistexclusionRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiListApiV1ImportListExclusionRequest struct via the builder pattern ### Return type @@ -269,9 +269,9 @@ Other parameters are passed through a pointer to a apiListApiV1Importlistexclusi [[Back to README]](../README.md) -## UpdateApiV1Importlistexclusion +## UpdateApiV1ImportListExclusion -> ImportListExclusionResource UpdateApiV1Importlistexclusion(ctx, id).ImportListExclusionResource(importListExclusionResource).Execute() +> ImportListExclusionResource UpdateApiV1ImportListExclusion(ctx, id).ImportListExclusionResource(importListExclusionResource).Execute() @@ -293,13 +293,13 @@ func main() { configuration := lidarrClient.NewConfiguration() apiClient := lidarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.ImportListExclusionApi.UpdateApiV1Importlistexclusion(context.Background(), id).ImportListExclusionResource(importListExclusionResource).Execute() + resp, r, err := apiClient.ImportListExclusionApi.UpdateApiV1ImportListExclusion(context.Background(), id).ImportListExclusionResource(importListExclusionResource).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `ImportListExclusionApi.UpdateApiV1Importlistexclusion``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `ImportListExclusionApi.UpdateApiV1ImportListExclusion``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `UpdateApiV1Importlistexclusion`: ImportListExclusionResource - fmt.Fprintf(os.Stdout, "Response from `ImportListExclusionApi.UpdateApiV1Importlistexclusion`: %v\n", resp) + // response from `UpdateApiV1ImportListExclusion`: ImportListExclusionResource + fmt.Fprintf(os.Stdout, "Response from `ImportListExclusionApi.UpdateApiV1ImportListExclusion`: %v\n", resp) } ``` @@ -313,7 +313,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiUpdateApiV1ImportlistexclusionRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiUpdateApiV1ImportListExclusionRequest struct via the builder pattern Name | Type | Description | Notes diff --git a/lidarr/docs/ManualImportApi.md b/lidarr/docs/ManualImportApi.md index d4ab5f8..4e3f77b 100644 --- a/lidarr/docs/ManualImportApi.md +++ b/lidarr/docs/ManualImportApi.md @@ -4,14 +4,14 @@ All URIs are relative to *http://localhost:8686* Method | HTTP request | Description ------------- | ------------- | ------------- -[**ListApiV1Manualimport**](ManualImportApi.md#ListApiV1Manualimport) | **Get** /api/v1/manualimport | -[**PutApiV1Manualimport**](ManualImportApi.md#PutApiV1Manualimport) | **Put** /api/v1/manualimport | +[**ListApiV1ManualImport**](ManualImportApi.md#ListApiV1ManualImport) | **Get** /api/v1/manualimport | +[**PutApiV1ManualImport**](ManualImportApi.md#PutApiV1ManualImport) | **Put** /api/v1/manualimport | -## ListApiV1Manualimport +## ListApiV1ManualImport -> []ManualImportResource ListApiV1Manualimport(ctx).Folder(folder).DownloadId(downloadId).ArtistId(artistId).FilterExistingFiles(filterExistingFiles).ReplaceExistingFiles(replaceExistingFiles).Execute() +> []ManualImportResource ListApiV1ManualImport(ctx).Folder(folder).DownloadId(downloadId).ArtistId(artistId).FilterExistingFiles(filterExistingFiles).ReplaceExistingFiles(replaceExistingFiles).Execute() @@ -36,13 +36,13 @@ func main() { configuration := lidarrClient.NewConfiguration() apiClient := lidarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.ManualImportApi.ListApiV1Manualimport(context.Background()).Folder(folder).DownloadId(downloadId).ArtistId(artistId).FilterExistingFiles(filterExistingFiles).ReplaceExistingFiles(replaceExistingFiles).Execute() + resp, r, err := apiClient.ManualImportApi.ListApiV1ManualImport(context.Background()).Folder(folder).DownloadId(downloadId).ArtistId(artistId).FilterExistingFiles(filterExistingFiles).ReplaceExistingFiles(replaceExistingFiles).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `ManualImportApi.ListApiV1Manualimport``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `ManualImportApi.ListApiV1ManualImport``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `ListApiV1Manualimport`: []ManualImportResource - fmt.Fprintf(os.Stdout, "Response from `ManualImportApi.ListApiV1Manualimport`: %v\n", resp) + // response from `ListApiV1ManualImport`: []ManualImportResource + fmt.Fprintf(os.Stdout, "Response from `ManualImportApi.ListApiV1ManualImport`: %v\n", resp) } ``` @@ -52,7 +52,7 @@ func main() { ### Other Parameters -Other parameters are passed through a pointer to a apiListApiV1ManualimportRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiListApiV1ManualImportRequest struct via the builder pattern Name | Type | Description | Notes @@ -81,9 +81,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## PutApiV1Manualimport +## PutApiV1ManualImport -> PutApiV1Manualimport(ctx).ManualImportResource(manualImportResource).Execute() +> PutApiV1ManualImport(ctx).ManualImportResource(manualImportResource).Execute() @@ -104,9 +104,9 @@ func main() { configuration := lidarrClient.NewConfiguration() apiClient := lidarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.ManualImportApi.PutApiV1Manualimport(context.Background()).ManualImportResource(manualImportResource).Execute() + resp, r, err := apiClient.ManualImportApi.PutApiV1ManualImport(context.Background()).ManualImportResource(manualImportResource).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `ManualImportApi.PutApiV1Manualimport``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `ManualImportApi.PutApiV1ManualImport``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -118,7 +118,7 @@ func main() { ### Other Parameters -Other parameters are passed through a pointer to a apiPutApiV1ManualimportRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiPutApiV1ManualImportRequest struct via the builder pattern Name | Type | Description | Notes diff --git a/lidarr/docs/MediaCoverApi.md b/lidarr/docs/MediaCoverApi.md index bfa9f1a..57c894e 100644 --- a/lidarr/docs/MediaCoverApi.md +++ b/lidarr/docs/MediaCoverApi.md @@ -4,14 +4,14 @@ All URIs are relative to *http://localhost:8686* Method | HTTP request | Description ------------- | ------------- | ------------- -[**GetApiV1MediacoverAlbumalbumidByFilename**](MediaCoverApi.md#GetApiV1MediacoverAlbumalbumidByFilename) | **Get** /api/v1/mediacover/album/{albumId}/{filename} | -[**GetApiV1MediacoverArtistartistidByFilename**](MediaCoverApi.md#GetApiV1MediacoverArtistartistidByFilename) | **Get** /api/v1/mediacover/artist/{artistId}/{filename} | +[**GetApiV1MediaCoverAlbumalbumIdByFilename**](MediaCoverApi.md#GetApiV1MediaCoverAlbumalbumIdByFilename) | **Get** /api/v1/mediacover/album/{albumId}/{filename} | +[**GetApiV1MediaCoverArtistartistIdByFilename**](MediaCoverApi.md#GetApiV1MediaCoverArtistartistIdByFilename) | **Get** /api/v1/mediacover/artist/{artistId}/{filename} | -## GetApiV1MediacoverAlbumalbumidByFilename +## GetApiV1MediaCoverAlbumalbumIdByFilename -> GetApiV1MediacoverAlbumalbumidByFilename(ctx, albumId, filename).Execute() +> GetApiV1MediaCoverAlbumalbumIdByFilename(ctx, albumId, filename).Execute() @@ -33,9 +33,9 @@ func main() { configuration := lidarrClient.NewConfiguration() apiClient := lidarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.MediaCoverApi.GetApiV1MediacoverAlbumalbumidByFilename(context.Background(), albumId, filename).Execute() + resp, r, err := apiClient.MediaCoverApi.GetApiV1MediaCoverAlbumalbumIdByFilename(context.Background(), albumId, filename).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `MediaCoverApi.GetApiV1MediacoverAlbumalbumidByFilename``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `MediaCoverApi.GetApiV1MediaCoverAlbumalbumIdByFilename``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -52,7 +52,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiGetApiV1MediacoverAlbumalbumidByFilenameRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiGetApiV1MediaCoverAlbumalbumIdByFilenameRequest struct via the builder pattern Name | Type | Description | Notes @@ -78,9 +78,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## GetApiV1MediacoverArtistartistidByFilename +## GetApiV1MediaCoverArtistartistIdByFilename -> GetApiV1MediacoverArtistartistidByFilename(ctx, artistId, filename).Execute() +> GetApiV1MediaCoverArtistartistIdByFilename(ctx, artistId, filename).Execute() @@ -102,9 +102,9 @@ func main() { configuration := lidarrClient.NewConfiguration() apiClient := lidarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.MediaCoverApi.GetApiV1MediacoverArtistartistidByFilename(context.Background(), artistId, filename).Execute() + resp, r, err := apiClient.MediaCoverApi.GetApiV1MediaCoverArtistartistIdByFilename(context.Background(), artistId, filename).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `MediaCoverApi.GetApiV1MediacoverArtistartistidByFilename``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `MediaCoverApi.GetApiV1MediaCoverArtistartistIdByFilename``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -121,7 +121,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiGetApiV1MediacoverArtistartistidByFilenameRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiGetApiV1MediaCoverArtistartistIdByFilenameRequest struct via the builder pattern Name | Type | Description | Notes diff --git a/lidarr/docs/MetadataProfileApi.md b/lidarr/docs/MetadataProfileApi.md index dd0d02e..bb2ba7a 100644 --- a/lidarr/docs/MetadataProfileApi.md +++ b/lidarr/docs/MetadataProfileApi.md @@ -4,17 +4,17 @@ All URIs are relative to *http://localhost:8686* Method | HTTP request | Description ------------- | ------------- | ------------- -[**CreateApiV1Metadataprofile**](MetadataProfileApi.md#CreateApiV1Metadataprofile) | **Post** /api/v1/metadataprofile | -[**DeleteApiV1Metadataprofile**](MetadataProfileApi.md#DeleteApiV1Metadataprofile) | **Delete** /api/v1/metadataprofile/{id} | -[**GetApiV1MetadataprofileById**](MetadataProfileApi.md#GetApiV1MetadataprofileById) | **Get** /api/v1/metadataprofile/{id} | -[**ListApiV1Metadataprofile**](MetadataProfileApi.md#ListApiV1Metadataprofile) | **Get** /api/v1/metadataprofile | -[**UpdateApiV1Metadataprofile**](MetadataProfileApi.md#UpdateApiV1Metadataprofile) | **Put** /api/v1/metadataprofile/{id} | +[**CreateApiV1MetadataProfile**](MetadataProfileApi.md#CreateApiV1MetadataProfile) | **Post** /api/v1/metadataprofile | +[**DeleteApiV1MetadataProfile**](MetadataProfileApi.md#DeleteApiV1MetadataProfile) | **Delete** /api/v1/metadataprofile/{id} | +[**GetApiV1MetadataProfileById**](MetadataProfileApi.md#GetApiV1MetadataProfileById) | **Get** /api/v1/metadataprofile/{id} | +[**ListApiV1MetadataProfile**](MetadataProfileApi.md#ListApiV1MetadataProfile) | **Get** /api/v1/metadataprofile | +[**UpdateApiV1MetadataProfile**](MetadataProfileApi.md#UpdateApiV1MetadataProfile) | **Put** /api/v1/metadataprofile/{id} | -## CreateApiV1Metadataprofile +## CreateApiV1MetadataProfile -> MetadataProfileResource CreateApiV1Metadataprofile(ctx).MetadataProfileResource(metadataProfileResource).Execute() +> MetadataProfileResource CreateApiV1MetadataProfile(ctx).MetadataProfileResource(metadataProfileResource).Execute() @@ -35,13 +35,13 @@ func main() { configuration := lidarrClient.NewConfiguration() apiClient := lidarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.MetadataProfileApi.CreateApiV1Metadataprofile(context.Background()).MetadataProfileResource(metadataProfileResource).Execute() + resp, r, err := apiClient.MetadataProfileApi.CreateApiV1MetadataProfile(context.Background()).MetadataProfileResource(metadataProfileResource).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `MetadataProfileApi.CreateApiV1Metadataprofile``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `MetadataProfileApi.CreateApiV1MetadataProfile``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `CreateApiV1Metadataprofile`: MetadataProfileResource - fmt.Fprintf(os.Stdout, "Response from `MetadataProfileApi.CreateApiV1Metadataprofile`: %v\n", resp) + // response from `CreateApiV1MetadataProfile`: MetadataProfileResource + fmt.Fprintf(os.Stdout, "Response from `MetadataProfileApi.CreateApiV1MetadataProfile`: %v\n", resp) } ``` @@ -51,7 +51,7 @@ func main() { ### Other Parameters -Other parameters are passed through a pointer to a apiCreateApiV1MetadataprofileRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiCreateApiV1MetadataProfileRequest struct via the builder pattern Name | Type | Description | Notes @@ -76,9 +76,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## DeleteApiV1Metadataprofile +## DeleteApiV1MetadataProfile -> DeleteApiV1Metadataprofile(ctx, id).Execute() +> DeleteApiV1MetadataProfile(ctx, id).Execute() @@ -99,9 +99,9 @@ func main() { configuration := lidarrClient.NewConfiguration() apiClient := lidarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.MetadataProfileApi.DeleteApiV1Metadataprofile(context.Background(), id).Execute() + resp, r, err := apiClient.MetadataProfileApi.DeleteApiV1MetadataProfile(context.Background(), id).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `MetadataProfileApi.DeleteApiV1Metadataprofile``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `MetadataProfileApi.DeleteApiV1MetadataProfile``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -117,7 +117,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiDeleteApiV1MetadataprofileRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiDeleteApiV1MetadataProfileRequest struct via the builder pattern Name | Type | Description | Notes @@ -142,9 +142,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## GetApiV1MetadataprofileById +## GetApiV1MetadataProfileById -> MetadataProfileResource GetApiV1MetadataprofileById(ctx, id).Execute() +> MetadataProfileResource GetApiV1MetadataProfileById(ctx, id).Execute() @@ -165,13 +165,13 @@ func main() { configuration := lidarrClient.NewConfiguration() apiClient := lidarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.MetadataProfileApi.GetApiV1MetadataprofileById(context.Background(), id).Execute() + resp, r, err := apiClient.MetadataProfileApi.GetApiV1MetadataProfileById(context.Background(), id).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `MetadataProfileApi.GetApiV1MetadataprofileById``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `MetadataProfileApi.GetApiV1MetadataProfileById``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetApiV1MetadataprofileById`: MetadataProfileResource - fmt.Fprintf(os.Stdout, "Response from `MetadataProfileApi.GetApiV1MetadataprofileById`: %v\n", resp) + // response from `GetApiV1MetadataProfileById`: MetadataProfileResource + fmt.Fprintf(os.Stdout, "Response from `MetadataProfileApi.GetApiV1MetadataProfileById`: %v\n", resp) } ``` @@ -185,7 +185,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiGetApiV1MetadataprofileByIdRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiGetApiV1MetadataProfileByIdRequest struct via the builder pattern Name | Type | Description | Notes @@ -210,9 +210,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## ListApiV1Metadataprofile +## ListApiV1MetadataProfile -> []MetadataProfileResource ListApiV1Metadataprofile(ctx).Execute() +> []MetadataProfileResource ListApiV1MetadataProfile(ctx).Execute() @@ -232,13 +232,13 @@ func main() { configuration := lidarrClient.NewConfiguration() apiClient := lidarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.MetadataProfileApi.ListApiV1Metadataprofile(context.Background()).Execute() + resp, r, err := apiClient.MetadataProfileApi.ListApiV1MetadataProfile(context.Background()).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `MetadataProfileApi.ListApiV1Metadataprofile``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `MetadataProfileApi.ListApiV1MetadataProfile``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `ListApiV1Metadataprofile`: []MetadataProfileResource - fmt.Fprintf(os.Stdout, "Response from `MetadataProfileApi.ListApiV1Metadataprofile`: %v\n", resp) + // response from `ListApiV1MetadataProfile`: []MetadataProfileResource + fmt.Fprintf(os.Stdout, "Response from `MetadataProfileApi.ListApiV1MetadataProfile`: %v\n", resp) } ``` @@ -248,7 +248,7 @@ This endpoint does not need any parameter. ### Other Parameters -Other parameters are passed through a pointer to a apiListApiV1MetadataprofileRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiListApiV1MetadataProfileRequest struct via the builder pattern ### Return type @@ -269,9 +269,9 @@ Other parameters are passed through a pointer to a apiListApiV1MetadataprofileRe [[Back to README]](../README.md) -## UpdateApiV1Metadataprofile +## UpdateApiV1MetadataProfile -> MetadataProfileResource UpdateApiV1Metadataprofile(ctx, id).MetadataProfileResource(metadataProfileResource).Execute() +> MetadataProfileResource UpdateApiV1MetadataProfile(ctx, id).MetadataProfileResource(metadataProfileResource).Execute() @@ -293,13 +293,13 @@ func main() { configuration := lidarrClient.NewConfiguration() apiClient := lidarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.MetadataProfileApi.UpdateApiV1Metadataprofile(context.Background(), id).MetadataProfileResource(metadataProfileResource).Execute() + resp, r, err := apiClient.MetadataProfileApi.UpdateApiV1MetadataProfile(context.Background(), id).MetadataProfileResource(metadataProfileResource).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `MetadataProfileApi.UpdateApiV1Metadataprofile``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `MetadataProfileApi.UpdateApiV1MetadataProfile``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `UpdateApiV1Metadataprofile`: MetadataProfileResource - fmt.Fprintf(os.Stdout, "Response from `MetadataProfileApi.UpdateApiV1Metadataprofile`: %v\n", resp) + // response from `UpdateApiV1MetadataProfile`: MetadataProfileResource + fmt.Fprintf(os.Stdout, "Response from `MetadataProfileApi.UpdateApiV1MetadataProfile`: %v\n", resp) } ``` @@ -313,7 +313,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiUpdateApiV1MetadataprofileRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiUpdateApiV1MetadataProfileRequest struct via the builder pattern Name | Type | Description | Notes diff --git a/lidarr/docs/QualityDefinitionApi.md b/lidarr/docs/QualityDefinitionApi.md index 44b7cd4..f1c6a0a 100644 --- a/lidarr/docs/QualityDefinitionApi.md +++ b/lidarr/docs/QualityDefinitionApi.md @@ -4,16 +4,16 @@ All URIs are relative to *http://localhost:8686* Method | HTTP request | Description ------------- | ------------- | ------------- -[**GetApiV1QualitydefinitionById**](QualityDefinitionApi.md#GetApiV1QualitydefinitionById) | **Get** /api/v1/qualitydefinition/{id} | -[**ListApiV1Qualitydefinition**](QualityDefinitionApi.md#ListApiV1Qualitydefinition) | **Get** /api/v1/qualitydefinition | -[**PutApiV1QualitydefinitionUpdate**](QualityDefinitionApi.md#PutApiV1QualitydefinitionUpdate) | **Put** /api/v1/qualitydefinition/update | -[**UpdateApiV1Qualitydefinition**](QualityDefinitionApi.md#UpdateApiV1Qualitydefinition) | **Put** /api/v1/qualitydefinition/{id} | +[**GetApiV1QualityDefinitionById**](QualityDefinitionApi.md#GetApiV1QualityDefinitionById) | **Get** /api/v1/qualitydefinition/{id} | +[**ListApiV1QualityDefinition**](QualityDefinitionApi.md#ListApiV1QualityDefinition) | **Get** /api/v1/qualitydefinition | +[**PutApiV1QualityDefinitionUpdate**](QualityDefinitionApi.md#PutApiV1QualityDefinitionUpdate) | **Put** /api/v1/qualitydefinition/update | +[**UpdateApiV1QualityDefinition**](QualityDefinitionApi.md#UpdateApiV1QualityDefinition) | **Put** /api/v1/qualitydefinition/{id} | -## GetApiV1QualitydefinitionById +## GetApiV1QualityDefinitionById -> QualityDefinitionResource GetApiV1QualitydefinitionById(ctx, id).Execute() +> QualityDefinitionResource GetApiV1QualityDefinitionById(ctx, id).Execute() @@ -34,13 +34,13 @@ func main() { configuration := lidarrClient.NewConfiguration() apiClient := lidarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.QualityDefinitionApi.GetApiV1QualitydefinitionById(context.Background(), id).Execute() + resp, r, err := apiClient.QualityDefinitionApi.GetApiV1QualityDefinitionById(context.Background(), id).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `QualityDefinitionApi.GetApiV1QualitydefinitionById``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `QualityDefinitionApi.GetApiV1QualityDefinitionById``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetApiV1QualitydefinitionById`: QualityDefinitionResource - fmt.Fprintf(os.Stdout, "Response from `QualityDefinitionApi.GetApiV1QualitydefinitionById`: %v\n", resp) + // response from `GetApiV1QualityDefinitionById`: QualityDefinitionResource + fmt.Fprintf(os.Stdout, "Response from `QualityDefinitionApi.GetApiV1QualityDefinitionById`: %v\n", resp) } ``` @@ -54,7 +54,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiGetApiV1QualitydefinitionByIdRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiGetApiV1QualityDefinitionByIdRequest struct via the builder pattern Name | Type | Description | Notes @@ -79,9 +79,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## ListApiV1Qualitydefinition +## ListApiV1QualityDefinition -> []QualityDefinitionResource ListApiV1Qualitydefinition(ctx).Execute() +> []QualityDefinitionResource ListApiV1QualityDefinition(ctx).Execute() @@ -101,13 +101,13 @@ func main() { configuration := lidarrClient.NewConfiguration() apiClient := lidarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.QualityDefinitionApi.ListApiV1Qualitydefinition(context.Background()).Execute() + resp, r, err := apiClient.QualityDefinitionApi.ListApiV1QualityDefinition(context.Background()).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `QualityDefinitionApi.ListApiV1Qualitydefinition``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `QualityDefinitionApi.ListApiV1QualityDefinition``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `ListApiV1Qualitydefinition`: []QualityDefinitionResource - fmt.Fprintf(os.Stdout, "Response from `QualityDefinitionApi.ListApiV1Qualitydefinition`: %v\n", resp) + // response from `ListApiV1QualityDefinition`: []QualityDefinitionResource + fmt.Fprintf(os.Stdout, "Response from `QualityDefinitionApi.ListApiV1QualityDefinition`: %v\n", resp) } ``` @@ -117,7 +117,7 @@ This endpoint does not need any parameter. ### Other Parameters -Other parameters are passed through a pointer to a apiListApiV1QualitydefinitionRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiListApiV1QualityDefinitionRequest struct via the builder pattern ### Return type @@ -138,9 +138,9 @@ Other parameters are passed through a pointer to a apiListApiV1Qualitydefinition [[Back to README]](../README.md) -## PutApiV1QualitydefinitionUpdate +## PutApiV1QualityDefinitionUpdate -> PutApiV1QualitydefinitionUpdate(ctx).QualityDefinitionResource(qualityDefinitionResource).Execute() +> PutApiV1QualityDefinitionUpdate(ctx).QualityDefinitionResource(qualityDefinitionResource).Execute() @@ -161,9 +161,9 @@ func main() { configuration := lidarrClient.NewConfiguration() apiClient := lidarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.QualityDefinitionApi.PutApiV1QualitydefinitionUpdate(context.Background()).QualityDefinitionResource(qualityDefinitionResource).Execute() + resp, r, err := apiClient.QualityDefinitionApi.PutApiV1QualityDefinitionUpdate(context.Background()).QualityDefinitionResource(qualityDefinitionResource).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `QualityDefinitionApi.PutApiV1QualitydefinitionUpdate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `QualityDefinitionApi.PutApiV1QualityDefinitionUpdate``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -175,7 +175,7 @@ func main() { ### Other Parameters -Other parameters are passed through a pointer to a apiPutApiV1QualitydefinitionUpdateRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiPutApiV1QualityDefinitionUpdateRequest struct via the builder pattern Name | Type | Description | Notes @@ -200,9 +200,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## UpdateApiV1Qualitydefinition +## UpdateApiV1QualityDefinition -> QualityDefinitionResource UpdateApiV1Qualitydefinition(ctx, id).QualityDefinitionResource(qualityDefinitionResource).Execute() +> QualityDefinitionResource UpdateApiV1QualityDefinition(ctx, id).QualityDefinitionResource(qualityDefinitionResource).Execute() @@ -224,13 +224,13 @@ func main() { configuration := lidarrClient.NewConfiguration() apiClient := lidarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.QualityDefinitionApi.UpdateApiV1Qualitydefinition(context.Background(), id).QualityDefinitionResource(qualityDefinitionResource).Execute() + resp, r, err := apiClient.QualityDefinitionApi.UpdateApiV1QualityDefinition(context.Background(), id).QualityDefinitionResource(qualityDefinitionResource).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `QualityDefinitionApi.UpdateApiV1Qualitydefinition``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `QualityDefinitionApi.UpdateApiV1QualityDefinition``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `UpdateApiV1Qualitydefinition`: QualityDefinitionResource - fmt.Fprintf(os.Stdout, "Response from `QualityDefinitionApi.UpdateApiV1Qualitydefinition`: %v\n", resp) + // response from `UpdateApiV1QualityDefinition`: QualityDefinitionResource + fmt.Fprintf(os.Stdout, "Response from `QualityDefinitionApi.UpdateApiV1QualityDefinition`: %v\n", resp) } ``` @@ -244,7 +244,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiUpdateApiV1QualitydefinitionRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiUpdateApiV1QualityDefinitionRequest struct via the builder pattern Name | Type | Description | Notes diff --git a/lidarr/docs/QualityProfileApi.md b/lidarr/docs/QualityProfileApi.md index a942322..1ddbe12 100644 --- a/lidarr/docs/QualityProfileApi.md +++ b/lidarr/docs/QualityProfileApi.md @@ -4,17 +4,17 @@ All URIs are relative to *http://localhost:8686* Method | HTTP request | Description ------------- | ------------- | ------------- -[**CreateApiV1Qualityprofile**](QualityProfileApi.md#CreateApiV1Qualityprofile) | **Post** /api/v1/qualityprofile | -[**DeleteApiV1Qualityprofile**](QualityProfileApi.md#DeleteApiV1Qualityprofile) | **Delete** /api/v1/qualityprofile/{id} | -[**GetApiV1QualityprofileById**](QualityProfileApi.md#GetApiV1QualityprofileById) | **Get** /api/v1/qualityprofile/{id} | -[**ListApiV1Qualityprofile**](QualityProfileApi.md#ListApiV1Qualityprofile) | **Get** /api/v1/qualityprofile | -[**UpdateApiV1Qualityprofile**](QualityProfileApi.md#UpdateApiV1Qualityprofile) | **Put** /api/v1/qualityprofile/{id} | +[**CreateApiV1QualityProfile**](QualityProfileApi.md#CreateApiV1QualityProfile) | **Post** /api/v1/qualityprofile | +[**DeleteApiV1QualityProfile**](QualityProfileApi.md#DeleteApiV1QualityProfile) | **Delete** /api/v1/qualityprofile/{id} | +[**GetApiV1QualityProfileById**](QualityProfileApi.md#GetApiV1QualityProfileById) | **Get** /api/v1/qualityprofile/{id} | +[**ListApiV1QualityProfile**](QualityProfileApi.md#ListApiV1QualityProfile) | **Get** /api/v1/qualityprofile | +[**UpdateApiV1QualityProfile**](QualityProfileApi.md#UpdateApiV1QualityProfile) | **Put** /api/v1/qualityprofile/{id} | -## CreateApiV1Qualityprofile +## CreateApiV1QualityProfile -> QualityProfileResource CreateApiV1Qualityprofile(ctx).QualityProfileResource(qualityProfileResource).Execute() +> QualityProfileResource CreateApiV1QualityProfile(ctx).QualityProfileResource(qualityProfileResource).Execute() @@ -35,13 +35,13 @@ func main() { configuration := lidarrClient.NewConfiguration() apiClient := lidarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.QualityProfileApi.CreateApiV1Qualityprofile(context.Background()).QualityProfileResource(qualityProfileResource).Execute() + resp, r, err := apiClient.QualityProfileApi.CreateApiV1QualityProfile(context.Background()).QualityProfileResource(qualityProfileResource).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `QualityProfileApi.CreateApiV1Qualityprofile``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `QualityProfileApi.CreateApiV1QualityProfile``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `CreateApiV1Qualityprofile`: QualityProfileResource - fmt.Fprintf(os.Stdout, "Response from `QualityProfileApi.CreateApiV1Qualityprofile`: %v\n", resp) + // response from `CreateApiV1QualityProfile`: QualityProfileResource + fmt.Fprintf(os.Stdout, "Response from `QualityProfileApi.CreateApiV1QualityProfile`: %v\n", resp) } ``` @@ -51,7 +51,7 @@ func main() { ### Other Parameters -Other parameters are passed through a pointer to a apiCreateApiV1QualityprofileRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiCreateApiV1QualityProfileRequest struct via the builder pattern Name | Type | Description | Notes @@ -76,9 +76,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## DeleteApiV1Qualityprofile +## DeleteApiV1QualityProfile -> DeleteApiV1Qualityprofile(ctx, id).Execute() +> DeleteApiV1QualityProfile(ctx, id).Execute() @@ -99,9 +99,9 @@ func main() { configuration := lidarrClient.NewConfiguration() apiClient := lidarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.QualityProfileApi.DeleteApiV1Qualityprofile(context.Background(), id).Execute() + resp, r, err := apiClient.QualityProfileApi.DeleteApiV1QualityProfile(context.Background(), id).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `QualityProfileApi.DeleteApiV1Qualityprofile``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `QualityProfileApi.DeleteApiV1QualityProfile``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -117,7 +117,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiDeleteApiV1QualityprofileRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiDeleteApiV1QualityProfileRequest struct via the builder pattern Name | Type | Description | Notes @@ -142,9 +142,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## GetApiV1QualityprofileById +## GetApiV1QualityProfileById -> QualityProfileResource GetApiV1QualityprofileById(ctx, id).Execute() +> QualityProfileResource GetApiV1QualityProfileById(ctx, id).Execute() @@ -165,13 +165,13 @@ func main() { configuration := lidarrClient.NewConfiguration() apiClient := lidarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.QualityProfileApi.GetApiV1QualityprofileById(context.Background(), id).Execute() + resp, r, err := apiClient.QualityProfileApi.GetApiV1QualityProfileById(context.Background(), id).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `QualityProfileApi.GetApiV1QualityprofileById``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `QualityProfileApi.GetApiV1QualityProfileById``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetApiV1QualityprofileById`: QualityProfileResource - fmt.Fprintf(os.Stdout, "Response from `QualityProfileApi.GetApiV1QualityprofileById`: %v\n", resp) + // response from `GetApiV1QualityProfileById`: QualityProfileResource + fmt.Fprintf(os.Stdout, "Response from `QualityProfileApi.GetApiV1QualityProfileById`: %v\n", resp) } ``` @@ -185,7 +185,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiGetApiV1QualityprofileByIdRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiGetApiV1QualityProfileByIdRequest struct via the builder pattern Name | Type | Description | Notes @@ -210,9 +210,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## ListApiV1Qualityprofile +## ListApiV1QualityProfile -> []QualityProfileResource ListApiV1Qualityprofile(ctx).Execute() +> []QualityProfileResource ListApiV1QualityProfile(ctx).Execute() @@ -232,13 +232,13 @@ func main() { configuration := lidarrClient.NewConfiguration() apiClient := lidarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.QualityProfileApi.ListApiV1Qualityprofile(context.Background()).Execute() + resp, r, err := apiClient.QualityProfileApi.ListApiV1QualityProfile(context.Background()).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `QualityProfileApi.ListApiV1Qualityprofile``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `QualityProfileApi.ListApiV1QualityProfile``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `ListApiV1Qualityprofile`: []QualityProfileResource - fmt.Fprintf(os.Stdout, "Response from `QualityProfileApi.ListApiV1Qualityprofile`: %v\n", resp) + // response from `ListApiV1QualityProfile`: []QualityProfileResource + fmt.Fprintf(os.Stdout, "Response from `QualityProfileApi.ListApiV1QualityProfile`: %v\n", resp) } ``` @@ -248,7 +248,7 @@ This endpoint does not need any parameter. ### Other Parameters -Other parameters are passed through a pointer to a apiListApiV1QualityprofileRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiListApiV1QualityProfileRequest struct via the builder pattern ### Return type @@ -269,9 +269,9 @@ Other parameters are passed through a pointer to a apiListApiV1QualityprofileReq [[Back to README]](../README.md) -## UpdateApiV1Qualityprofile +## UpdateApiV1QualityProfile -> QualityProfileResource UpdateApiV1Qualityprofile(ctx, id).QualityProfileResource(qualityProfileResource).Execute() +> QualityProfileResource UpdateApiV1QualityProfile(ctx, id).QualityProfileResource(qualityProfileResource).Execute() @@ -293,13 +293,13 @@ func main() { configuration := lidarrClient.NewConfiguration() apiClient := lidarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.QualityProfileApi.UpdateApiV1Qualityprofile(context.Background(), id).QualityProfileResource(qualityProfileResource).Execute() + resp, r, err := apiClient.QualityProfileApi.UpdateApiV1QualityProfile(context.Background(), id).QualityProfileResource(qualityProfileResource).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `QualityProfileApi.UpdateApiV1Qualityprofile``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `QualityProfileApi.UpdateApiV1QualityProfile``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `UpdateApiV1Qualityprofile`: QualityProfileResource - fmt.Fprintf(os.Stdout, "Response from `QualityProfileApi.UpdateApiV1Qualityprofile`: %v\n", resp) + // response from `UpdateApiV1QualityProfile`: QualityProfileResource + fmt.Fprintf(os.Stdout, "Response from `QualityProfileApi.UpdateApiV1QualityProfile`: %v\n", resp) } ``` @@ -313,7 +313,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiUpdateApiV1QualityprofileRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiUpdateApiV1QualityProfileRequest struct via the builder pattern Name | Type | Description | Notes diff --git a/lidarr/docs/ReleaseProfileApi.md b/lidarr/docs/ReleaseProfileApi.md index fb03a65..d10726a 100644 --- a/lidarr/docs/ReleaseProfileApi.md +++ b/lidarr/docs/ReleaseProfileApi.md @@ -4,17 +4,17 @@ All URIs are relative to *http://localhost:8686* Method | HTTP request | Description ------------- | ------------- | ------------- -[**CreateApiV1Releaseprofile**](ReleaseProfileApi.md#CreateApiV1Releaseprofile) | **Post** /api/v1/releaseprofile | -[**DeleteApiV1Releaseprofile**](ReleaseProfileApi.md#DeleteApiV1Releaseprofile) | **Delete** /api/v1/releaseprofile/{id} | -[**GetApiV1ReleaseprofileById**](ReleaseProfileApi.md#GetApiV1ReleaseprofileById) | **Get** /api/v1/releaseprofile/{id} | -[**ListApiV1Releaseprofile**](ReleaseProfileApi.md#ListApiV1Releaseprofile) | **Get** /api/v1/releaseprofile | -[**UpdateApiV1Releaseprofile**](ReleaseProfileApi.md#UpdateApiV1Releaseprofile) | **Put** /api/v1/releaseprofile/{id} | +[**CreateApiV1ReleaseProfile**](ReleaseProfileApi.md#CreateApiV1ReleaseProfile) | **Post** /api/v1/releaseprofile | +[**DeleteApiV1ReleaseProfile**](ReleaseProfileApi.md#DeleteApiV1ReleaseProfile) | **Delete** /api/v1/releaseprofile/{id} | +[**GetApiV1ReleaseProfileById**](ReleaseProfileApi.md#GetApiV1ReleaseProfileById) | **Get** /api/v1/releaseprofile/{id} | +[**ListApiV1ReleaseProfile**](ReleaseProfileApi.md#ListApiV1ReleaseProfile) | **Get** /api/v1/releaseprofile | +[**UpdateApiV1ReleaseProfile**](ReleaseProfileApi.md#UpdateApiV1ReleaseProfile) | **Put** /api/v1/releaseprofile/{id} | -## CreateApiV1Releaseprofile +## CreateApiV1ReleaseProfile -> ReleaseProfileResource CreateApiV1Releaseprofile(ctx).ReleaseProfileResource(releaseProfileResource).Execute() +> ReleaseProfileResource CreateApiV1ReleaseProfile(ctx).ReleaseProfileResource(releaseProfileResource).Execute() @@ -35,13 +35,13 @@ func main() { configuration := lidarrClient.NewConfiguration() apiClient := lidarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.ReleaseProfileApi.CreateApiV1Releaseprofile(context.Background()).ReleaseProfileResource(releaseProfileResource).Execute() + resp, r, err := apiClient.ReleaseProfileApi.CreateApiV1ReleaseProfile(context.Background()).ReleaseProfileResource(releaseProfileResource).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `ReleaseProfileApi.CreateApiV1Releaseprofile``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `ReleaseProfileApi.CreateApiV1ReleaseProfile``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `CreateApiV1Releaseprofile`: ReleaseProfileResource - fmt.Fprintf(os.Stdout, "Response from `ReleaseProfileApi.CreateApiV1Releaseprofile`: %v\n", resp) + // response from `CreateApiV1ReleaseProfile`: ReleaseProfileResource + fmt.Fprintf(os.Stdout, "Response from `ReleaseProfileApi.CreateApiV1ReleaseProfile`: %v\n", resp) } ``` @@ -51,7 +51,7 @@ func main() { ### Other Parameters -Other parameters are passed through a pointer to a apiCreateApiV1ReleaseprofileRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiCreateApiV1ReleaseProfileRequest struct via the builder pattern Name | Type | Description | Notes @@ -76,9 +76,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## DeleteApiV1Releaseprofile +## DeleteApiV1ReleaseProfile -> DeleteApiV1Releaseprofile(ctx, id).Execute() +> DeleteApiV1ReleaseProfile(ctx, id).Execute() @@ -99,9 +99,9 @@ func main() { configuration := lidarrClient.NewConfiguration() apiClient := lidarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.ReleaseProfileApi.DeleteApiV1Releaseprofile(context.Background(), id).Execute() + resp, r, err := apiClient.ReleaseProfileApi.DeleteApiV1ReleaseProfile(context.Background(), id).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `ReleaseProfileApi.DeleteApiV1Releaseprofile``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `ReleaseProfileApi.DeleteApiV1ReleaseProfile``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -117,7 +117,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiDeleteApiV1ReleaseprofileRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiDeleteApiV1ReleaseProfileRequest struct via the builder pattern Name | Type | Description | Notes @@ -142,9 +142,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## GetApiV1ReleaseprofileById +## GetApiV1ReleaseProfileById -> ReleaseProfileResource GetApiV1ReleaseprofileById(ctx, id).Execute() +> ReleaseProfileResource GetApiV1ReleaseProfileById(ctx, id).Execute() @@ -165,13 +165,13 @@ func main() { configuration := lidarrClient.NewConfiguration() apiClient := lidarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.ReleaseProfileApi.GetApiV1ReleaseprofileById(context.Background(), id).Execute() + resp, r, err := apiClient.ReleaseProfileApi.GetApiV1ReleaseProfileById(context.Background(), id).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `ReleaseProfileApi.GetApiV1ReleaseprofileById``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `ReleaseProfileApi.GetApiV1ReleaseProfileById``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetApiV1ReleaseprofileById`: ReleaseProfileResource - fmt.Fprintf(os.Stdout, "Response from `ReleaseProfileApi.GetApiV1ReleaseprofileById`: %v\n", resp) + // response from `GetApiV1ReleaseProfileById`: ReleaseProfileResource + fmt.Fprintf(os.Stdout, "Response from `ReleaseProfileApi.GetApiV1ReleaseProfileById`: %v\n", resp) } ``` @@ -185,7 +185,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiGetApiV1ReleaseprofileByIdRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiGetApiV1ReleaseProfileByIdRequest struct via the builder pattern Name | Type | Description | Notes @@ -210,9 +210,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## ListApiV1Releaseprofile +## ListApiV1ReleaseProfile -> []ReleaseProfileResource ListApiV1Releaseprofile(ctx).Execute() +> []ReleaseProfileResource ListApiV1ReleaseProfile(ctx).Execute() @@ -232,13 +232,13 @@ func main() { configuration := lidarrClient.NewConfiguration() apiClient := lidarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.ReleaseProfileApi.ListApiV1Releaseprofile(context.Background()).Execute() + resp, r, err := apiClient.ReleaseProfileApi.ListApiV1ReleaseProfile(context.Background()).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `ReleaseProfileApi.ListApiV1Releaseprofile``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `ReleaseProfileApi.ListApiV1ReleaseProfile``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `ListApiV1Releaseprofile`: []ReleaseProfileResource - fmt.Fprintf(os.Stdout, "Response from `ReleaseProfileApi.ListApiV1Releaseprofile`: %v\n", resp) + // response from `ListApiV1ReleaseProfile`: []ReleaseProfileResource + fmt.Fprintf(os.Stdout, "Response from `ReleaseProfileApi.ListApiV1ReleaseProfile`: %v\n", resp) } ``` @@ -248,7 +248,7 @@ This endpoint does not need any parameter. ### Other Parameters -Other parameters are passed through a pointer to a apiListApiV1ReleaseprofileRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiListApiV1ReleaseProfileRequest struct via the builder pattern ### Return type @@ -269,9 +269,9 @@ Other parameters are passed through a pointer to a apiListApiV1ReleaseprofileReq [[Back to README]](../README.md) -## UpdateApiV1Releaseprofile +## UpdateApiV1ReleaseProfile -> ReleaseProfileResource UpdateApiV1Releaseprofile(ctx, id).ReleaseProfileResource(releaseProfileResource).Execute() +> ReleaseProfileResource UpdateApiV1ReleaseProfile(ctx, id).ReleaseProfileResource(releaseProfileResource).Execute() @@ -293,13 +293,13 @@ func main() { configuration := lidarrClient.NewConfiguration() apiClient := lidarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.ReleaseProfileApi.UpdateApiV1Releaseprofile(context.Background(), id).ReleaseProfileResource(releaseProfileResource).Execute() + resp, r, err := apiClient.ReleaseProfileApi.UpdateApiV1ReleaseProfile(context.Background(), id).ReleaseProfileResource(releaseProfileResource).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `ReleaseProfileApi.UpdateApiV1Releaseprofile``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `ReleaseProfileApi.UpdateApiV1ReleaseProfile``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `UpdateApiV1Releaseprofile`: ReleaseProfileResource - fmt.Fprintf(os.Stdout, "Response from `ReleaseProfileApi.UpdateApiV1Releaseprofile`: %v\n", resp) + // response from `UpdateApiV1ReleaseProfile`: ReleaseProfileResource + fmt.Fprintf(os.Stdout, "Response from `ReleaseProfileApi.UpdateApiV1ReleaseProfile`: %v\n", resp) } ``` @@ -313,7 +313,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiUpdateApiV1ReleaseprofileRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiUpdateApiV1ReleaseProfileRequest struct via the builder pattern Name | Type | Description | Notes diff --git a/lidarr/docs/RemotePathMappingApi.md b/lidarr/docs/RemotePathMappingApi.md index 7ca38bf..e0401d5 100644 --- a/lidarr/docs/RemotePathMappingApi.md +++ b/lidarr/docs/RemotePathMappingApi.md @@ -4,17 +4,17 @@ All URIs are relative to *http://localhost:8686* Method | HTTP request | Description ------------- | ------------- | ------------- -[**CreateApiV1Remotepathmapping**](RemotePathMappingApi.md#CreateApiV1Remotepathmapping) | **Post** /api/v1/remotepathmapping | -[**DeleteApiV1Remotepathmapping**](RemotePathMappingApi.md#DeleteApiV1Remotepathmapping) | **Delete** /api/v1/remotepathmapping/{id} | -[**GetApiV1RemotepathmappingById**](RemotePathMappingApi.md#GetApiV1RemotepathmappingById) | **Get** /api/v1/remotepathmapping/{id} | -[**ListApiV1Remotepathmapping**](RemotePathMappingApi.md#ListApiV1Remotepathmapping) | **Get** /api/v1/remotepathmapping | -[**UpdateApiV1Remotepathmapping**](RemotePathMappingApi.md#UpdateApiV1Remotepathmapping) | **Put** /api/v1/remotepathmapping/{id} | +[**CreateApiV1RemotePathMapping**](RemotePathMappingApi.md#CreateApiV1RemotePathMapping) | **Post** /api/v1/remotepathmapping | +[**DeleteApiV1RemotePathMapping**](RemotePathMappingApi.md#DeleteApiV1RemotePathMapping) | **Delete** /api/v1/remotepathmapping/{id} | +[**GetApiV1RemotePathMappingById**](RemotePathMappingApi.md#GetApiV1RemotePathMappingById) | **Get** /api/v1/remotepathmapping/{id} | +[**ListApiV1RemotePathMapping**](RemotePathMappingApi.md#ListApiV1RemotePathMapping) | **Get** /api/v1/remotepathmapping | +[**UpdateApiV1RemotePathMapping**](RemotePathMappingApi.md#UpdateApiV1RemotePathMapping) | **Put** /api/v1/remotepathmapping/{id} | -## CreateApiV1Remotepathmapping +## CreateApiV1RemotePathMapping -> RemotePathMappingResource CreateApiV1Remotepathmapping(ctx).RemotePathMappingResource(remotePathMappingResource).Execute() +> RemotePathMappingResource CreateApiV1RemotePathMapping(ctx).RemotePathMappingResource(remotePathMappingResource).Execute() @@ -35,13 +35,13 @@ func main() { configuration := lidarrClient.NewConfiguration() apiClient := lidarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.RemotePathMappingApi.CreateApiV1Remotepathmapping(context.Background()).RemotePathMappingResource(remotePathMappingResource).Execute() + resp, r, err := apiClient.RemotePathMappingApi.CreateApiV1RemotePathMapping(context.Background()).RemotePathMappingResource(remotePathMappingResource).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `RemotePathMappingApi.CreateApiV1Remotepathmapping``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `RemotePathMappingApi.CreateApiV1RemotePathMapping``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `CreateApiV1Remotepathmapping`: RemotePathMappingResource - fmt.Fprintf(os.Stdout, "Response from `RemotePathMappingApi.CreateApiV1Remotepathmapping`: %v\n", resp) + // response from `CreateApiV1RemotePathMapping`: RemotePathMappingResource + fmt.Fprintf(os.Stdout, "Response from `RemotePathMappingApi.CreateApiV1RemotePathMapping`: %v\n", resp) } ``` @@ -51,7 +51,7 @@ func main() { ### Other Parameters -Other parameters are passed through a pointer to a apiCreateApiV1RemotepathmappingRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiCreateApiV1RemotePathMappingRequest struct via the builder pattern Name | Type | Description | Notes @@ -76,9 +76,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## DeleteApiV1Remotepathmapping +## DeleteApiV1RemotePathMapping -> DeleteApiV1Remotepathmapping(ctx, id).Execute() +> DeleteApiV1RemotePathMapping(ctx, id).Execute() @@ -99,9 +99,9 @@ func main() { configuration := lidarrClient.NewConfiguration() apiClient := lidarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.RemotePathMappingApi.DeleteApiV1Remotepathmapping(context.Background(), id).Execute() + resp, r, err := apiClient.RemotePathMappingApi.DeleteApiV1RemotePathMapping(context.Background(), id).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `RemotePathMappingApi.DeleteApiV1Remotepathmapping``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `RemotePathMappingApi.DeleteApiV1RemotePathMapping``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -117,7 +117,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiDeleteApiV1RemotepathmappingRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiDeleteApiV1RemotePathMappingRequest struct via the builder pattern Name | Type | Description | Notes @@ -142,9 +142,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## GetApiV1RemotepathmappingById +## GetApiV1RemotePathMappingById -> RemotePathMappingResource GetApiV1RemotepathmappingById(ctx, id).Execute() +> RemotePathMappingResource GetApiV1RemotePathMappingById(ctx, id).Execute() @@ -165,13 +165,13 @@ func main() { configuration := lidarrClient.NewConfiguration() apiClient := lidarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.RemotePathMappingApi.GetApiV1RemotepathmappingById(context.Background(), id).Execute() + resp, r, err := apiClient.RemotePathMappingApi.GetApiV1RemotePathMappingById(context.Background(), id).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `RemotePathMappingApi.GetApiV1RemotepathmappingById``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `RemotePathMappingApi.GetApiV1RemotePathMappingById``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetApiV1RemotepathmappingById`: RemotePathMappingResource - fmt.Fprintf(os.Stdout, "Response from `RemotePathMappingApi.GetApiV1RemotepathmappingById`: %v\n", resp) + // response from `GetApiV1RemotePathMappingById`: RemotePathMappingResource + fmt.Fprintf(os.Stdout, "Response from `RemotePathMappingApi.GetApiV1RemotePathMappingById`: %v\n", resp) } ``` @@ -185,7 +185,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiGetApiV1RemotepathmappingByIdRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiGetApiV1RemotePathMappingByIdRequest struct via the builder pattern Name | Type | Description | Notes @@ -210,9 +210,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## ListApiV1Remotepathmapping +## ListApiV1RemotePathMapping -> []RemotePathMappingResource ListApiV1Remotepathmapping(ctx).Execute() +> []RemotePathMappingResource ListApiV1RemotePathMapping(ctx).Execute() @@ -232,13 +232,13 @@ func main() { configuration := lidarrClient.NewConfiguration() apiClient := lidarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.RemotePathMappingApi.ListApiV1Remotepathmapping(context.Background()).Execute() + resp, r, err := apiClient.RemotePathMappingApi.ListApiV1RemotePathMapping(context.Background()).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `RemotePathMappingApi.ListApiV1Remotepathmapping``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `RemotePathMappingApi.ListApiV1RemotePathMapping``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `ListApiV1Remotepathmapping`: []RemotePathMappingResource - fmt.Fprintf(os.Stdout, "Response from `RemotePathMappingApi.ListApiV1Remotepathmapping`: %v\n", resp) + // response from `ListApiV1RemotePathMapping`: []RemotePathMappingResource + fmt.Fprintf(os.Stdout, "Response from `RemotePathMappingApi.ListApiV1RemotePathMapping`: %v\n", resp) } ``` @@ -248,7 +248,7 @@ This endpoint does not need any parameter. ### Other Parameters -Other parameters are passed through a pointer to a apiListApiV1RemotepathmappingRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiListApiV1RemotePathMappingRequest struct via the builder pattern ### Return type @@ -269,9 +269,9 @@ Other parameters are passed through a pointer to a apiListApiV1Remotepathmapping [[Back to README]](../README.md) -## UpdateApiV1Remotepathmapping +## UpdateApiV1RemotePathMapping -> RemotePathMappingResource UpdateApiV1Remotepathmapping(ctx, id).RemotePathMappingResource(remotePathMappingResource).Execute() +> RemotePathMappingResource UpdateApiV1RemotePathMapping(ctx, id).RemotePathMappingResource(remotePathMappingResource).Execute() @@ -293,13 +293,13 @@ func main() { configuration := lidarrClient.NewConfiguration() apiClient := lidarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.RemotePathMappingApi.UpdateApiV1Remotepathmapping(context.Background(), id).RemotePathMappingResource(remotePathMappingResource).Execute() + resp, r, err := apiClient.RemotePathMappingApi.UpdateApiV1RemotePathMapping(context.Background(), id).RemotePathMappingResource(remotePathMappingResource).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `RemotePathMappingApi.UpdateApiV1Remotepathmapping``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `RemotePathMappingApi.UpdateApiV1RemotePathMapping``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `UpdateApiV1Remotepathmapping`: RemotePathMappingResource - fmt.Fprintf(os.Stdout, "Response from `RemotePathMappingApi.UpdateApiV1Remotepathmapping`: %v\n", resp) + // response from `UpdateApiV1RemotePathMapping`: RemotePathMappingResource + fmt.Fprintf(os.Stdout, "Response from `RemotePathMappingApi.UpdateApiV1RemotePathMapping`: %v\n", resp) } ``` @@ -313,7 +313,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiUpdateApiV1RemotepathmappingRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiUpdateApiV1RemotePathMappingRequest struct via the builder pattern Name | Type | Description | Notes diff --git a/lidarr/docs/RootFolderApi.md b/lidarr/docs/RootFolderApi.md index 3a6bf54..ffbe5ca 100644 --- a/lidarr/docs/RootFolderApi.md +++ b/lidarr/docs/RootFolderApi.md @@ -4,17 +4,17 @@ All URIs are relative to *http://localhost:8686* Method | HTTP request | Description ------------- | ------------- | ------------- -[**CreateApiV1Rootfolder**](RootFolderApi.md#CreateApiV1Rootfolder) | **Post** /api/v1/rootfolder | -[**DeleteApiV1Rootfolder**](RootFolderApi.md#DeleteApiV1Rootfolder) | **Delete** /api/v1/rootfolder/{id} | -[**GetApiV1RootfolderById**](RootFolderApi.md#GetApiV1RootfolderById) | **Get** /api/v1/rootfolder/{id} | -[**ListApiV1Rootfolder**](RootFolderApi.md#ListApiV1Rootfolder) | **Get** /api/v1/rootfolder | -[**UpdateApiV1Rootfolder**](RootFolderApi.md#UpdateApiV1Rootfolder) | **Put** /api/v1/rootfolder/{id} | +[**CreateApiV1RootFolder**](RootFolderApi.md#CreateApiV1RootFolder) | **Post** /api/v1/rootfolder | +[**DeleteApiV1RootFolder**](RootFolderApi.md#DeleteApiV1RootFolder) | **Delete** /api/v1/rootfolder/{id} | +[**GetApiV1RootFolderById**](RootFolderApi.md#GetApiV1RootFolderById) | **Get** /api/v1/rootfolder/{id} | +[**ListApiV1RootFolder**](RootFolderApi.md#ListApiV1RootFolder) | **Get** /api/v1/rootfolder | +[**UpdateApiV1RootFolder**](RootFolderApi.md#UpdateApiV1RootFolder) | **Put** /api/v1/rootfolder/{id} | -## CreateApiV1Rootfolder +## CreateApiV1RootFolder -> RootFolderResource CreateApiV1Rootfolder(ctx).RootFolderResource(rootFolderResource).Execute() +> RootFolderResource CreateApiV1RootFolder(ctx).RootFolderResource(rootFolderResource).Execute() @@ -35,13 +35,13 @@ func main() { configuration := lidarrClient.NewConfiguration() apiClient := lidarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.RootFolderApi.CreateApiV1Rootfolder(context.Background()).RootFolderResource(rootFolderResource).Execute() + resp, r, err := apiClient.RootFolderApi.CreateApiV1RootFolder(context.Background()).RootFolderResource(rootFolderResource).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `RootFolderApi.CreateApiV1Rootfolder``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `RootFolderApi.CreateApiV1RootFolder``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `CreateApiV1Rootfolder`: RootFolderResource - fmt.Fprintf(os.Stdout, "Response from `RootFolderApi.CreateApiV1Rootfolder`: %v\n", resp) + // response from `CreateApiV1RootFolder`: RootFolderResource + fmt.Fprintf(os.Stdout, "Response from `RootFolderApi.CreateApiV1RootFolder`: %v\n", resp) } ``` @@ -51,7 +51,7 @@ func main() { ### Other Parameters -Other parameters are passed through a pointer to a apiCreateApiV1RootfolderRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiCreateApiV1RootFolderRequest struct via the builder pattern Name | Type | Description | Notes @@ -76,9 +76,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## DeleteApiV1Rootfolder +## DeleteApiV1RootFolder -> DeleteApiV1Rootfolder(ctx, id).Execute() +> DeleteApiV1RootFolder(ctx, id).Execute() @@ -99,9 +99,9 @@ func main() { configuration := lidarrClient.NewConfiguration() apiClient := lidarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.RootFolderApi.DeleteApiV1Rootfolder(context.Background(), id).Execute() + resp, r, err := apiClient.RootFolderApi.DeleteApiV1RootFolder(context.Background(), id).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `RootFolderApi.DeleteApiV1Rootfolder``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `RootFolderApi.DeleteApiV1RootFolder``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -117,7 +117,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiDeleteApiV1RootfolderRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiDeleteApiV1RootFolderRequest struct via the builder pattern Name | Type | Description | Notes @@ -142,9 +142,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## GetApiV1RootfolderById +## GetApiV1RootFolderById -> RootFolderResource GetApiV1RootfolderById(ctx, id).Execute() +> RootFolderResource GetApiV1RootFolderById(ctx, id).Execute() @@ -165,13 +165,13 @@ func main() { configuration := lidarrClient.NewConfiguration() apiClient := lidarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.RootFolderApi.GetApiV1RootfolderById(context.Background(), id).Execute() + resp, r, err := apiClient.RootFolderApi.GetApiV1RootFolderById(context.Background(), id).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `RootFolderApi.GetApiV1RootfolderById``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `RootFolderApi.GetApiV1RootFolderById``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetApiV1RootfolderById`: RootFolderResource - fmt.Fprintf(os.Stdout, "Response from `RootFolderApi.GetApiV1RootfolderById`: %v\n", resp) + // response from `GetApiV1RootFolderById`: RootFolderResource + fmt.Fprintf(os.Stdout, "Response from `RootFolderApi.GetApiV1RootFolderById`: %v\n", resp) } ``` @@ -185,7 +185,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiGetApiV1RootfolderByIdRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiGetApiV1RootFolderByIdRequest struct via the builder pattern Name | Type | Description | Notes @@ -210,9 +210,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## ListApiV1Rootfolder +## ListApiV1RootFolder -> []RootFolderResource ListApiV1Rootfolder(ctx).Execute() +> []RootFolderResource ListApiV1RootFolder(ctx).Execute() @@ -232,13 +232,13 @@ func main() { configuration := lidarrClient.NewConfiguration() apiClient := lidarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.RootFolderApi.ListApiV1Rootfolder(context.Background()).Execute() + resp, r, err := apiClient.RootFolderApi.ListApiV1RootFolder(context.Background()).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `RootFolderApi.ListApiV1Rootfolder``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `RootFolderApi.ListApiV1RootFolder``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `ListApiV1Rootfolder`: []RootFolderResource - fmt.Fprintf(os.Stdout, "Response from `RootFolderApi.ListApiV1Rootfolder`: %v\n", resp) + // response from `ListApiV1RootFolder`: []RootFolderResource + fmt.Fprintf(os.Stdout, "Response from `RootFolderApi.ListApiV1RootFolder`: %v\n", resp) } ``` @@ -248,7 +248,7 @@ This endpoint does not need any parameter. ### Other Parameters -Other parameters are passed through a pointer to a apiListApiV1RootfolderRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiListApiV1RootFolderRequest struct via the builder pattern ### Return type @@ -269,9 +269,9 @@ Other parameters are passed through a pointer to a apiListApiV1RootfolderRequest [[Back to README]](../README.md) -## UpdateApiV1Rootfolder +## UpdateApiV1RootFolder -> RootFolderResource UpdateApiV1Rootfolder(ctx, id).RootFolderResource(rootFolderResource).Execute() +> RootFolderResource UpdateApiV1RootFolder(ctx, id).RootFolderResource(rootFolderResource).Execute() @@ -293,13 +293,13 @@ func main() { configuration := lidarrClient.NewConfiguration() apiClient := lidarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.RootFolderApi.UpdateApiV1Rootfolder(context.Background(), id).RootFolderResource(rootFolderResource).Execute() + resp, r, err := apiClient.RootFolderApi.UpdateApiV1RootFolder(context.Background(), id).RootFolderResource(rootFolderResource).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `RootFolderApi.UpdateApiV1Rootfolder``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `RootFolderApi.UpdateApiV1RootFolder``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `UpdateApiV1Rootfolder`: RootFolderResource - fmt.Fprintf(os.Stdout, "Response from `RootFolderApi.UpdateApiV1Rootfolder`: %v\n", resp) + // response from `UpdateApiV1RootFolder`: RootFolderResource + fmt.Fprintf(os.Stdout, "Response from `RootFolderApi.UpdateApiV1RootFolder`: %v\n", resp) } ``` @@ -313,7 +313,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiUpdateApiV1RootfolderRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiUpdateApiV1RootFolderRequest struct via the builder pattern Name | Type | Description | Notes diff --git a/lidarr/docs/TrackFileApi.md b/lidarr/docs/TrackFileApi.md index 629a4eb..d87b4e9 100644 --- a/lidarr/docs/TrackFileApi.md +++ b/lidarr/docs/TrackFileApi.md @@ -4,18 +4,18 @@ All URIs are relative to *http://localhost:8686* Method | HTTP request | Description ------------- | ------------- | ------------- -[**DeleteApiV1Trackfile**](TrackFileApi.md#DeleteApiV1Trackfile) | **Delete** /api/v1/trackfile/{id} | -[**DeleteApiV1TrackfileBulk**](TrackFileApi.md#DeleteApiV1TrackfileBulk) | **Delete** /api/v1/trackfile/bulk | -[**GetApiV1TrackfileById**](TrackFileApi.md#GetApiV1TrackfileById) | **Get** /api/v1/trackfile/{id} | -[**ListApiV1Trackfile**](TrackFileApi.md#ListApiV1Trackfile) | **Get** /api/v1/trackfile | -[**PutApiV1TrackfileEditor**](TrackFileApi.md#PutApiV1TrackfileEditor) | **Put** /api/v1/trackfile/editor | -[**UpdateApiV1Trackfile**](TrackFileApi.md#UpdateApiV1Trackfile) | **Put** /api/v1/trackfile/{id} | +[**DeleteApiV1TrackFile**](TrackFileApi.md#DeleteApiV1TrackFile) | **Delete** /api/v1/trackfile/{id} | +[**DeleteApiV1TrackFileBulk**](TrackFileApi.md#DeleteApiV1TrackFileBulk) | **Delete** /api/v1/trackfile/bulk | +[**GetApiV1TrackFileById**](TrackFileApi.md#GetApiV1TrackFileById) | **Get** /api/v1/trackfile/{id} | +[**ListApiV1TrackFile**](TrackFileApi.md#ListApiV1TrackFile) | **Get** /api/v1/trackfile | +[**PutApiV1TrackFileEditor**](TrackFileApi.md#PutApiV1TrackFileEditor) | **Put** /api/v1/trackfile/editor | +[**UpdateApiV1TrackFile**](TrackFileApi.md#UpdateApiV1TrackFile) | **Put** /api/v1/trackfile/{id} | -## DeleteApiV1Trackfile +## DeleteApiV1TrackFile -> DeleteApiV1Trackfile(ctx, id).Execute() +> DeleteApiV1TrackFile(ctx, id).Execute() @@ -36,9 +36,9 @@ func main() { configuration := lidarrClient.NewConfiguration() apiClient := lidarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.TrackFileApi.DeleteApiV1Trackfile(context.Background(), id).Execute() + resp, r, err := apiClient.TrackFileApi.DeleteApiV1TrackFile(context.Background(), id).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `TrackFileApi.DeleteApiV1Trackfile``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `TrackFileApi.DeleteApiV1TrackFile``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -54,7 +54,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiDeleteApiV1TrackfileRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiDeleteApiV1TrackFileRequest struct via the builder pattern Name | Type | Description | Notes @@ -79,9 +79,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## DeleteApiV1TrackfileBulk +## DeleteApiV1TrackFileBulk -> DeleteApiV1TrackfileBulk(ctx).TrackFileListResource(trackFileListResource).Execute() +> DeleteApiV1TrackFileBulk(ctx).TrackFileListResource(trackFileListResource).Execute() @@ -102,9 +102,9 @@ func main() { configuration := lidarrClient.NewConfiguration() apiClient := lidarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.TrackFileApi.DeleteApiV1TrackfileBulk(context.Background()).TrackFileListResource(trackFileListResource).Execute() + resp, r, err := apiClient.TrackFileApi.DeleteApiV1TrackFileBulk(context.Background()).TrackFileListResource(trackFileListResource).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `TrackFileApi.DeleteApiV1TrackfileBulk``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `TrackFileApi.DeleteApiV1TrackFileBulk``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -116,7 +116,7 @@ func main() { ### Other Parameters -Other parameters are passed through a pointer to a apiDeleteApiV1TrackfileBulkRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiDeleteApiV1TrackFileBulkRequest struct via the builder pattern Name | Type | Description | Notes @@ -141,9 +141,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## GetApiV1TrackfileById +## GetApiV1TrackFileById -> TrackFileResource GetApiV1TrackfileById(ctx, id).Execute() +> TrackFileResource GetApiV1TrackFileById(ctx, id).Execute() @@ -164,13 +164,13 @@ func main() { configuration := lidarrClient.NewConfiguration() apiClient := lidarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.TrackFileApi.GetApiV1TrackfileById(context.Background(), id).Execute() + resp, r, err := apiClient.TrackFileApi.GetApiV1TrackFileById(context.Background(), id).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `TrackFileApi.GetApiV1TrackfileById``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `TrackFileApi.GetApiV1TrackFileById``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetApiV1TrackfileById`: TrackFileResource - fmt.Fprintf(os.Stdout, "Response from `TrackFileApi.GetApiV1TrackfileById`: %v\n", resp) + // response from `GetApiV1TrackFileById`: TrackFileResource + fmt.Fprintf(os.Stdout, "Response from `TrackFileApi.GetApiV1TrackFileById`: %v\n", resp) } ``` @@ -184,7 +184,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiGetApiV1TrackfileByIdRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiGetApiV1TrackFileByIdRequest struct via the builder pattern Name | Type | Description | Notes @@ -209,9 +209,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## ListApiV1Trackfile +## ListApiV1TrackFile -> []TrackFileResource ListApiV1Trackfile(ctx).ArtistId(artistId).TrackFileIds(trackFileIds).AlbumId(albumId).Unmapped(unmapped).Execute() +> []TrackFileResource ListApiV1TrackFile(ctx).ArtistId(artistId).TrackFileIds(trackFileIds).AlbumId(albumId).Unmapped(unmapped).Execute() @@ -235,13 +235,13 @@ func main() { configuration := lidarrClient.NewConfiguration() apiClient := lidarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.TrackFileApi.ListApiV1Trackfile(context.Background()).ArtistId(artistId).TrackFileIds(trackFileIds).AlbumId(albumId).Unmapped(unmapped).Execute() + resp, r, err := apiClient.TrackFileApi.ListApiV1TrackFile(context.Background()).ArtistId(artistId).TrackFileIds(trackFileIds).AlbumId(albumId).Unmapped(unmapped).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `TrackFileApi.ListApiV1Trackfile``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `TrackFileApi.ListApiV1TrackFile``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `ListApiV1Trackfile`: []TrackFileResource - fmt.Fprintf(os.Stdout, "Response from `TrackFileApi.ListApiV1Trackfile`: %v\n", resp) + // response from `ListApiV1TrackFile`: []TrackFileResource + fmt.Fprintf(os.Stdout, "Response from `TrackFileApi.ListApiV1TrackFile`: %v\n", resp) } ``` @@ -251,7 +251,7 @@ func main() { ### Other Parameters -Other parameters are passed through a pointer to a apiListApiV1TrackfileRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiListApiV1TrackFileRequest struct via the builder pattern Name | Type | Description | Notes @@ -279,9 +279,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## PutApiV1TrackfileEditor +## PutApiV1TrackFileEditor -> PutApiV1TrackfileEditor(ctx).TrackFileListResource(trackFileListResource).Execute() +> PutApiV1TrackFileEditor(ctx).TrackFileListResource(trackFileListResource).Execute() @@ -302,9 +302,9 @@ func main() { configuration := lidarrClient.NewConfiguration() apiClient := lidarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.TrackFileApi.PutApiV1TrackfileEditor(context.Background()).TrackFileListResource(trackFileListResource).Execute() + resp, r, err := apiClient.TrackFileApi.PutApiV1TrackFileEditor(context.Background()).TrackFileListResource(trackFileListResource).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `TrackFileApi.PutApiV1TrackfileEditor``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `TrackFileApi.PutApiV1TrackFileEditor``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -316,7 +316,7 @@ func main() { ### Other Parameters -Other parameters are passed through a pointer to a apiPutApiV1TrackfileEditorRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiPutApiV1TrackFileEditorRequest struct via the builder pattern Name | Type | Description | Notes @@ -341,9 +341,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## UpdateApiV1Trackfile +## UpdateApiV1TrackFile -> TrackFileResource UpdateApiV1Trackfile(ctx, id).TrackFileResource(trackFileResource).Execute() +> TrackFileResource UpdateApiV1TrackFile(ctx, id).TrackFileResource(trackFileResource).Execute() @@ -365,13 +365,13 @@ func main() { configuration := lidarrClient.NewConfiguration() apiClient := lidarrClient.NewAPIClient(configuration) - resp, r, err := apiClient.TrackFileApi.UpdateApiV1Trackfile(context.Background(), id).TrackFileResource(trackFileResource).Execute() + resp, r, err := apiClient.TrackFileApi.UpdateApiV1TrackFile(context.Background(), id).TrackFileResource(trackFileResource).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `TrackFileApi.UpdateApiV1Trackfile``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `TrackFileApi.UpdateApiV1TrackFile``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `UpdateApiV1Trackfile`: TrackFileResource - fmt.Fprintf(os.Stdout, "Response from `TrackFileApi.UpdateApiV1Trackfile`: %v\n", resp) + // response from `UpdateApiV1TrackFile`: TrackFileResource + fmt.Fprintf(os.Stdout, "Response from `TrackFileApi.UpdateApiV1TrackFile`: %v\n", resp) } ``` @@ -385,7 +385,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiUpdateApiV1TrackfileRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiUpdateApiV1TrackFileRequest struct via the builder pattern Name | Type | Description | Notes